Bandwidth calibration circuit and bandwidth calibration method of active filter

Through digital-to-analog conversion and digital logic processing, the bandwidth calibration circuit of the active filter is simplified, the problems of complexity and low accuracy in the prior art are solved, and high-precision bandwidth calibration is realized, which is suitable for various active filters. structure.

CN118921042AInactive Publication Date: 2024-11-08KOLMOSTAR TECH (BEIJING) CO LTD

Patent Information

Application Number
CN202411117750.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing active filter bandwidth calibration circuit is complex, has a large area and low calibration accuracy, making it difficult to meet the needs of modern communication systems.

Method used

The digital-to-analog converter is used to provide square wave signals, filter, power calculation and comparison judgment are performed through digital logic circuits, and control signals are generated to adjust the parameters of the active filter to achieve the target value. The digital-to-analog converter and A digital filter of IIR can be configured to reduce the impact of harmonic components.

Benefits of technology

The circuit design is simplified, complexity and area occupation are reduced, calibration accuracy is significantly improved, and the bandwidth calibration accuracy can reach less than ±2%, which is better than ±3%~±10% of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921042A_ABST
    Figure CN118921042A_ABST
Patent Text Reader

Abstract

The invention discloses a bandwidth calibration circuit and a bandwidth calibration method of an active filter. The bandwidth calibration circuit comprises a digital-to-analog converter which provides a square wave signal of a passband frequency and a square wave signal of a target bandwidth frequency for an active filter in batches, so that the active filter outputs a corresponding analog signal; the analog-to-digital converter is used for converting an analog signal into a digital signal; and the digital logic circuit adopts a digital filter to filter the digital signal, the power calculation circuit respectively calculates the reference power value of the passband frequency digital signal and the target power value of the target bandwidth frequency digital signal, and the comparison decision circuit carries out comparison decision and generates a corresponding control signal to adjust the parameters of the active filter. According to the bandwidth calibration circuit, a calibration circuit required by an analog domain is greatly simplified, and a digital filter with a good frequency selection characteristic is adopted in a digital domain, so that the whole circuit is low in design difficulty, small in area, high in precision and suitable for various types of on-chip integrated radio frequency transceiver systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of integrated circuits, and in particular to a bandwidth calibration circuit and a bandwidth calibration method for an active filter. Background Art

[0002] Electronic filters are analog circuit systems used to adjust the signal spectrum. The filter amplifies or attenuates the signal in different frequency ranges, thereby achieving the purpose of selecting or suppressing specific frequency components in the input signal. Common modern communication systems usually contain multiple electronic filters, which respectively achieve functions such as filtering out noise, suppressing interference signals, and selecting useful channels.

[0003] As independent components gradually develop towards system integration, electronic filters are also gradually developing from independent chips to system integration. In integrated circuits, filters can be divided into passive filters and active filters according to the different electronic components used. Since the passive inductance that can be realized in integrated circuits is very small and the quality factor is low, people often choose to use active circuits instead of passive inductors for filter design. Therefore, most integrated filters are active filters.

[0004] In practical applications such as modern integrated RF transceiver communication systems, the bandwidth of active filters is one of the most important performance indicators. However, affected by various factors such as integrated circuit technology, temperature, operating voltage, and device life, the bandwidth of active filters will not remain fixed, but will change with the changes in integrated circuit processing technology, component characteristics, and working conditions, and the range of change can even exceed ±50%. Such filtering and frequency selection performance is unacceptable for practical applications such as modern communication systems. Therefore, it is necessary to calibrate the bandwidth of the active filter so that its bandwidth falls within a reasonable range to meet the needs of practical applications. However, the current bandwidth calibration circuit usually reconstructs the resistor-capacitor network, and then adjusts the RC time constant by charging and discharging the capacitor to achieve bandwidth calibration, or compares the oscillation frequency of the active filter with the clock frequency to adjust the RC time constant to achieve bandwidth calibration, or uses a multi-bit digital-to-analog conversion circuit to generate a sine wave signal, and performs voltage or power detection and bandwidth adjustment in the analog domain after passing through the active filter. These solutions generally have problems such as complex calibration circuits, large occupied area, and calibration accuracy limited by analog circuit accuracy. The design is difficult and the calibration accuracy is low. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a bandwidth calibration circuit and a bandwidth calibration method for an active filter.

[0006] According to one aspect of the present invention, a bandwidth calibration circuit of an active filter is provided, comprising: a digital-to-analog converter, which provides a square wave signal of a passband frequency and a square wave signal of a target bandwidth frequency as input signals to the active filter in sequence, so that the active filter outputs a corresponding analog signal; an analog-to-digital converter, which converts the analog signal output by the active filter into a digital signal; a digital logic circuit, which performs digital filtering, power calculation and comparison and judgment on the digital signal, wherein the digital logic circuit comprises a digital filter, a power calculation circuit and a comparison and judgment circuit, wherein the digital filter respectively filters the digital signal corresponding to the square wave signal of the passband frequency and the digital signal corresponding to the square wave signal of the target bandwidth frequency to filter out harmonic components; the power calculation circuit respectively calculates a reference power value of the digital signal corresponding to the square wave signal of the passband frequency and a target power value of the digital signal corresponding to the square wave signal of the target bandwidth frequency; the comparison and judgment circuit compares the reference power value with the target power value, generates a control signal according to the judgment result, and correspondingly adjusts the parameters of the active filter so that the bandwidth of the active filter reaches the target bandwidth.

