BI-QUAD CALIBRATION
RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. 61/779,390, filed on March 13, 2013, and U.S. Provisional Application No. 61/697,049, filed September 5, 2012. The entire teachings of the above applications are incorporated herein by reference.
BACKGROUND OF THE INVENTION
[0002] Increases in signal bandwidth and data rates have prompted the development of new signal processing techniques to solve challenges associated with wideband signals. Increased signal bandwidth has also made new applications possible, including ultrawideband (UWB) technology-based active radio-frequency (RF) identification (ID) in heterogeneous environments. In addition, increasing signal bandwidth improves ranging accuracy, making wideband technologies especially attractive for radar, imaging, and other applications.
[0003] Unfortunately, fundamental scaling limits on clock speed, switching, heat dissipation, and difficulty of fault recovery make digital logic unsuitable for wideband signal processing. For example, today's DSP technology cannot process the wideband signals required for emerging applications such as high- definition TV, software-defined radio, cognitive radio, 4-G handheld services, white spaces, UWB-based services, and real-time GHz/THz medical imaging. Beyond the need for greater speed and bandwidth processing capability, methods for reducing power consumption also have huge appeal and utility in many signal processing applications. For example, a huge premium is placed on power consumption in mobile devices; high-speed DSPs are a huge drain on the battery life of cell-phones and PDAs.
[0004] For wideband applications, the Nyquist rate is in the multiple Gsps range and, hence, only relatively simple signal processing can be implemented and often requires highly pipelined and parallel processing architectures. Going forward, DSP technology is unlikely to reach the capabilities required by these applications because the limits of CMOS -based digital signal processing structures are not expanding according to Moore's Law any more. In fact, deep sub-micron CMOS gates have widths measured in molecules, suggesting that transistor sizes (and switching speeds) are nearing their fundamental limits. In other words, there is little room to increase the bandwidth processing ability of DSP technology because transistor switching speed, which is inversely related to transistor size, cannot get much faster.
[0005] Analog logic, in turn, has its own limitations. Because analog circuits are not formed of truly independent blocks, changing one block of analog logic can force changes in every other block in the circuit. In addition, advances in process technology occur so quickly that application-specific designs often become obsolete before they are fabricated. Finally, analog circuits are neither fully reconfigurable nor fully programmable.
SUMMARY OF THE INVENTION
[0006] Embodiments of the present invention include methods of tuning state variable filters. Examples include state variable filters whose center frequencies can be tuned using variable gain blocks coupled to outputs of filter integrators. First- and second-order state variable filters may operate on signals in parallel and their outputs combined to produce a filtered output. Filters may be tuned to pass or reject signals depending on the application; sample applications include, but are not limited to: agile filtering; spectrum analysis; interference detection and rejection; equalization; direct intermediate-frequency transmission; and single- sideband modulation and demodulation.
[00071 In an example embodiment, a method of tuning a filter of a biquad circuit (state variable filter) includes tuning a loss pad to generate a target gain value at a predetermined frequency. A phase of a first integrator is tuned to a target phase at the predetermined frequency. A phase of a second integrator is
then tuned to the target phase at the predetermined frequency. A gain of the first integrator is tuned to a target gain value at the predetermined frequency. Lastly, a gain of the second integrator is tuned to the target gain value at the predetermined frequency.
[0008] In further embodiments, the target gain at the predetermined frequency is determined. Tuning the loss pad may include adjusting an attenuation value at the loss pad. Tuning the phase of the first integrator may include adjusting a phase value of an input at the first integrator, the phase value controlling the phase of the first integrator. Tuning the gain of the first integrator may include adjusting a coarse gain value and adjusting a fine gain value at the first integrator, the coarse gain value and fine gain value controlling the gain of the first integrator. Tuning the phase of the second integrator may include adjusting a phase value of an input at the second integrator, the phase value controlling the phase of the second integrator. Tuning the gain of the second integrator may include adjusting a coarse gain value and adjusting a fine gain value at the second integrator, the course gain value and fine gain value controlling the gain of the second integrator.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The foregoing will be apparent from the following more particular description of example embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating embodiments of the present invention.
[0010] FIG. 1 is a block diagram of a first-order state variable filter.
[001 1 ] FIG. 2A is a block diagram of a control canonical form of a second- order state variable filter.
[0012] FIG. 2B is a block diagram of a configuration of biquad circuits in which embodiments of the invention may be implemented.
[0013] FIG. 3 is a block diagram of am observer canonical form of a second-order state variable filter.
I GO 14] FIG. 4 is flow diagram that illustrates signal filtering according to principles of the present invention.
[0015] FIG. 5A is a block diagram of a signal interface at a state variable filter.
[0016] FIG. 5B is a block diagram of serial peripheral interface (SPI) data assignment for a state variable filter.
[0017] FIG. 5C is a block diagram illustrating test point connections to measure operation of the state variable filter.
[0018] FIG. 6 is a state diagram of a process of tuning a state variable filter.
[0019] FIG. 7 is a flow diagram of a process of tuning a loss pad.
[0020] FIG. 8 is a flow diagram of a process of tuning an integrator phase.
[0021 ] FIG. 9 is a flow diagram of a process of tuning a phase of an additional integrator.
[0022] FIG. 10 is a flow diagram of a process of tuning an integrator gain.
[0023] FIG. 11 is a flow diagram of a process of tuning a gain of an additional integrator.
100241 FIGs. 12A-B are graphs illustrating a result of controlling an integrator.
[0025] FIG. 13 is a circuit diagram of a circuit for tuning integrator gain.
[0026] FIGs. 14A-B are charts illustrating an example coarse tuning of an integrator.
[0027] FIGs. 15A-B are circuit and flow diagrams illustrating an example tuning of a state variable filter for operation as a notch filter.
[0028] FIG. 16A-B are circuit and flow diagrams illustrating an example tuning of a state variable filter for operation as an all-pass (delay) filter.
DETAILED DESCRIPTION OF THE INVENTION
[0029] A description of example embodiments of the invention follows.
[0030] Wideband and ultrawideband (UWB) communication systems, which spread signal energy finely across an enormous frequency band (e.g., 3.7-10.0 GHz), appear promising for many wireless applications. Many of wideband communication's attributes— accurate ranging, material penetration,
overlay, and robustness to multipath fading in low-power systems operating in extreme environments— directly address the critical challenges facing challenging military and commercial applications, such as radio-frequency identification (RFID). In addition, wideband systems that operate at baseband do not require down-conversion at the receiver, simplifying the required receiver.
[0031] The challenges of designing a wideband system with finely spread energy over an extremely large frequency band to meet the overlay requirement soon become apparent to communication system designers. In particular, one generally selects a receiver design that is scalable to extreme bandwidths (7 GHz now, potentially larger in the future) from among all-digital receivers, analog correlators for partial or full rake receivers, and transmitted reference receivers.
[0032] Analog-to-digital (A/D) conversion limits the bandwidth and dynamic range (resolution) of all-digital receivers. At present, the high-fidelity A/D converters capable of adequately sampling baseband UWB signals are too complex and consume too much power, particularly for RFID applications. Alternative all-digital systems rely on low-resolution A/D converters, but do not perform as well. For analog correlators, as the bandwidth grows, the number of rake fingers for efficient energy capture increases, and, thus, so does the circuit complexity and difficulty of channel estimation. Although transmitted reference receivers are attractive for low-to-moderate data rate operations, they require large-bandwidth delay lines at the receiver for UWB applications.
[0033] Here, we disclose wideband signal processing (WiSP) that augments digital signal processing and vastly improves the bandwidth processing capability of such systems. The disclosed WiSP systems and techniques provide general-purpose signal processing for wideband signals by
implementing and extending digital functionalities in the analog domain.
Embodiments of the disclosed invention employ a state variable-based architecture to implement any desired impulse response or transfer function to a specifiable degree of accuracy. All filter parameters, including center frequency, can be controlled and optimized through algorithms running on a
low data rate, wideband digital signal processor (DSP) or other suitable control element running in the control path. Wideband signal processors can be implemented on sub-micron complementary metal-oxide-semiconductor (CMOS) structures to permits processing of broadband signals, including signals whose bandwidths exceed 10 GHz.
[0034] Embodiments of the disclosed WiSP systems and devices include dynamically and reconfigurable filters that can be used as or in: wideband filters; agile filters; adaptive filters; equalizers; direct intermediate-frequency (IF) transmitters; and single-sideband modulators and demodulators. Filters, processors, equalizers, and tapped delay lines made according to principles of the present invention can be used in a wide variety of applications, including, but not limited to: active RFID; radar; imaging; software-defined radio;
cognitive radio; baseband processors; instrumentation; and wireless high- definition multimedia interfacing. These lists of components and applications are not exhaustive; rather, they are representative of components and
applications suitable for manufacture or use according to principles of the present invention.
[0035] Filters for Analog Signal Processing
[0036] Classic signal processing systems operate on two planes. In the signal plane (S-plane), signals are manipulated using filters and other processing operations. In the control plane (C-plane), the signal processing operations are provisioned and manipulated. For example, in an adaptive equalization system, signals pass through a transversal filter, but the
coefficients of the filter are controlled by the C-plane. Today, both these functions are done by DSPs. The underlying mathematical basis for digital signal processing is based on S-plane theory, synchronous sampling at or above the Nyquist sampling rate— governed by the sampling theorem. Needless to say, systems implementing such functionality rely on the use of DSP, A/D, and digital-to-analog (D/A) technologies.
[0037] In embodiments disclosed here, the S-plane undergoes sophisticated analog signal processing (the signal path is all analog) while maintaining 10+ GHz of bandwidth. The C-plane, however, is implemented in a traditional A/D,
D/A, and DSP architecture. Embodiments disclosed herein have extremely low power consumption relative to today's standards because of the resulting low gate count and block-architecture of these hybrid systems.
[0038] Filters are building-block components for analog signal processors that alter the amplitude and/or phase characteristics of a signal with respect to frequency, making it possible to process signals in the S-plane. Filters are used to pass signals within certain frequency ranges and to reject those in other ranges. Bandpass filters transmit only those frequencies that fall within a given band. Notch or band-reject filters, on the other hand, remove specific frequencies while allowing all other frequencies to pass undisturbed. Low-pass and high-pass filters reject frequencies above and below, respectively, a cut-off frequency. All-pass filters impart phase shifts on an input signal without attenuating the signal.
[0039] A filter's frequency response can be represented mathematically by a transfer function, which is the ratio of the Laplace Transforms of its output and input signals. Ideal filters have rectangular transfer functions; that is, transfer functions with infinitely steep boundaries between the pass and stop bands, and a constant gain in the pass band. In addition, ideal filters have linear phase responses to avoid introducing phase distortion into the signal. Real filters can only approximate the ideal response.
[0040] The order of a filter equals the order of the polynomial expansion of the filter's transfer function. In conventional RF systems, higher-order filters are constructed by cascading (i.e., serially connecting) lower-order filters. For example, a third-order filter can be constructed by connecting the output of a first-order filter to the input of a second-order filter. Higher-order filters typically have improved pass band performance and a faster roll-off
(attenuation in the stop band) than lower-order filters.
[0041 ] Filter Design, Implementation, and Operation
[0042] Normally, when designing filters, the goal is to implement a particular transfer function or impulse response. Transfer functions
corresponding to rational functions take the form:
T mn (s) (1) s" + a^s" 1 + ..... + a{
[0043] where s ~ Ja> and is given in rad-Hz. Solutions to the numerator are the filer's zeros; solutions to the denominator are the filter's poles. A partial fraction expansion can be done on this expression, followed by an inverse Laplace transform, allowing any temporal function to be expressed as a sum of complex sinusoids:
Tn,n (S) => ym»V) = (2)
[0044] This approximation can be made accurate to an arbitrary degree of accuracy by adding additional terms in the summation.
[0045] In order to develop an expression for the impulse response in the form of a summation of complex sinusoids, as in equation (2), the Pade approximation, Prony's method, or any other suitable method can be employed to determine values of ^ and P< of ^mn ^ . Once ^mn ^ is known, it is possible to use state variable techniques. The system described by equation (3) has a solution that is in the same form as ^m ^ from e uation (2).
[0046] Applying Prony's method or the Pade approximation yields a list of
' and > values, some of which are real and some of which are complex. The complex pole/residue pairs occur as complex conjugate pairs and can be combined as:
R, R,
—— 1 Hr
2 Re[R, ]s - 2 Re[/j R; 1 b^ + b,
,r - 2 Re[ ,. ]s + |/?,|2 , 2 + a}s + αυ
[0047] where all the filter coefficients ( a 's and b 's) are real. These conjugate pairs can be realized using the second-order control and observer canonical forms described in greater detail below.
[0048] Fig. 1 shows a first-order state variable filter 100 used to implement real solutions to equations (2) and (3). The first-order state variable filter 100 operates on a wideband input u(t) to produce a filtered output χλ (t) . A residue block 140 determines the input's residue Rf , which is forwarded to a summer
1 10 that combines the residue with a pole pi of the filtered output. The summer 1 10 forwards the sum of the residue and the pole to an integrator 120. Unlike conventional first-order state variable filters, the first-order state variable filter 100 includes a variable gain block 130 that operates on the output of the integrator 120. The variable gain block 130 amplifies or attenuates the integrated signal according to its gain settings G to produce the filtered output. A pole block 150 coupled to the variable gain block 130 produces the pole pi of the filtered output, which is fed back to the summer 1 10. Changing the parameters of the pole block 150 and the residue block 140 (i.e., changing the filter tap weights) changes the filter transfer characteristics, including the filter center frequency and pass bandwidth.
[0049] Re-examining the first-order state variable filter 100 shown in FIG. 1 shows that the effect of the variable gain block 130 is very interesting. Rather than amplifying the signal, the variable gain block 130 acts as a frequency scale when preceded by the integrator 120 (which is equivalent to \l s in the Laplace domain). The variable gain block 130 transforms the filter transfer function T(s) into T(s/G) , where G is the gain of the variable gain block 130. Given that s = jco = jlitf , scaling s by 1 / G effectively scales T(s) in frequency by
the same factor of G . Varying G causes the center frequency of the filter passband to tune across the UWB band.
[0050] Fig. 2 A and 3 show second-order state variable filters 200 and 300 in control and observer canonical forms, respectively, that realize second-order solutions to equations (2) and (3). The two forms are mathematically equivalent, but the observer form 300 requires an additional summer and has differently configured inputs and outputs. Like the first-order state variable filter 100 shown in FIG. 1 , the second-order filters 200 and 300 include variable gain blocks that change the center frequency of the filter passband. They also include tap weights, or fractional gain blocks, that represent coefficients (i.e., «0, a\, a2, bo, b\, and 62) o the transfer function in equation (4). Like the variable gain blocks, the fractional gain blocks attenuate or amplify signals according to a corresponding coefficient. Typically, the variable and fractional gain blocks scale signals to a value within a normalized range of -1 to 1, inclusive.
[0051] The control second-order state variable filter 200 shown in Fig. 2 operates on a wideband input u{t) to produce a filtered output x2(t) . A summer 210 combines the wideband input with outputs from fractional gain blocks 240 and 241. The summer 210 passes the difference of the wideband input and the fractional gain block outputs to a third fractional gain block 242, which scales the summer output by an amount l/<¾. The fractional gain block 242 forwards the scaled summer output to an integrator 220 and a fractional gain block 252, which scales the scaled summer output by Z>2.
[0052] The integrator 220 integrates the scaled signal, then forwards a resulting integrated signal to a variable gain block 230, which tunes the passed signal frequency according to its gain setting G
\. The output of the variable gain block 230 is forwarded to a second integrator 221 and fractional gain blocks 241 and 251, which scale the output by a
\ and
respectively. The second integrator 221 integrates the signal again, then forwards a resulting second integrated signal to a variable gain block 231. The output of the variable gain block 231 is forwarded to fractional gain blocks 240 and 250,
which scale the output by
0 and bo, respectively. A summer 21 1 combines the outputs of the fractional gain blocks 250-252 to provide the filtered output.
[0053] Fig. 2B illustrates a series of state variable filter circuits (also referred to as "biquad circuits"), such as the filter 200 described above in Fig. 2A. The biquad configuration is a second order state variable structure. IN^ order transfer function T(sy is obtained by cascading N biquads.
[0054] The transfer functions shown in Fig. 2B also describe a single input single output (SISO) field programmable analog array (FPAA). By varying the values of the attenuators and the integrator gains, one can obtain an assortment of adaptive filter and delay line characteristics. The ability to work in the analog domain offers engineers a powerful tool to process wideband signals.
[0055] The observer second-order state variable filter 300 shown in Fig. 3 operates on a wideband input u t) to produce a filtered output x2 (t) in much the same way as the filter 200 shown in Fig. 2. Here, however, fractional gain blocks 350, 351 , and 352 scale the wideband input by amounts bo, b\, and &2s respectively, and forward the resulting scaled outputs to summers 310, 31 1 , and 312, respectively. The summer 310 combines (subtracts) a scaled output from fractional gain block 340 with (from) the output of fractional gain block 350 to provide a combined signal.
[0056] An integrator 320 integrates the resulting signal, then forwards a resulting integrated signal to a variable gain block 330, which tunes the passed signal frequency according to its gain setting. A second summer 31 1 combines the output of the variable gain block 330 with outputs from fractional gain blocks 341 and 351 to provide a second combined output.
[0057] A second integrator 321 integrates the second combined output, then forwards a resulting second integrated signal to a second variable gain block 331. A third summer 312 combines the second variable gain block's output with the output of the fractional gain block 352 to provide a third combined signal. A fractional gain block 342 scales the third combined signal by l/<¾ to provide the filtered output. The filtered output is forwarded to fractional gain blocks 340 and 341 , which scale the filtered output by a0 and a\, respectively.
[0058] The first- and second-order state variable filters shown in Figs. 1-3 can be generalized to any order by incorporating or removing additional integrators and variable gain blocks as appropriate. An nth-order state variable filter can be constructed by coupling a variable gain block to the respective outputs of each of n integrators. Higher-order state variable filters may also include additional functional gain blocks and summers configured to scale and combine signals at various points throughout the filter. Setting a functional gain block's scaling coefficient to 0 or 1 (depending on the filter configuration) effectively suppresses the functional gain block's effect on the filter's operation. Further, a series of multiple biquad circuits may be connected in series, as described above with reference to Fig. 2B, to obtain a 2Λ^ order transfer function T(sy by cascading N biquad circuits.
[0059] FIG. 4 is a flow diagram that illustrates basic signal filtering 400 according to principles of the present invention. First, a wideband input 402 is combined (404) with a pole 418 to produce a combined signal 406, where the pole 418 is determined from a filtered signal 416 derived through the signal filtering 400. In higher-order filtering, the pole 418 may be derived by scaling the filtered signal 416 with a fractional gain coefficient. The combined signal 406 is integrated (408) to produce an integrated signal 410, which is amplified (412) by a variable gain 414 to produce the filtered signal 416. Changing the variable gain 414 shifts the center frequency of the filtered signal 416.
[0060] Example embodiments of the present invention provide methods for tuning a state variable filter (also referred to herein as a "biquad filter") such as those described above with reference to Figs. 1-4. Embodiments of wideband filters usable with the present invention are described in further detail in "Method, System, and Apparatus for Wideband Signal Processing," (U.S.
Patent Application No. 12/921,987; PCT Application No.
PCT/US2009/001512), and "Wideband Signal Processing" (U.S. Patent Application No. 13/666,269; PCT Application No. PCT/US2012/062965), the teachings of which are incorporated herein in their entirety. A tuning procedure, as described below, may be performed in order to increase the filter's performance in a number of ways, such as by compensating for potential
inaccuracies inherent in its implementation as an integrated circuit. As a result of the tuning procedure, a greater degree of precision is created than would otherwise be achievable.
100611 FIG. 5A is a block diagram of a signal interface at a state variable filter, illustrating both data signal and control planes. The interface may be implemented with a state variable filter such as those described above with reference to Figs. 1-4. The control plane interacts with the signal plane in order to tune the filter, and thereby the biquad's cascaded constructions that implement biquad filters. The control plane may operate at a lower frequency than the biquad's operating range (e.g., 100 MHz) and provides a measurement mechanism that improves the biquad's performance by accurately setting the gain and phase of its sub-components (such as loss pads and integrators).
Measurements are output from the control plane to an ADC and are used to change circuit values within the biquad to improve accuracy. A serial peripheral interface (SPI) interface is used to read and write values within the biquad. The biquad's SPIs may be treated as slaves to a microprocessor/digital signal processor (μΡ/DSP) master.
[0062] SPI addresses are distributed within the biquad in order to change circuit values. Taking an 8th order bandpass filter as an example, there are:
[0063] a) 5 SPI interfaces per Biquad, with 4 Biquads in a filter and one additional test biquad for calibration purposes
[0064] b) 3 SPI interfaces combined for source and measure (buses within the control plane for sourcing signals and taking measurements)
[0065] c) 1 SPI interface for Mode identification
[0066] d) Total of a) - c) is 29 SPI interfaces for the 8th Order
Bandpass Filter.
[0067] Figs. 5B-C are block diagrams illustrating data and test point connections at an example biquad circuit. The connections are utilized in the example tuning procedures described below with reference to Figs. 6-16B. Fig. 5B illustrates an example SPI Data Assignment for the biquad, and Fig. 5C illustrates test point connections to measure operation of the biquad. An
example registry and address configuration for the data and test point connections of Figs. 5B-C is provided in Tables 1-5, below.
Reg SPI Register Address Bits Data Bits &
Description
A6 A5 A4 A3 A2 Al AO D24:D0
BQl l 0 0 0 0 0 0 0 Biquad 1 Register 1
BQ1_2 0 0 0 0 0 0 1 Biquad 1 Register 2
BQ1 3 0 0 0 0 0 1 0 Biquad 1 Register 3
BQ1 4 0 0 0 0 0 1 1 Biquad 1 Register 4
BQ1_5 0 0 0 0 1 0 0 Biquad 1 Register 5
BQ2 1 0 0 0 0 0 0 Biquad 2 Register 1
1
BQ2 2 0 0 0 0 0 1 Biquad 2 Register 2
1
BQ2_3 0 0 0 0 1 0 Biquad 2 Register 3
1
BQ2_4 0 0 0 0 1 1 Biquad 2 Register 4
1
BQ2 5 0 0 0 1 0 0 Biquad 2 Register 5
1
BQ3 1 0 0 1 0 0 0 0 Biquad 3 Register 1
BQ3_2 0 0 1 0 0 0 1 Biquad 3 Register 2
BQ3_3 0 0 1 0 0 1 0 Biquad 3 Register 3
BQ3_ 4 0 0 1 0 0 1 1 Biquad 3 Register 4
BQ3_5 0 0 1 0 1 0 0 Biquad 3 Register 5
BQ4_1 0 0 0 0 0 Biquad 4 Register 1
1
1
BQ4_2 0 0 0 0 1 Biquad 4 Register 2
1
1
BQ4_3 0 0 0 1 0 Biquad 4 Register 3
1
1
BQ4_4 0 0 0 1 1 Biquad 4 Register 4
1
1
BQ4__5 0 0 1 0 0 Biquad 4 Register 5
1
1
BQ5J 0 1 0 0 0 0 0 Test Biquad Register
1
BQ5_2 0 1 0 0 0 0 1 Test Biquad Register
2
BQ5_3 0 1 0 0 0 1 0 Test Biquad Register
3
BQ5_4 0 1 0 0 0 1 1 Test Biquad Register
4
BQ5__5 0 1 0 0 1 0 0 Test Biquad Register
5
Mode 0 1 1 1 0 0 0 Identifies mode (25- ID data bits give project, revision, etc.
information)
MTR4 0 1 1 1 1 0 0 Meter Register 4
MTR6 0 1 1 1 1 1 0 Meter Register 6
MTR7 0 1 1 1 1 1 1 Meter Register 7
[0068] Table 1: SPI Address Assignment
[0069] Table 2: SPI Data Assignment for Biquad (Address Bits from LSB 0 to MSB 24)
SPI Data Bits & Data Bits & Data Bits & Assignment Assignment Assignment
MTR <0: 11> = BS90 <12> = sel90 <13 :24> = Unassigned
4
MTR <0: l l> = Bm2 <12:23> = Bmi <24> = selbyp
6
MTR <0: 1 1> = BS <12> = seltbq <13:24> = Unassigned
7
Table 3: SPI Data Assignment for Source/Measure (LSB 0 to MSB
[0071] Table 4: Vb Control
Switch SPI Active Connection and function
bit
Vil_sw[12] BQ2 Low Selects first of 3 coarse-tuning sub-integrators in
<12> Integrator 1 Block
Vil_sw[13] BQ2 Low Selects second of 3 coarse-tuning sub-integrators
<13> in Integrator 1 Block
Vil_sw[14] BQ2 Low Selects third of 3 coarse-tuning sub-integrators in
<14> Integrator 1 Block
Vi2_sw[0] BQ3 Low Selects first of 3 coarse-tuning sub-integrators in
<0> Integrator 2 Block
Vi2_sw[l] BQ3 Low Selects second of 3 coarse-tuning sub-integrators
<1> in Integrator 2 Block
Vi2_sw[2] BQ3 Low Selects third of 3 coarse-tuning sub-integrators in
<2> Integrator 1 Block
Vcip BQ2 Low Injects 100 MHz source into biquad from control
<23> plane
Vctpl BQ3 Low Selects Test Point 1 in each biquad
<3>
Vctp2 BQ3 Low Selects Test Point 2 in each biquad
<4>
Vctp3 BQ3 Low Selects Test Point 3 in each biquad
<5>
Vctp4 BQ3 Low Selects Test Point 4 in each biquad
<6>
sel90 MTR4 High/ Selects between 100 MHz 90° Reference and
<12> Low VM2 for measurement in control plane (High =
100 MHz 90° Reference, Low = VM2)
Seltbq MTR7 High/ Selects type of measurement for Test Biquad
<12> Low output in control plane (High = TBQ , Low =
(TBQ - 3 dB)2
Selbyp MTR6 High/ Selects between 100 MHz path and Test Biquad
<24> Low output for measurement in control plane (High =
TBQ, Low = 100 MHz path)
[0072] Table 5: Switches and Connections
[0073] An example SPI connected to tune a biquad circuit may operate at a frequency of 40 MHz. Using a serial rapid I/O interface, the control plane can
operate at speeds up to 20 Gbps. 32-bit words (7-bit address and 25-bit data registers) may be used to provision integrators and loss pads. An example 8th order bandpass filter may be made up of four biquads connected in series, where each biquad includes two integrators and one loss pad. Overall provisioning time is dependent on the details of the provisioning and tuning procedure.
[0074] Tuning Procedure
[0075] A procedure for tuning biquad circuits is described below.
[0076] a) Design a desired transfer function using classical techniques. Taking a bandpass filter as an example, determine filter type, order, center frequency, bandwidth, and passband ripple.
[0077] b) Factorize this transfer function in biquad sections. Taking an 8
th order bandpass filter as an example, the factorization will be of the form:
[0078] c) For each of the 'n' biquads, determine coefficient parameters. Using the above example, these are k, cor, Q.
[0079] d) Map these to the transfer function implemented by the biquad filter circuit. Using the 8
th order bandpass filter example, the mapping can be of the form:
[0080] e) Perform tuning for each of the biquads. An example tuning procedure is described below with reference to Fig. 6, and further detail for each step of Fig. 6 is provided in Figs. 7-1 1.
[0081] Fig. 6 is a state diagram of a process of tuning a biquad circuit for configuration as an example 8th order bandpass filter. This procedure may be carried out successively for each of the 4 biquads connected in series, which comprise the filter. A similar procedure, in which biquad subcomponents such
as loss pads and integrators are tuned for phase, and/or gain precision, performed for other filters. The procedure may be as follows:
[0085] 4) Determine target Gain at 100 MHz from: G
W0MHz =
[0086] 5) Set target Phase at 100 MHz to -89°
[0087] 6) Setup: Calibrate Multiplier and other components.
[0088] 7) Tune Loss Pad controlling x
[0089] 8) Tune Integrator 2 Phase
[0090] 9) Tune Integrator 1 Phase
[0091] 10) Tune Integrator 2 Gain
[0092] 1 1) Tune Integrator 1 Gain
[0093] A detailed procedure for completing steps 7-11 (i.e., tuning the loss pad and the phase/gain of integrators 1 and 2) is described in further detail below with reference to Figs. 7-1 1.
[0094] Fig. 7 is a flow diagram of a process of tuning a loss pad as in the filter tuning procedure of Fig. 6. Tune the loss pad controlling a! as follows:
[0095] 1) LP Tuning Initialization: All Vb's off (set Low) using BQn_2[15- 22]. All V0tp's connected to 100 MHz (set High) using BQ„_3[3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using
MTR6<12:23> and MTR6<0: 1 1>.
[0096] 2) Set LP to target value through Vc_al using BQn_4[l 2-23] .
[0097] 3) Set Vctp4 Low to enable TP4 measurement using BQn_3 [6] .
[0098] 4) Set Vb7 High for measurement on VM1 using BQn_2[20].
[0099] 5) Set Vb8 High for measurement on VM2 using BQn_2[19].
[00100] 6) All other Vb's off: BQn_2[15-18,21-22].
[00101] 7) Record Detector output (from Multiplier) through ADC read as LPOUT T.
[00102] 8 ) Adjust according to output, if needed. If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>]. If high, Adjust BMl and BM2 meter attenuations to LP Max* using MTR6<12:23> and MTR6<0: 1 1>, respectively.
[00103] 9) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as LPOUT,BM1LP_OUT, and BM2LP_OUT, respectively.
[00104] 10) All Vb's off (set Low) using BQNJ>[ 15-22]. All Votp's connected to 100 MHz (set High) using BQn 3[3-6]. Reset Attenuator by setting BMl &BM2 to zero attenuation (all O's) using MTR6<12:23> and MTR6<0: 11>.
[00105] 11) Set Vctp2 Low to enable TP2 measurement using BQN_3[4].
[00106] 12) Set Vb3 High for measurement on VM1 using BQn 2[16].
[00107] 13) Set Vb4 High for measurement on VM2 using BQn 2[l 5].
[00108] 14) All other Vb's off: BQn 2[17-22] .
[00109] 15) Record Detector output (from Multiplier) through ADC read as
LPIN_T-
[001 10] 16) Adjust according to input measurement, if needed. I high, adjust BMl and BM2 meter attenuations to LP Max using MTR6<12:23> and MTR6<0: 1 1>, respectively. If low, decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>] and return to Initialization State.
[00111] 17) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as LPIN, BMI LPJN, and BM2lp_IN, respectively
[00112] 18) LPrN ~ LPOUT? If not, check MTR Attenuation exhaust condition. If not met, attenuate LPIN by adjusting BMl and BM2 using MTR6<12:23> and MTR6<0: 1 1>. Then record the detector output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as LPIN, BMILPJN, and BM2LP IN, respectively. Compare and adjust further until LPIN ~ LPOUT- [00113] 19) Take ratio: BM1LP_IN/BM1 LP_OUT (should be equal to
[00114] 20) BM1LPVBM1 LP_OUT = 1/Qn? If not: Adjust target value using knowledge of LP slope pLP. ΔΥ = (3ΔΧ. So ΔΥ = (BM1LP_IN/BM1 LP_OUT - 1/Qn)
/ PLP = ΔΧ. So TargetNEW = TargetoLD ±ΔΧ. Repeat procedure from step (1) until BM1LP_IN/BM1LP_OUT = 1/Qn.
[00115] 21) Record Detector output (from Multiplier) through ADC read as
Final -
[00116] Fig. 8 is a flow diagram of a process of tuning the phase of integrator 2 as in the filter tuning procedure of Fig. 6. Tune Integrator 2 Phase as follows:
[001 17] 1) Integrator 2 Phase Tuning Initialization: Ensure all integrator switch settings are the same (ex. all l's for Vil_sw and Vi2_sw). All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6], Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 1 1>.
[00118] 2) Set Vctp3 Low to enable TP 3 measurement using BQn_3[5].
[00119] 3) Set Vb5 High for measurement on VM1 using BQn_2[22],
[00120] 4) Set Vb6 High for measurement on VM2 using BQn_2[21].
[00121] 5) All other Vb's off: BQn_2[ 15-20].
[00122] 6) Record Detector output (from Multiplier) through ADC read as Int2_Phase_IndicatorOUT T.
[00123] 7) Output in Int2JPhase_Indicator Range? If high: Adjust BM1 and BM2 meter attenuations to Int2_Phase_Indicator Max* using MTR6<12:23> and MTR6<0:11>, respectively. If low, Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 1 1>].
[00124] 8) Record Detector Output (from Multiplier) through ADC read and BM1 and BM2 meter attenuations as Int2_Phase_IndicatorOUT,
BMlInt2_Phase_Indicator_OUT, and BM2Int2_Phase_Indicator_OUT, respectively
[00125] 9) All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 1 1>.
[00126] 10) Set Vctp2 Low to enable TP2 measurement using BQn 3 [4] .
[00127] 1 1) Set Vb3 High for measurement on VM1 using BQn_2[16"|.
[00128] 12) Set Vb4 High for measurement on VM2 using BQn_2[15 |.
[001291 13) All other Vb's off: BQn_2[ 1 7-22] .
[00130] 14) Record Detector output (from Multiplier) through ADC read as Int2_Phase_IndicatorIN_T .
[00131] 15) Input in Int2_Phase_Indicator Range? If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 1 1>] and return to Initialization State. If high: Adjust BMl and BM2 meter attenuations to Int2_Phase_Indicator Max* using MTR6<12:23> and MTR6<0: 1 1>, respectively.
1001321 16) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Int2_Phase_IndicatoriN,
BMlInt2_Phase_Indicator_IN, and BM2Int2_Phase_Indicator_IN, respectively.
[00133] 17) Int2_Phase_IndicatorIN ~ Int2_Phase_IndicatorOUT? If no: Check MTR Attenuation exhaust condition. If not met, attenuate
Int2_Phase__IndicatorIN by adjusting BMl and BM2 using MTR6<12:23> and MTR6<0: 1 1>. Then record the detector output (from Multiplier) through ADC read and BM l and BM2 meter attenuations as Int2_Phase_IndicatorIN,
BM 1 Int2_Phase JndicatorJN, and B M 21 nt2_Phase_Indicator_IN , respectively. Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>]. Repeat procedure from step (1).
[00134] 18) All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3 [3-6]. Reset Attenuator by setting BMl &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 1 1>.
[00135] 19) Set Vctp2 Low to enable TP2 measurement using BQn_3 [4] .
[00136] 20) Set Vctp3 Low to enable TP3 measurement using BQn_3 [5] .
[00137] 21) Set Vb3 High for TP2 measurement on VM1 using BQn_2[16].
[001381 22) Set Vb6 High for TP 3 measurement on VM2 BQn_2[21].
[00139] 23) All other Vb's off: BQn_2[15, 17-20,22].
[001401 24) Adjust BMl meter attenuation to BMlInt2_Phase_IndicatorJN and BM2 meter attenuation to BM2Int2_Phase_Indicator_OUT using
MTR6<12:23> and MTR6<0: 1 1>, respectively.
[00141] 25 ) Record Detector Output (from Multiplier) through ADC read as Int2_Phase_Indicator_T.
[00142] 26) Int2_Phase_Indicator_T ~ 0*? If no: Adjust VCR2. This changes the gain, so must go back to Initialization state and repeat procedure thus far. The VCR2 adjustment follows a gradient search algorithm which adjusts step size in proportion to the gradient's deviation from its expected value (expected value range is TBD). Example: 3-5 LSBs for large deviation, 1 LSB for small one. Repeat process from step (1).
|00143] 27) Record Detector Output (from Multiplier) through ADC read as Int2_Phase_Indicator_Final .
[00144] Fig. 9 is a flow diagram of a process of tuning a phase of integrator 1 as in the filter tuning procedure of Fig. 6.
[00145] Tune Integrator 1 Phase as follows:
[00146] 1) Integrator 1 Phase Tuning Initialization: All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3 [3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 1 1>.
[00147] 2) Set Vctp2 Low to enable TP2 measurement using BQn_3 [4] .
[00148] 3) Set Vb3 High for measurement on VM1 using BQn_2[16]. Set Vb4 High for measurement on VM2 using BQn_2[15], All other Vb's off: BQn_2[ 17-22].
[00149] 4) Record Detector output (from Multiplier) through ADC read as Intl_Phase_IndicatorOUT_T .
[00150] 5) Output in Intl_Phase_Indicator Range? If high: Adjust BM1 and BM2 meter attenuations to Intl_Phase_Indicator Max* using MTR6<12:23> and MTR6<0: 1 1>, respectively. If low, Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 1 1>], and return to (1).
[00151] 6) Record Detector Output (from Multiplier) through ADC read and BM1 and BM2 meter attenuations as Intl_Phase_IndicatorOUT,
BMlIntl_Phase_Indicator_OUT, and BM2Intl_Phase_Indicator_OUT, respectively.
[001521 7) All Vb's off (set Low) using BQn 2[ 15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0:11>.
[00153] 8) Set Vctpl Low to enable TPl measurement using BQn 3[3].
[001541 9) Set Vbl High for measurement on VM1 using BQn_2[l 8]. Set Vb2 High for measurement on VM2 using BQn_2[17]. All other Vb's off: BQn_2[15,16,19-22],
[00155] 10) Record Detector output (from Multiplier) through ADC read as Int 1 _Phase_IndicatorIN_T .
[00156] 11 ) Input in Intl_Phase_Indicator Range? If high: Adjust BM1 and BM2 meter attenuations to Intl_Phase_Indicator Max* using MTR6<12:23> and MTR6<0:11>, respectively; retry. If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 1 1>] and return to Initialization State.
[00157] 12) Record Detector Output (from Multiplier) through ADC read and BM 1 and BM2 meter attenuations as Intl_Phase_IndicatorIN,
BM 1 Intl Phase JndicatorJN, and BM2Int 1 _Phase_Indicator_IN , respectively.
[00158] 13) Intl J'haseJndicatorLN ~ Intl PhaseJndicatorOUT? If no: Check MTR Attenuation exhaust condition. If not met, attenuate
Intl_Phase_IndicatorIN by adjusting BM1 and BM2 using MTR6<12:23> and MTR6<0: 1 1>. Then record the detector output (from Multiplier) through ADC read and BM1 and BM2 meter attenuations as Intl_Phase_IndicatorrN,
BMlIntl_Phase_Indicator_IN, and BM2Intl_Phase_Indicator_rN, respectively. Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>]. Return to (1).
[00159] 14) All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 1 1>.
[00160] 15) Set Vctpl Low to enable TPl measurement using BQn_3[3]. Set Vctp2 Low to enable TP2 measurement using BQn_3[4].
[00161] 16) Set Vbl High for TP2 measurement on VM1 using BQn_2[18]. Set Vb4 High for TP2 measurement on VM2 BQn_2[15]. All other Vb's off: BQn_2[16,17,19-22].
[00162] 17) Adjust BM1 meter attenuation to BM 1 Int 1 PhaseJndicator JN and BM2 meter attenuation to B M21 nt 1 _Phase_I ndicator O UT using
MTR6<12:23> and MTR6<0: 1 1>, respectively.
[00163] 18) Record Detector Output (from Multiplier) through ADC read as Int 1 _Phase_Indicator_T.
[00164] 19) Intl_Phase_Indicator_T ~ 0*? If no: Adjust VCR1. This changes the gain, so must go back to Initialization state and repeat procedure thus far. The VCR1 adjustment follows a gradient search algorithm which adjusts step size in proportion to the gradient's deviation from its expected value (expected value range is TBD). Example: 3-5 LSBs for large deviation, 1 LSB for small one. Return to (1).
[00165] 20) Record Detector Output (from Multiplier) through ADC read as Int 1 JPhase lndieator Final .
[00166] Fig. 10 is a flow diagram of a process of tuning the gain of integrator 2 as in the filter tuning procedure of Fig. 6.
[00167] Tune Integrator 2 Gain as follows:
[00168] 1) Integrator 2 Gain Tuning Initialization: Ensure all integrator switch settings are the same initial value. Initial value based on wrn, which falls into 1 of 7 coarse frequency bins. For example, 5th bin is 101 for Vil_sw and Vi2_sw using BQn_2<12: 14> and BQn_3<0:2>, respectively. Set VCC2 to initial value (-900 mV) using BQn_5<12:23>.
[00169] 2) All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BM1 &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0: 11>.
[00170] 3) Set Vctp3 Low to enable TP3 measurement using BQn_3 [5] .
[00171] 4) Set Vb5 High for measurement on VM1 using BQn_2[22]. Set Vb6 High for measurement on VM2 using BQn_2[21]. All other Vb's off: BQn_2[15-20].
[00172] 5) Record Detector output (from Multiplier) through ADC read as lnt2_GainOUT_T.
[00173] 6) Output in Int2_Gain Range? If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0:11>]; return to (2). If high: Adjust BMl and BM2 meter attenuations to Int2_Gain Max* using MTR6<12:23> and MTR6<0: 11>, respectively; retry.
[00174] 7) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Int2_GainOUT,BMlInt2_Gain_OUT, and BM2Int2_Gain_OUT, respectively.
[00175] 8) All Vb's off (set Low) using BQn_2[15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BMl &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0:11>.
[00176] 9) Set Vctp2 Low to enable TP2 measurement using BQn_3 [4] .
[00177] 10) Set Vb3 High for measurement on VM1 using BQn_2[l 6] . Set Vb4 High for measurement on VM2 using BQn_2[15]. All other Vb's off: BQn_2[ 17-22].
[00178] 1 1 ) Record Detector output (from Multiplier) through ADC read as Int2_GainIN_T.
[00179] 12) Input in Int2_Gain Range? If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0:11>] and return to Initialization State. If high: Adjust BMl and BM2 meter attenuations to Int2_Gain Max using MTR6<12:23> and MTR6<0: 1 1>, respectively; retry.
[00180] 13) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Int2_ GainIN, BMlInt2_Gain_IN, and BM2Int2_Gain_IN, respectively.
[00181] 14) Int2_GainIN ~ Int2_GainOUT? If no: Check MTR Attenuation exhaust condition. If not met, attenuate Int2_GainIN by adjusting BMl and BM2 using MTR6<12:23> and MTR60: 11>. Then record the detector output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Int2_GainI , BMlInt2_GainJN, and BM2Int2_Gain_IN, respectively; retry (If MRT Attn exhausted: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 1 1>]; return to (2)).
[00182] 15) Take ratio: BM 1 Int2_Gain_IN/BM 1 Int2_Gain OUT (should be equal to BM2int2 Gain .. I /BM2Int2_ Gain .OU l ).
[00183] 16) BM 1 lnt2_Gain IN/BM 1 Int2_Gain_OUT ~
201ogl0(ωrn/2πl00MHz)? If no: Adjust Vcc2 target value using knowledge of Int2_Gain slope pInt2_Gain. Know ΔΥ = βΔΧ. So ΔΥ =
(BM 1 Int2 Gain IN/BM 1 Int2 Gain_OUT - 201ogl0(ωrn/2πl00MHz)) / Int2_Gain = ΔΧ. So FrequencyNEW = FrequencyOLD ±ΔΧ. This ΔΧ corresponds to a Vcc2 adjustment of some known amount. Set VCC2 to this value using BQn_5<12:23>.
[00184] 17) Record Detector output (from Multiplier) through ADC read as Int2_GainOUT_Final.
[00185] Fig. 11 is a flow diagram of a process of tuning a gain of integrator 1 as in the filter tuning procedure of Fig. 6. Tune Integrator 1 Gain as follows:
[00186] 1) Integrator 1 Gain Tuning Initialization: Ensure all integrator switch settings are the same initial value. (Initial value based on wrn, which falls into 1 of 7 coarse frequency bins. For example, 5th bin is 101 for Vil sw and Vi2_sw using BQn_2<12: 14> and BQn_3<0:2>, respectively. Set VCC1 to initial value (~900 mV) using BQn_2<0: l 1>.
[00187] 2) All Vb's off (set Low) using BQn_2[15-22], All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BMl &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0:11>.
[00188] 3) Set Vctp2 Low to enable TP2 measurement using BQn_3 [4] .
[00189] 4) Set Vb3 High for measurement on VM1 using BQn_2[16]. Set Vb4 High for measurement on VM2 using BQn_2[15]. All other Vb's off: BQn_2[17-22].
[00190] 5) Record Detector output (from Multiplier) through ADC read as Intl GainOUT T.
[00191] 6) Output in Intl_Gain Range? If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0:11>]; return to (2). If high: Adjust BMl and BM2 meter attenuations to Intl_Gain Max* using MTR6<12:23> and MTR6<0: 1 1>, respectively; retry.
[00192] 7) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Intl_GainOUT,BMlIntl_Gain_OUT, and BM2Intl_Gain_OUT, respectively.
[00193] 8) All Vb's off (set Low) using BQn_2| 15-22]. All Vctp's connected to 100 MHz (set High) using BQn_3[3-6]. Reset Attenuator by setting BMl &BM2 to zero attenuation (all 0's) using MTR6<12:23> and MTR6<0:1 1>.
[00194] 9) Set Vctpl Low to enable TP1 measurement using BQn_3[3].
[00195] 10) Set Vbl High for measurement on VM1 using BQn_2[18]. Set Vb2 High for measurement on VM2 using BQn_2[17]. All other Vb's off: BQn_2[15, 16,19-22].
[00196] 11) Record Detector output (from Multiplier) through ADC read as Intl_GainIN_T.
[00197] 12) Input in Int l Gain Range? If low: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>] and return to Initialization State. Adjust BMl and BM2 meter attenuations to Intl_Gain Max using MTR6<12:23> and MTR6<0: 1 1>. respectively; retry.
[00198J 13) Record Detector Output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Intl_GainIN, BMlIntl_Gain_IN, and BM2Intl_Gain_IN, respectively.
[00199] 14) Intl_GainIN ~ Intl_GainOUT? If no: Check MTR Attenuation exhaust condition. If not met, attenuate Intl_GainIN by adjusting BMl and BM2 using MTR6<12:23> and MTR6<0:11>. Then record the detector output (from Multiplier) through ADC read and BMl and BM2 meter attenuations as Intl_GainIN, BMl Intl _Gain_IN, and BM2Intl_Gain_IN, respectively; retry (if MTR Attn exhausted: Decrease SRC Attenuator Settings to Increase Signal Level [MTR7<0: 11>]; return to (2).)
[00200] 15) Take ratio: BMlIntl_Gain_rN/BMlIntl_Gain_OUT (should be equal to BM2Intl_GainJN/BM2Intl j3ain_OUT)
[00201] 16) BM 1 Int 1 _Gain_IN/B M 1 Int 1 _Gain_OUT ~
201oglO(rorn/2nlOOMHz)? If no: Adjust Vccl target value using knowledge of
Intl_Gain slope Intl_Gain. Know ΔΥ = βΔΧ. So ΔΥ =
(BM 1 Int 1 _Gain_IN/BM 1 Int 1 Gain OUT - 2()log 10(ωπι/2π 1 OOMHz)) /
pInt l_Gain = ΔΧ. So FrequencyNEW = FrequencyOLD ±ΔΧ. This ΔΧ corresponds to a Vccl adjustment of some known amount. Set VCC1 to this value using BQn_5<12:23>.
[00202] 17) Record Detector output (from Multiplier) through ADC read as
Intl_GainOUT_Final.
[00203] Integrator and Loss Pad Control
[00204] Figs. 12A-B are grans illustrating integrator control and
corresponding output. In an example 8th order bandpass filter described above,
VCR1 , VCR2 , VCapA, Vil_sw, Vi2_sw, VCC1, VCC2 are the primary pins involved in integrator phase and gain tuning. VCR1 , VCR2, and potentially
VCapA (its inclusion depends on operating frequency) are set first to tune the phase response to -89° target phase shift. Vil_sw, Vi2_sw, VCC1, and VCC2 are set second to tune the gain to the target value. Their associated bits control the phase and gain values.
[00205] Fig. 13 is a circuit diagram of a circuit for tuning integrator gain. With reference to Fig. 5B, inputs Vi l sw / Vi2_sw connect to switches at left to control coarse gain tuning, and inputs VCC1 / VCC2 control fine gain tuning through CL. A chart illustrating example course tuning values is shown in Figs. 14A-B.
[00206] With reference to Fig. 5B, assignment of inputs to control the loss pad, as well as phase and gain of the integrators, may be as follows:
[00207] 1) Pins VCR1 and VCR2 control phase adjustment of Integrators 1 and 2. Their 12 associated bits control the phase value.
[00208] 2) Pin VCapA controls fine phase adjustment of Integrators 1 and 2, if required. Its 12 associated bits control the phase value. Its use is dependent on the operating frequency range and is only required for frequencies of operation that exceed a given threshold (for example, 1.5 GHz).
[00209] 3) Switches Vi l SW and Vi2_SW control coarse gain adjustment of Integrators 1 and 2, respectively (7 steps of coarse tunability, using lookup from a priori information). Their 3 associated bits control which value from the lookup table to use.
[00210] 4) Pins VCC1 and VCC2 control fine gain adjustment of Integrators 1 and 2. Their 12 associated bits control the gain value. They are typically set to ~ 900 mV.
[00211] 5) Vca_l controls attenuation adjustment of the Loss Pad controlling al . Its 12 associated bits control the loss value.
[00212] Biquad as Notch Filter
[00213] FIGs. 15A-B are circuit and flow diagrams illustrating an example tuning of a state variable filter for operation as a notch filter. Fig. 15A illustrates a computation of a transfer function to be realized via the tuning procedure. The state diagram of Fig. 15B follows an empirically-determined procedure to tune the state variable filter for operation as a notch filter. After building a bandpass filter as through the state machine of Fig. 6, 'b' coefficients are adjusted. The bl loss pad is changed to "Max Attenuation" while bO and b2 are adjusted from maximum attenuation to "No Attenuation". If these adjustments fail to create the desired notch filer, further refinement of the bO loss pad gain and phase and b2 loss pad gain can be performed.
[00214] Biquad as All-Pass Filter (Delay Line)
[00215] FIG. 16A-B are circuit and state diagrams illustrating an example tuning of a state variable filter for operation as an all-pass (delay) filter. Fig. 15 A illustrates a computation of a transfer function to be realized via the tuning procedure. The state diagram of Fig. 15B follows an empirically-determined procedure to tune the state variable filter for operation as an all-pass (delay) filter. After building a bandpass filter as in the state machine of Fig. 6, 'b' coefficients are adjusted. The bl loss pad is set to the al loss pad value and the bl switch goes from positive to negative. Additionally, the bO and b2 loss pads are adjusted from maximum attenuation to "no attenuation." If these changes do not create the desired all-pass filter, further refinement of the bO loss pad gain and phase and b2 loss pad gain can be performed.
[00216] While this invention has been particularly shown and described with references to example embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein
without departing from the scope of the invention encompassed by the appended claims.