[0007] Optionally, the conversion bit number of the digital-to-analog converter is one, and the digital-to-analog converter generates square wave signals of different frequencies according to clock signals of different frequencies, and the square wave signals of different frequencies have the same amplitude.

[0008] Optionally, the digital filter is a configurable IIR type digital filter, and the passband center frequency of the configurable IIR type digital filter is the same as the frequency of the square wave signal, so as to perform frequency screening and filter out harmonic components.

[0009] Optionally, the bandwidth calibration circuit of the active filter further includes: a register for storing a passband center frequency configuration parameter of the configurable IIR type digital filter and the reference power value and the target power value calculated by the power calculation circuit.

[0010] Optionally, the power calculation circuit updates the target power value each time the active filter adjusts parameters, so that the comparison and decision circuit updates the control signal until the target power value meets set conditions, and the parameters of the active filter include resistance, capacitance or transconductance, etc.

[0011] Optionally, the setting condition is that the target power value reaches half of the reference power value.

[0012] Optionally, the comparison and judgment circuit compares the reference power value and the target power value. When the target power value is less than half of the reference power value, it indicates that the current bandwidth of the active filter is less than the target bandwidth, and the control signal increases the bandwidth of the active filter; when the target power value is greater than half of the reference power value, it indicates that the current bandwidth of the active filter is greater than the target bandwidth, and the control signal decreases the bandwidth of the active filter.

[0013] Optionally, the control signal includes an N-bit binary number, the Nth bit is the highest weight bit, and the comparison and decision circuit updates the (N-i+1)th binary number according to the i-th comparison and decision result, so that the control signal is updated bit by bit from high to low according to the binary weight, i gradually increases from 1 to N, and N is greater than 0.

[0014] According to another aspect of the present invention, a bandwidth calibration method for an active filter is provided, which is applicable to the bandwidth calibration circuit of the active filter mentioned above, wherein the bandwidth calibration method comprises: providing a square wave signal of a passband frequency as an input signal to the active filter by a digital-to-analog converter, converting the analog signal corresponding to the output of the active filter into a digital signal through an analog-to-digital converter, filtering the digital signal corresponding to the square wave signal of the passband frequency by a digital logic circuit, and then calculating and storing the corresponding reference power value; providing a square wave signal of a target bandwidth frequency as an input signal to the active filter by a digital-to-analog converter, converting the analog signal corresponding to the output of the active filter into a digital signal through an analog-to-digital converter, filtering the digital signal corresponding to the square wave signal under the target bandwidth frequency by a digital-to-analog converter, and then calculating and storing the corresponding target power value; and generating a control signal according to a comparison result between the reference power value and the target power value; and controlling the active filter to adjust its own parameters according to the control signal to adjust the bandwidth of the active filter.

[0015] Optionally, the control signal includes an N-bit binary number, the Nth bit is the highest weight bit, and generating the control signal according to the comparison and judgment result of the reference power value and the target power value includes: updating the (N-i+1)th binary number of the control signal according to the i-th comparison and judgment result, so that the control signal is updated bit by bit from high to low according to the binary weight, i gradually increases from 1 to N, and N is greater than 0; and after the N-bit binary number of the control signal is completely updated from high to low, the bandwidth calibration is completed, indicating that the bandwidth of the active filter reaches the target bandwidth.

[0016] The bandwidth calibration circuit and bandwidth calibration method of the active filter provided by the present invention adopt a square wave signal with fixed amplitude and adjustable frequency as the input signal of the active filter, and then convert the analog signal output by the active filter into a digital signal through an analog-to-digital converter, and process it in the digital domain by a digital filter, a power calculation circuit and a comparison judgment circuit to generate a control signal. Since a digital-to-analog converter with a one-bit conversion accuracy (1-bit DAC) can be used to generate the required square wave signal, the circuit is greatly simplified, which can effectively reduce the circuit complexity and reduce the circuit area.

[0017] Furthermore, a configurable IIR digital filter is used in the digital domain to filter the digital signals corresponding to the different frequency signals output by the active filter during the calibration process, which can significantly reduce the influence of the harmonic components on the signal amplitude and greatly improve the calibration accuracy.

[0018] Furthermore, the control signal can be iteratively adjusted from high to low according to the binary weight through the power calculation circuit and the comparison judgment circuit until all bits of the control signal are traversed, and the filter bandwidth calibration process ends. The control signal is used to adjust the parameters of the active filter, which can be a resistor, a capacitor, or a transconductance, etc. due to different filter structures. The bandwidth calibration method of the present application is not limited to an active filter of a certain specific structure, but is applicable to various active filter structures, and has strong versatility.

[0019] Furthermore, the bandwidth calibration circuit is applied to common on-chip integrated RF transceivers to perform bandwidth calibration on active filters in the transmit path or receive path. The analog-to-digital converter (ADC) required in the bandwidth calibration circuit can reuse the multi-bit analog-to-digital converter already in the RF receiver. For circuits with a transmit path, the digital-to-analog converter required for calibration can also reuse the original digital-to-analog converter (DAC) in the RF transmitter. In this way, reusing the existing circuits in the RF transceiver can save area and reduce costs.

[0020] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic structural diagram of a bandwidth calibration circuit for an active filter is shown.

[0022] Figure 2 A structural block diagram of a bandwidth calibration circuit of an active filter according to an embodiment of the present invention is shown.

[0023] Figure 3 A typical frequency response characteristic diagram of a configurable IIR digital filter is shown.

[0024] Figure 4 The figure shows a schematic diagram of the structure of a common on-chip integrated radio frequency transceiver.

[0025] Figure 5 A schematic circuit block diagram of a radio frequency transceiver performing bandwidth calibration on an active filter of a receiving channel according to an embodiment of the present invention is shown.

[0026] Figure 6 A schematic circuit block diagram of a radio frequency transceiver performing bandwidth calibration on an active filter of a transmission channel according to an embodiment of the present invention is shown.

[0027] Figure 7 A schematic flow chart of a bandwidth calibration method for an active filter according to a first embodiment of the present invention is shown.

[0028] Figure 8 A schematic flow chart of a bandwidth calibration method for an active filter according to a second embodiment of the present invention is shown. Implementation

[0029] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0030] Figure 1 A schematic structural diagram of a bandwidth calibration circuit for an active filter is shown.

[0031] like Figure 1 As shown, the bandwidth calibration circuit 20 includes a digital-to-analog conversion circuit 21, a power detection circuit 22, a comparator 23 and a control circuit 24, and the active filter 10 is composed of a resistor, a capacitor and an operational amplifier. At the input end of the active filter 10, a sine wave signal with a certain amplitude and frequency is input by the digital-to-analog conversion circuit 21, and the power of the output signal is detected at the output end of the active filter 10 through the power detection circuit 22, and the detection value V0 is compared with the reference value Vref through the comparator 23. The control circuit 24 adjusts the capacitance value in the active filter 10 according to the comparison result until the detection value V0 output by the power detection circuit 22 reaches the target value Vref, and the bandwidth calibration is completed. Figure 1 In the active filter bandwidth calibration circuit 20 shown, in order to reduce the influence of harmonic components on the calibration accuracy, a multi-bit digital-to-analog converter 21 with high circuit complexity and large area is required to generate a sine wave signal at the input end of the active filter 10, and the power detection circuit 22 and the comparator 23 are both analog circuits with low precision. The detection accuracy is easily affected by the integrated circuit process, operating voltage, temperature and component matching.

[0032] In order to improve the above problems, the present invention proposes a bandwidth calibration circuit and bandwidth calibration method for an active filter, which is applicable to various modern integrated radio frequency transceiver communication systems and has the advantages of low circuit complexity, small area and high detection accuracy. Figure 2-Figure 8 Detailed description.

[0033] Figure 2 A structural block diagram of a bandwidth calibration circuit of an active filter according to an embodiment of the present invention is shown.

[0034] like Figure 2 As shown, the bandwidth calibration circuit 200 of the active filter 100 of this embodiment includes a digital-to-analog converter 210, an analog-to-digital converter 220 and a digital logic circuit 201, and the digital logic circuit 201 includes a digital filter 230, a power calculation circuit 240 and a comparison and judgment circuit 250. The digital-to-analog converter 210 provides a square wave signal of a passband frequency and a square wave signal of a target bandwidth frequency as input signals Vin to the active filter 100 in sequence, so that the active filter 100 outputs a corresponding analog signal Vout. The analog-to-digital converter 220 converts the analog signal Vout into a digital signal Dout. The digital filter 230 filters the digital signal corresponding to the square wave signal of the passband frequency and the digital signal corresponding to the square wave signal of the target bandwidth frequency respectively. The power calculation circuit 240 calculates the reference power value corresponding to the filtered passband frequency digital signal and the target power value corresponding to the target bandwidth frequency digital signal respectively. The comparison and judgment circuit 250 generates a control signal Vctrl according to the comparison and judgment result between the reference power value and the target power value, which is used to adjust the parameters of the active filter 100 so that the bandwidth of the active filter 100 reaches the target bandwidth.

[0035] Specifically, the conversion bit number of the digital-to-analog converter 210 (DAC) is one, and the digital-to-analog converter 210 can generate square wave signals of different frequencies according to clock signals CLK of different frequencies, that is, by setting the frequency of the clock signal CLK or the working clock frequency of the digital-to-analog converter 210, a square wave signal at a corresponding frequency can be obtained. First, the digital-to-analog converter 210 provides a square wave signal of any frequency within the filter passband to the active filter 100, and the active filter 100 outputs the corresponding analog signal Vout. The analog-to-digital converter 220 converts the analog signal Vout into a digital signal Dout and sends it to the digital domain for signal processing.

[0036] Since the input signal Vin of the active filter 100 is a square wave signal with large harmonic components, which will affect the final bandwidth calibration accuracy, the digital filter 230 is used in this embodiment to filter the digital signal Dout and remove the harmonic components in the square wave signal. The digital filter 230 is a configurable IIR digital filter. Figure 3 Figure 2 shows a typical frequency response characteristic diagram of a configurable IIR digital filter. Figure 3 As shown, near the specified passband center frequency, the configurable IIR type digital filter has excellent frequency screening characteristics, and the amplitude-frequency response accuracy within the passband is high, which is fully suitable for the needs of this embodiment for high-precision amplitude detection of different frequency signals. In addition, compared with other types of digital filters such as FIR, the configurable IIR type digital filter has a small design workload and low requirements for computing tools, which further reduces the difficulty of circuit design. By changing the register parameters of the IIR type digital filter, the passband center frequency of the digital filter can be changed to be the same as the frequency of the square wave signal, so that the fundamental frequency component of the square wave signal can pass smoothly, while the harmonic component is filtered out.

[0037] After filtering, the digital signal Di is transmitted to the power calculation circuit 240, and the reference power value is calculated by the power calculation circuit 240 and then stored in the corresponding register.

[0038] Then the frequency of the clock signal CLK is updated so that the digital-to-analog converter 210 provides a square wave signal of the target bandwidth frequency to the active filter 100. After the square wave signal passes through the active filter 100, it is converted into a digital signal by the analog-to-digital converter 220 and sent to the digital domain for signal processing. The configurable IIR digital filter changes the passband center frequency to be the same as the square wave signal frequency by reconfiguring the register parameters. After filtering, the power calculation circuit 240 calculates the corresponding target power value and stores it in the corresponding register.

[0039] The comparison and decision circuit 250 compares the reference power value and the target power value, and adjusts the control signal Vctrl according to the comparison and decision result, so as to adjust the parameters of the active filter 100 so that the bandwidth of the active filter 100 gradually approaches the target bandwidth. The parameters of the active filter 100 are different for different types, and common parameters may be resistance, capacitance, transconductance, etc., which will not be introduced in detail here. After adjusting the bandwidth of the active filter 100, a new target power value is recalculated, and then the comparison and decision circuit 250 performs comparison and decision, and adjusts the control signal Vctrl to adjust the bandwidth of the active filter 100, and iterates continuously until the control signal Vctrl is fully traversed from high to low according to the binary weight, and it is considered that the bandwidth of the active filter has reached the expected accuracy range of the target bandwidth, and the calibration is completed.

[0040] In this embodiment, the power calculation circuit 240 recalculates and updates the target power value each time the active filter 100 adjusts the parameters, and the comparison and decision circuit 250 updates the control signal Vctrl accordingly according to the set conditions until all bits of the control signal Vctrl are traversed from high to low. The set condition is that the target power value reaches half of the reference power value. The set condition is determined according to the amplitude-frequency response characteristics of the filter. For example, Ppass is used as the reference power value and P-3dB is used as the target power value. Then, when P-3dB<0.5Ppass, it indicates that the current bandwidth of the active filter 100 is less than the target bandwidth, and the control signal Vctrl generated by the comparison and decision circuit 250 should increase the bandwidth of the active filter 100; and when P-3dB>0.5Ppass, it indicates that the current bandwidth of the active filter 100 is greater than the target bandwidth, and the control signal Vctrl generated by the comparison and decision circuit 250 should reduce the bandwidth of the active filter 100. The control signal Vctrl can be a digital value, such as an N-bit binary number, where the Nth bit is the highest weighted bit. The comparison and decision circuit 250 updates the (N-i+1)th bit of the binary number according to the i-th comparison and decision result, where i gradually increases from 1 to N, and N is greater than 0, that is, the control signal Vctrl is updated bit by bit from high to low according to the binary weight. For example, the binary number of the highest weighted bit is updated according to the first comparison and decision result, which can be 0 or 1, indicating that the bandwidth increases or decreases, or is set in the opposite direction, depending on the specific implementation structure of the filter. Then, the control signal Vctrl is updated according to the second comparison and decision result. The second highest weighted bit binary number is updated, and so on, until the control signal Vctrl is updated to the lowest bit binary number, and the bandwidth calibration is completed. At this time, the control signal Vctrl is the final calibration result.

[0041] In summary, this embodiment generates a square wave signal of any frequency within the passband of the active filter through a one-bit digital-to-analog converter at the input end of the active filter 100 to be calibrated, for example, a square wave signal of 1 / 10 of the target bandwidth frequency of the active low-pass filter. After the square wave signal passes through the active filter 100, the generated analog signal Vout is sampled by the multi-bit analog-to-digital converter 220, converted into a digital signal Dout and enters the digital logic circuit 201 for processing. In the digital logic circuit 201, the passband center frequency of the configurable IIR digital filter 230 is also configured as the passband frequency, and the digital signal Dout is filtered to obtain a filtered signal Di, and the power value of the filtered signal Di is calculated by the power calculation module 240 as a reference power value Ppass and stored in a register. After that, the working clock CLK of the one-bit digital-to-analog converter 210 is reconfigured to obtain a square wave signal with a frequency of the target bandwidth frequency of the active filter 100. The square wave signal is filtered by the active filter 100 and sampled by the multi-bit analog-to-digital converter 220, and converted into a digital output signal Dout and enters the digital logic circuit 201 for processing. In the digital logic circuit 201, the passband center frequency of the configurable IIR digital filter is configured as the target bandwidth frequency, the digital signal Dout is filtered, and the power value of the filtered signal Di is calculated by the power calculation module 240 as the target power value P-3dB. The comparison and decision circuit 250 compares 0.5Ppass and P-3dB, and adjusts the control signal Vctrl according to the set conditions to change the bandwidth of the active filter 100 so that it gradually approaches the target bandwidth. Repeat the above process and iterate continuously until all bits of the control signal Vctrl are traversed from high to low according to the binary weight, the active filter bandwidth calibration is completed, and finally a high-precision bandwidth calibration result is obtained.

[0042] Furthermore, when there are multiple active filters 100, multiple bandwidth calibration circuits 200 can be provided accordingly, and the multiple bandwidth calibration circuits 200 corresponding to the multiple active filters 100 can share the same digital-to-analog converter 210 to save circuit area. Of course, each bandwidth calibration circuit 200 can also be independent of each other. This is not limited here.

[0043] The bandwidth calibration circuit 200 of this embodiment is mainly used for bandwidth calibration of active filters in various modern integrated radio frequency transceiver systems, and is described in detail below in conjunction with the structural diagram of the radio frequency transceiver.

[0044] Figure 4 The figure shows a schematic diagram of the structure of a common on-chip integrated radio frequency transceiver.

[0045] like Figure 4As shown, the on-chip integrated radio frequency transceiver 300 includes a receiving channel 301 and a transmitting channel 302, both of which contain active filters. The bandwidth calibration circuit and bandwidth calibration method proposed in the present invention are applicable to the active filters in the receiving channel 301 and the transmitting channel 302.

[0046] exist Figure 4 In the embodiment, the receiving channel 301 includes two receiving paths, I and Q. The transmitting channel 302 also includes two transmitting paths, I and Q. The receiving channel 301 includes a low noise amplifier 311 (LNA) and a mixer 312, active filters 313 and 315, and multi-bit analog-to-digital converters (ADCs) 314 and 316, which output digital signals IDout and QDout respectively. The transmitting channel 302 includes multi-bit digital-to-analog converters (DACs) 324 and 326, whose input digital signals are IDin and QDin respectively, active filters 323 and 325, a mixer 322, and a power amplifier 321 (PA). The logic control circuit 303 is a digital baseband circuit of the RF transceiver. Figure 4 This is a common radio frequency transceiver infrastructure and will not be described in detail here.

[0047] Figure 5 A schematic circuit block diagram of a radio frequency transceiver performing bandwidth calibration on an active filter of a receiving channel according to an embodiment of the present invention is shown.

[0048] like Figure 5 As shown, this embodiment is applied to Figure 4 The bandwidth calibration circuit of the active filters 313 and 315 in the receiving channel 301 of the radio frequency transceiver. Figure 2 The structures shown are the same, and each bandwidth calibration circuit corresponds to each active filter one by one, so as to perform bandwidth calibration on the active filter on each receiving path.

[0049] In this embodiment, in order to save area, the active filters 313 and 315 share the same digital-to-analog converter 210, the analog-to-digital converter 220 in the bandwidth calibration circuit 200 reuses the multi-bit analog-to-digital converters 314 and 316 in the RF transceiver receiving channel 301, and the digital filter 230, the power calculation circuit 240 and the comparison and decision circuit 250 (i.e., the digital logic circuit 201) in the bandwidth calibration circuit are all integrated in the logic control circuit 303.

[0050] When the bandwidth of the active filters 313 and 315 in the receiving channel 301 of the RF transceiver is calibrated, the low noise amplifier 311 and the mixer 312 in the receiving channel 301 need to be turned off, and the transmitting channel 302 needs to be turned off. By setting the working clock CLK of the digital-to-analog converter 210, a square wave signal of any frequency in the passband of the active filter is generated. The active filter 313 or 315 of the I path or the Q path is selected for calibration through the switch SI1 or SQ1, and the active filters 313 and 315 of the I and Q paths can also be calibrated at the same time. Since the bandwidth calibration process of the I and Q active filters is the same, this article will only describe the bandwidth calibration process of one filter in detail later.

[0051] For example, a square wave signal with a passband frequency and a target bandwidth frequency is used as an input signal Vin and is successively sent to the I-channel active filter 313 to be calibrated through the switch SI1. The analog signal IVout output by the filter is sampled and converted into a multi-bit digital signal IDout by a multi-bit analog-to-digital converter (ADC) 314 in the receiving path of the radio frequency transceiver, and sent to the digital logic circuit 201 for processing. Similar to the process described above, in the digital logic circuit 201, the digital signal IDout is calculated by a configurable IIR digital filter and a power calculation module to obtain a reference power value and a target power value, which are stored in a register. Then, the control signal IVctrl is adjusted according to the comparison result of the comparison judgment circuit to adjust the bandwidth of the active filter 313. It should be pointed out that the adjustment strategy of the control signal IVctrl is related to the circuit structure of the active filter 313. Since there are multiple implementation methods of the active filter 313, the bandwidth adjustment method is also different. For example, for an active RC filter, reducing the resistance or capacitance value in the circuit can increase the filter bandwidth; for an active GmC filter, reducing the capacitance value in the circuit or increasing the Gm-level transconductance value can increase the filter bandwidth. Therefore, the adjustment strategy of the control signal IVctrl needs to be determined according to the specific circuit implementation of the active filter 313. The bandwidth calibration circuit of the filter proposed in this embodiment is not limited to an active filter of a certain specific structure, but is applicable to various active filter structures and has strong versatility.

[0052] Figure 6 A schematic circuit block diagram of a radio frequency transceiver performing bandwidth calibration on an active filter of a transmission channel according to an embodiment of the present invention is shown.

[0053] like Figure 6 As shown, this embodiment is applied to Figure 4 The bandwidth calibration circuit of the active filters 323 and 325 in the RF transceiver transmission channel 302 is used. Figure 2 Same circuit structure.

[0054] In this embodiment, in order to save area, the digital-to-analog converter 210 in the bandwidth calibration circuit 200 reuses the multi-digital-to-analog converters 324 and 326 in the RF transceiver transmit path 302, and the analog-to-digital converter 220 in the bandwidth calibration circuit 200 reuses the analog-to-digital converters 314 and 316 in the RF transceiver receive channel 301.

[0055] When the bandwidth of the active filters 323 and 325 in the transmitting channel 302 of the RF transceiver is calibrated, the mixer 322 and the power amplifier 321 in the transmitting channel 302 need to be turned off, and the low noise amplifier 311 and the mixer 312 and the active filters 313 and 315 in the receiving channel 301 need to be turned off. By controlling the digital-to-analog converters 324 and 326 in the transmitting channel 302, a square wave signal of a specified amplitude and frequency is generated, and after passing through the active filters 323 and 325 in the transmitting path, analog signals IVout and QVout are output. The output signal is sent to the input end of the multi-bit analog-to-digital converter (ADC) 314 and 316 in the receiving channel 301 of the RF transceiver through the selection switches SI2 and SQ2 for sampling, converted into digital signals IDout and QDout, and sent to the digital logic circuit 201 for processing. The subsequent processing process is similar to the bandwidth calibration scheme described above, and will not be repeated.

[0056] In summary, when the bandwidth calibration circuit 200 is used to calibrate the bandwidth of the active filter in the radio frequency transceiver system, the multi-bit analog-to-digital converter in the radio frequency transceiver receiving channel 301 and the multi-bit digital-to-analog converter in the transmitting channel 302 can be reused, and the bandwidth calibration function of the active filter can be realized by simply adding a digital logic circuit 201 with a small area, high precision and low design difficulty. The active filter bandwidth calibration circuit proposed in the present invention has low design difficulty, small area and high precision. After calibration, the filter bandwidth accuracy can reach within ±2%, which is better than the common bandwidth calibration accuracy of ±3%~±10%.

[0057] Figure 7 A schematic flow chart of a bandwidth calibration method for an active filter according to a first embodiment of the present invention is shown.

[0058] like Figure 7 As shown, the present invention also provides a bandwidth calibration method for an active filter, which is applicable to the above Figure 2-Figure 6 The bandwidth calibration circuit of the active filter described herein, and the bandwidth calibration method include the following steps S101-S104.

[0059] In step S101, a square wave signal of a passband frequency is provided as an input signal by a digital-to-analog converter to the active filter, and an analog signal corresponding to the output of the active filter is converted into a digital signal by the analog-to-digital converter. The digital logic circuit filters the digital signal corresponding to the square wave signal of the passband frequency, and then calculates and stores the corresponding reference power value.

[0060] In step S102, the digital-to-analog converter provides a square wave signal of a target bandwidth frequency as an input signal to the active filter, and the analog signal corresponding to the output of the active filter is converted into a digital signal through the analog-to-digital converter. The digital logic circuit filters the digital signal corresponding to the square wave signal at the target bandwidth frequency, and then calculates and stores the corresponding target power value.

[0061] In step S103, a control signal is generated according to a comparison result between the reference power value and the target power value.

[0062] In step S104, the active filter is controlled to adjust its own parameters according to the control signal to adjust the bandwidth of the active filter.

[0063] The control signal includes an N-bit binary number, and the Nth bit is the highest weight bit. Then, step S103 may specifically include: updating the (N-i+1)th bit binary number of the control signal according to the i-th comparison judgment result, i gradually increases from 1 to N, and N is greater than 0, that is, the control signal is updated bit by bit from high to low according to the binary weight; after the N-bit binary number of the control signal is completely updated from high to low, the bandwidth calibration is completed, indicating that the bandwidth of the active filter reaches the expected accuracy range of the target bandwidth. The relevant calibration principle has been introduced in the above embodiment and will not be repeated here.

[0064] Figure 8 A schematic flow chart of a bandwidth calibration method for an active filter according to a second embodiment of the present invention is shown.

[0065] like Figure 8 FIG. 1 is a schematic flow chart of a more detailed bandwidth calibration method for an active filter proposed by the present invention. Without loss of generality, the bandwidth calibration process of an active filter in a receiving channel I of a radio frequency transceiver is taken as an example for description.

[0066] In step S201, the operating clock frequency of the digital-to-analog converter and the passband center frequency of the configurable IIR digital filter are both configured as the passband frequency, and the power calculation circuit is reset.

[0067] In this step, the circuit is initialized, the working clock frequency of the one-bit digital-to-analog converter is configured as the passband frequency, the switch SI1 is turned on, the passband center frequency of the configurable IIR digital filter is configured as the passband frequency, the power calculation module is reset, and the control signal Vctrl[N:1] is configured as the initial value.

[0068] In step S202, the digital-to-analog converter generates a square wave signal with a passband frequency, which passes through the active filter, the analog-to-digital converter, the configurable IIR digital filter and the power calculation circuit in sequence to obtain a reference power value.

[0069] In this step, the square wave signal generated by the one-bit digital-to-analog converter 210 is input into the active filter 100, and the output analog signal is sampled by the multi-bit analog-to-digital converter 220, converted into a digital signal, filtered by the configurable IIR digital filter 230, and the power calculation module 240 calculates the reference power value Ppass and stores it in the register.

[0070] In step S203, the operating clock frequency of the digital-to-analog converter and the passband center frequency of the configurable IIR digital filter are both configured as the target bandwidth frequency, and the power calculation circuit is reset.

[0071] In this step, the operating clock frequency of the one-bit digital-to-analog converter 210 is configured as the target bandwidth frequency, the passband center frequency of the IIR type digital filter can be configured as the target bandwidth frequency, and the power calculation module 240 is reset.

[0072] In step S204, the digital-to-analog converter generates a square wave signal of a target bandwidth frequency, which passes through the active filter, the analog-to-digital converter, the configurable IIR digital filter and the power calculation circuit in sequence to obtain a target power value.

[0073] In this step, the square wave signal generated by the one-bit digital-to-analog converter 210 is input into the active filter 100, the output analog signal is sampled by the analog-to-digital converter 220, converted into a digital signal, filtered by the configurable IIR digital filter 230, and the power calculation module 240 calculates the target power value P-3dB and stores it in the register.

[0074] In step S205, the comparison and decision circuit compares half of the reference power value with the target power value, and adjusts the value of the current bit of the control signal according to the comparison result.

[0075] In this step, the comparison and decision circuit 250 compares 0.5Ppass and P-3dB, and sets the current bit of the control signal Vctrl[N:1] to 1 or 0 according to the comparison result.

[0076] In step S206, it is determined whether the current bit of the control signal is the least significant bit.

[0077] In this step, it is determined whether the current bit of the control signal Vctrl is the lowest bit. If so, step S208 is executed to end the calibration; otherwise, step S207 is executed.

[0078] In step S207, the bit to be adjusted of the control signal is shifted backward by one bit, the parameters of the active filter are adjusted according to the control signal, and the power calculation module is reset.

[0079] In this step, when it is determined that the current bit is not the lowest bit, the bit to be adjusted is shifted back by one bit, and then the power calculation module is reset. After step S207, the process proceeds to step S204 for repeated iterations. If the current bit is the lowest bit, step S208 is executed.

[0080] In step S208, the bandwidth calibration of the active filter is completed, and the current control signal is the final calibration value.

[0081] In this step, the bandwidth calibration of the active filter is completed, and the control signal Vctrl is the final calibration result.

[0082] In summary, the bandwidth calibration circuit and bandwidth calibration method of the active filter provided by the present invention adopt a square wave signal with fixed amplitude and adjustable frequency as the input signal of the active filter, and then convert the analog signal output by the active filter into a digital signal through an analog-to-digital converter, and generate a control signal in the digital domain after being processed by a digital filter, a power calculation circuit and a comparison and judgment circuit, so as to adjust the bandwidth of the active filter so that it gradually approaches the target bandwidth frequency. Since only a digital-to-analog converter with a one-bit conversion accuracy (1-bit DAC) is used to generate the required square wave signal, the circuit is greatly simplified, which can effectively reduce the complexity of the circuit and reduce the circuit area.

[0083] Furthermore, a configurable IIR digital filter is used in the digital domain to filter the different frequency signals output by the active filter during the calibration process, which can significantly reduce the influence of the harmonic components on the signal amplitude and greatly improve the calibration accuracy.

[0084] Furthermore, the control signal can be iteratively adjusted from high to low according to the binary weight through the power calculation circuit and the comparison judgment circuit until all bits of the control signal are traversed, and the filter bandwidth calibration process ends. The control signal is used to adjust the parameters of the active filter, which can be a resistor, a capacitor, or a transconductance, etc. due to different filter structures. The bandwidth calibration method of the present application is not limited to an active filter of a certain specific structure, but is applicable to various active filter structures, and has strong versatility.

[0085] Furthermore, the bandwidth calibration circuit is applied to a common on-chip integrated RF transceiver to perform bandwidth calibration on the active filter on the transmit channel or the receive channel. The analog-to-digital converter (ADC) required in the bandwidth calibration circuit can reuse the multi-bit analog-to-digital converter already in the RF receiver. For a circuit with a transmit path, the one-bit digital-to-analog converter required for calibration can also reuse the original digital-to-analog converter (DAC) in the RF transmitter. In this way, multiplexing the existing circuits in the RF transceiver can save area and reduce costs. It should be noted that the numerical values ​​in this article are only used for exemplary descriptions. In other embodiments of the present invention, other numerical values ​​can also be sampled to implement this solution. The specific settings should be reasonable according to the actual situation, and the present invention does not limit this.

[0086] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.

[0087] It should also be understood that the terms and expressions used herein are for descriptive purposes only, and one or more embodiments of this specification should not be limited to these terms and expressions. The use of these terms and expressions does not mean to exclude any equivalent features of the illustrations and descriptions (or parts thereof), and it should be recognized that various modifications that may exist should also be included in the scope of the claims. Other modifications, changes and substitutions may also exist. Accordingly, the claims should be deemed to cover all such equivalents.

Claims

1. A bandwidth calibration circuit for an active filter, comprising: A digital-to-analog converter provides a square wave signal of a passband frequency and a square wave signal of a target bandwidth frequency as input signals to the active filter in sequence, so that the active filter outputs a corresponding analog signal; An analog-to-digital converter, converting the analog signal output by the active filter into a digital signal; A digital logic circuit performs digital filtering, power calculation and comparison and judgment on the digital signal, wherein the digital logic circuit includes a digital filter, a power calculation circuit and a comparison and judgment circuit. The digital filter filters the digital signal corresponding to the square wave signal of the passband frequency and the digital signal corresponding to the square wave signal of the target bandwidth frequency respectively to filter out harmonic components; the power calculation circuit calculates the reference power value of the digital signal corresponding to the square wave signal of the passband frequency and the target power value of the digital signal corresponding to the square wave signal of the target bandwidth frequency respectively; the comparison and judgment circuit compares the reference power value with the target power value, generates a control signal according to the judgment result, and adjusts the parameters of the active filter accordingly so that the bandwidth of the active filter reaches the target bandwidth.

2. The bandwidth calibration circuit of the active filter according to claim 1, wherein: The conversion bit number of the digital-to-analog converter is one. The digital-to-analog converter generates square wave signals of different frequencies according to clock signals of different frequencies. The square wave signals of different frequencies have the same amplitude.

3. The bandwidth calibration circuit of the active filter according to claim 1, wherein: The digital filter is a configurable IIR type digital filter, and the passband center frequency of the configurable IIR type digital filter is the same as the frequency of the square wave signal, so as to perform frequency screening and filter out harmonic components.

4. The bandwidth calibration circuit of the active filter according to claim 3, further comprising: A register is used to store the passband center frequency configuration parameter of the configurable IIR type digital filter and the reference power value and the target power value calculated by the power calculation circuit.

5. The bandwidth calibration circuit of the active filter according to claim 1, wherein: The power calculation circuit updates the target power value each time the active filter adjusts parameters, so that the comparison and decision circuit updates the control signal until the target power value meets the set conditions, and the parameters of the active filter include resistance, capacitance or transconductance.

6. The bandwidth calibration circuit of the active filter according to claim 5, wherein: The setting condition is that the target power value reaches half of the reference power value.

7. The bandwidth calibration circuit of the active filter according to claim 5, wherein: The comparison and judgment circuit compares the reference power value with the target power value. When the target power value is less than half of the reference power value, it indicates that the current bandwidth of the active filter is less than the target bandwidth, and the control signal increases the bandwidth of the active filter. When the target power value is greater than half of the reference power value, it indicates that the current bandwidth of the active filter is greater than the target bandwidth, and the control signal decreases the bandwidth of the active filter.

8. The bandwidth calibration circuit of the active filter according to claim 5, wherein: The control signal includes an N-bit binary number, the Nth bit is the highest weight bit, and the comparison and judgment circuit updates the (N-i+1)th bit of the binary number according to the i-th comparison and judgment result, so that the control signal is updated bit by bit from high to low according to the binary weight, i gradually increases from 1 to N, and N is greater than 0.

9. A bandwidth calibration method for an active filter, applicable to the bandwidth calibration circuit for an active filter according to any one of claims 1 to 8, wherein: The bandwidth calibration method comprises: The digital-to-analog converter provides a square wave signal of a passband frequency as an input signal to the active filter, converts the analog signal corresponding to the output of the active filter into a digital signal through the analog-to-digital converter, and the digital logic circuit filters the digital signal corresponding to the square wave signal of the passband frequency, and then calculates and stores the corresponding reference power value; The digital-to-analog converter provides a square wave signal of a target bandwidth frequency as an input signal to the active filter, converts the analog signal corresponding to the output of the active filter into a digital signal through the analog-to-digital converter, and the digital logic circuit filters the digital signal corresponding to the square wave signal at the target bandwidth frequency, and then calculates and stores the corresponding target power value; and generating a control signal according to a comparison result between the reference power value and the target power value; and The active filter is controlled to adjust its own parameters according to the control signal, so as to adjust the bandwidth of the active filter.

10. The bandwidth calibration method of the active filter according to claim 9, wherein: The control signal includes an N-bit binary number, the Nth bit is the highest weight bit, and the control signal is generated according to the comparison result between the reference power value and the target power value, including: updating the (N-i+1)th binary number of the control signal according to the i-th comparison result, so that the control signal is updated bit by bit from high to low according to the binary weight, i gradually increases from 1 to N, and N is greater than 0; and After the N-bit binary number of the control signal is completely updated from the high bit to the low bit, the bandwidth calibration is completed, indicating that the bandwidth of the active filter reaches the target bandwidth.

Citation Information

Patent Citations

  • Active RC (Resistance-Capacitance) filter bandwidth calibration method

    CN102130679A

  • Hybrid electric filtering device based on triple harmonic active filter

    CN102624001A

  • Semiconductor integrated circuit and operation method of the same

    CN102624348A

  • Wireless communication technology, apparatuses, and methods

    CN110447146A

  • Active low-pass filter bandwidth calibration circuit and calibration method

    CN115567033A

Cited By

  • Common-mode calibration filtering device and parameter optimization method thereof

    CN122268322A