A fully digital multi-core band selector based on successive approximation and automatic correction

By designing a fully digital multi-core frequency band selector based on successive approximation and automatic correction, and utilizing simple digital units and phase-locked loop dividers, the problems of high hardware cost and difficulty in autonomous restart in existing technologies are solved, achieving low power consumption, high precision frequency band selection and intelligent operation.

CN123074491APending Publication Date: 2026-11-10BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611366867.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing all-digital band selectors require multiple counters to eliminate counting and frequency discrimination errors, increasing hardware costs and power consumption. They also cannot automatically restart the band selector operation when the phase-locked loop loses lock, and lack intelligent calibration features.

Method used

It adopts a fully digital multi-core frequency band selector based on successive approximation and automatic correction. It utilizes a frequency divider, frequency discriminator, threshold determiner, successive approximation module, correction module and trigger module to achieve low power consumption and low cost frequency band selection through counting comparison and successive approximation. It has intelligent multi-core multi-subband band selection characteristics.

Benefits of technology

It achieves low power consumption, low cost, and digital high-precision frequency band selection, and can automatically correct counting errors and reactivate band selection operation when the phase-locked loop loses lock. It has intelligent features and broadens the output frequency range of the phase-locked loop.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123074491A_ABST
    Figure CN123074491A_ABST
Patent Text Reader

Abstract

This invention relates to a fully digital multi-core band selector based on successive approximation and automatic correction, belonging to the field of frequency source band switching technology in RF integrated circuit design. It consists of a frequency divider, a frequency discriminator, a threshold determiner, a successive approximation module, a correction module, a trigger module, and a D flip-flop. Based on counting comparison and successive approximation, and utilizing the inherent loop divider of the phase-locked loop (PLL), it digitally, with low power consumption and low cost, achieves 4-to-1 multi-core and 32-to-1 single-core multi-group subband operation of a voltage-controlled oscillator (VCO). An even-odd calibration period mechanism is introduced to eliminate the frequency discrimination error caused by the VCO's own response delay and avoid timing conflicts caused by simultaneous frequency difference detection and correction. A ±1 counting error correction mechanism is introduced to eliminate frequency discrimination errors based on asynchronous clock counting, achieving high-precision band selection. With the assistance of the PLL's lock-in decision module, fully automatic and intermittent band selection off / on operations are implemented under loop lock / unlock conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a fully digital multi-core band selector based on successive approximation and automatic correction, belonging to the field of frequency source band switching technology in radio frequency integrated circuit design. Background Technology

[0002] Modern communication equipment is a multi-mode, multi-band system to be compatible with different application environments, thus requiring multi-mode, multi-band transceivers and wide-frequency-range phase-locked loops (PLLs). Commercial wide-frequency-range PLLs all employ multi-core, multi-subband voltage-controlled oscillators, which rely heavily on integrated frequency band selectors. Most existing low-power, low-cost, fully digital frequency band selectors are based on counters, discriminators, and state machines.

[0003] To eliminate counting and frequency discrimination errors, existing solutions employ four digital counters to count the rising edges of four orthogonal high-frequency clocks within a reference clock cycle, averaging the four counts to effectively eliminate counting errors in asynchronous clock counting. However, this method requires four sets of counting discriminators, increasing the hardware cost and power consumption of the band selector. Furthermore, when the phase-locked loop completely loses lock due to environmental disturbances, existing all-digital band selectors cannot autonomously restart the band selection operation and lack intelligent calibration features. Therefore, this patent proposes a low-cost, low-power, digital, high-precision, fully automatic band selector that requires no external manual intervention and features intelligent multi-core, multi-subband band selection. Summary of the Invention

[0004] This invention proposes a fully digital multi-core band selector based on successive approximation and automatic correction. The aim is to design a low-power, low-cost, digital multi-core band selector to supplement and enrich existing phase-locked loop band selection technology and achieve high-precision, fully automatic band selection operation.

[0005] This invention is achieved through the following technical solution:

[0006] The aforementioned all-digital multi-core band selector based on successive approximation and automatic correction includes a frequency divider, a frequency discriminator, a threshold determiner, a successive approximation module, a correction module, a trigger module, and a D flip-flop.

[0007] The frequency divider consists of D flip-flops, a 2-to-1 selector, and logic gates (inverters and AND gates); it divides the reference clock F... REF Frequency division generates 4 sets of clocks F SLOW F FD F SAR F CAL These serve as the trigger clocks for the correction module, frequency discriminator, successive approximation module, and D flip-flop, respectively.

[0008] The frequency discriminator consists of a D flip-flop, a 2-to-1 selector, and logic gates (AND gate, NAND gate, inverter); its function is to detect frequencies within a complete F-band frequency range. FD During odd-numbered clock cycles, the clock F is fed back via a counting mechanism. B The number of rising edges cnt is used to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between fixed frequencies;

[0009] The threshold determiner is composed of logic gates (AND gate, OR gate, NAND gate, NOR gate, inverter); it determines the feedback clock F by comparing the real-time count value cnt with the reference value 320. B The average frequency approximates the reference clock F. REF The degree of fixed frequency;

[0010] The successive approximation module consists of D flip-flops and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter); by generating the core selection control word CS and the coarse band selection control word SAR required for the multi-core voltage-controlled oscillator of the phase-locked loop, the center resonant frequency of the multi-core voltage-controlled oscillator is roughly calibrated.

[0011] The correction module consists of a D flip-flop, a half-adder, and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter) to correct the ±1 counting error of the frequency discriminator. By adding 1, subtracting 1, and adding 0 to the coarse band-select control word SAR, the fine band-select control word BS is generated, thereby obtaining the accurate center resonant frequency of the multi-core voltage-controlled oscillator.

[0012] The trigger module consists of MOS capacitors and logic gates (AND gates, OR gates, and inverters). When the rising edge of the external trigger signal RST or the internal trigger signal EN arrives, a high-level narrow pulse reset signal is generated to activate the all-digital multi-core band selector.

[0013] The connection relationships of the modules in the all-digital multi-core band selector based on successive approximation and automatic correction are as follows:

[0014] The 160-frequency divider is connected to the 256-frequency divider, the quadrature 2-frequency divider, and the D flip-flop. The 256-frequency divider is connected to the 160-frequency divider, the quadrature 2-frequency divider, the correction module, and the D flip-flop. The quadrature 2-frequency divider is connected to the 160-frequency divider, the 256-frequency divider, the frequency discriminator, the successive approximation module, and the D flip-flop. The frequency discriminator is connected to the quadrature 2-frequency divider, the threshold decision unit, the successive approximation module, the D flip-flop, and the trigger module. The threshold decision unit is connected to the frequency discriminator and the successive approximation module. The successive approximation module is connected to the threshold decision unit, the quadrature 2-frequency divider, the correction module, the frequency discriminator, the D flip-flop, and the trigger module. The correction module is connected to the 256-frequency divider, the successive approximation module, the D flip-flop, and the trigger module. The D flip-flop is connected to the correction module, the successive approximation module, the frequency discriminator, the 160-frequency divider, the 256-frequency divider, and the quadrature 2-frequency divider. The trigger module is connected to the frequency discriminator, the successive approximation module, and the correction module.

[0015] The operation of the all-digital multi-core band selector based on successive approximation and automatic correction specifically includes the following steps:

[0016] Step 1: Set the reference clock F REF Frequency division is performed to obtain the clock trigger signal for each module, where the reference clock F REF After frequency division by 160, the calibration clock F is obtained. CAL And sent to the clock input of the D flip-flop, so that the correction module has sufficient reset delay; calibration clock F CAL After a frequency division of 256, the low-speed clock F is obtained. SLOW And sent to the clock terminal of the calibration module, reserving sufficient response time for the phase-locked loop's locking decision module; calibration clock F CAL After orthogonal frequency division by 2, a frequency discriminator clock F with a phase difference of 90° is obtained. FD Selectable clock F SAR The signals are then sent to the clock terminals of the frequency discriminator and the successive approximation module, respectively, to ensure that the all-digital multi-core band selector operates during the parity calibration cycle.

[0017] Step 2: Detect the feedback clock F B Average frequency and reference clock F REF The degree of deviation between fixed frequencies specifically includes the following sub-steps:

[0018] Step 2.1 When the trigger module detects the rising edge of the external RST or internal EN signal, it resets the frequency discriminator and the successive approximation module. At this time, the TRIG signal is "0" and the P signal is "P". OFF When the signal is "1", the correction module is not working (selective control word BS=SAR), the phase-locked loop is open, the initial value of the verification control word CS is "01", and the initial value of the coarse selective control word SAR is "10000".

[0019] Step 2.2 Based on the core selection control word CS and the coarse band selection control word SAR, select the oscillator core and corresponding sub-band of the multi-core voltage-controlled oscillator to obtain the corresponding center resonant frequency F. VCO and its frequency-divided feedback clock F B ;

[0020] Step 2.3 The frequency discriminator operates at clock F FD Feedback clock F during odd-numbered periods B The rising edge is counted to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between the fixed frequencies is calculated, and the counting result cnt is sent to the threshold decision unit.

[0021] Step 2.4 The threshold determiner compares the real-time count value cnt with the reference value 320 to determine the feedback clock F. B The average frequency approximates the reference clock F. REF The degree of fixed frequency is determined, and the comparison results are fed into the successive approximation module;

[0022] Step 3: Determine the core selection control word CS and the coarse band selection control word SAR of the multi-core voltage-controlled oscillator, which includes the following sub-steps:

[0023] Step 3.1 At clock F SAR During even-numbered periods, based on the comparison results of the threshold arbiter, the successive approximation module uses a binary search method to approximate the coarse band-select control word SAR bit by bit, starting from the most significant bit. The initial value of SAR is "10000" (16). If cnt > 320, it indicates that the feedback clock F B The average frequency is greater than the reference clock F. REF For a fixed frequency, the current SAR value needs to be reduced by setting its highest bit to "0" and its second highest bit to "1", leaving the other bits unchanged. If cnt < 320, it indicates that the feedback clock F... B The average frequency is less than the reference clock F REF At a fixed frequency, if the current SAR value needs to be increased, its highest bit remains "1", its second highest bit is set to "1", and the other bits remain unchanged;

[0024] Step 3.2 If cnt is not equal to the reference value of 320, using the SAR value adjusted in Step 3.1, a new count result cnt can be obtained according to Steps 2.2 and 2.3. Then, referring to Step 3.1, the second most significant bit of the SAR value is determined; and so on, each bit of the SAR value is determined step by step until the count result cnt = 320; if cnt = 320, it indicates that the feedback clock F B The average frequency is equal to the reference clock F. REFAt a fixed frequency, the TRIG signal jumps to "1", the frequency discriminator and successive approximation module stop working, and output the current coarse band selection control word SAR.

[0025] Step 3.3 The initial value of the core control word CS is "01". Core 2 (VCO2) of the multi-core voltage-controlled oscillator is selected. During the bit-by-bit approximation process of SAR, if the current SAR value exceeds the preset subband boundary of the corresponding voltage-controlled oscillator core, the CS value needs to be adjusted, i.e., the CS value is incremented by 1 or decremented by 1. The subband boundaries of VCO2 and VCO3 are 3 and 29, respectively, i.e., CS is incremented by 1 when SAR≥29, or decremented by 1 when SAR≤3. The subband boundary of VCO1 is 29, i.e., CS is incremented by 1 when SAR≥29. The subband boundary of VCO4 is 3, i.e., CS is decremented by 1 when SAR≤3.

[0026] Step 3.4 Once the control word CS is updated, the SAR value must be reset to "10000" (16). Then, the new coarse sub-band control word SAR is obtained by approximating it again according to steps 3.1 and 3.2. Then, it is determined whether CS needs to be updated according to step 3.3. If the current SAR value does not exceed the preset sub-band boundary, the control word CS is output.

[0027] Step 3.5 Obtain the final core selection control word CS and the coarse band selection control word SAR. The TRIG signal jumps to "1", the phase-locked loop is closed and the correction module is activated. At the same time, the phase-locked loop locking decision module is opened.

[0028] Step 4: Determine the fine band-select control word BS for the multi-core voltage-controlled oscillator, which includes the following sub-steps:

[0029] Step 4.1 Lock the decision unit to determine the feedback clock F B Average frequency and reference clock F REF Whether the frequency difference between fixed frequencies is within the error range; if it is within the given error range, the decision result LD is "1", the loop is locked, the correction module performs an increment operation, BS=SAR, and the signal P OFF If the jump to "0", the all-digital multi-core band selector ends its operation; otherwise, if the decision result LD is "0", the loop is unlocked, and the correction module performs increment and decrement operations.

[0030] Step 4.2 If SAR > "11110", the increment operation will cause the fine band selection control word BS to overflow. In this case, there is no need to perform the increment operation, and we can skip directly to step 4.3. Otherwise, increment SAR by 1, BS = SAR + 1; BS selects a new subband for the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFFWhen the jump changes to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still unlocked, proceed to step 4.3.

[0031] Step 4.3 If SAR < "00001", the decrement operation will cause the fine band selection control word BS to overflow. In this case, the decrement operation cannot be performed, the loop is completely unlocked, and step 4.4 is executed directly. Conversely, if SAR is less than "00001", the decrement operation is performed on SAR, BS = SAR - 1; BS selects a new subband of the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFF When the jump changes to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still lost, it is considered that the phase-locked loop is completely lost, and step 4.4 is executed.

[0032] Step 4.4 When the loop is completely unlocked, the correction module outputs an EN trigger signal, which controls the trigger module to output a reset signal, forcing the all-digital multi-core band selector to automatically perform the band selection operation again, that is, to re-execute steps two, three, and four.

[0033] Beneficial effects

[0034] A fully digital multi-core band selector based on successive approximation and automatic correction has the following advantages compared with the prior art:

[0035] 1. The all-digital multi-core band selector is based on the principles of counting comparison and successive approximation. It consists of simple digital units (D flip-flops, logic gates, selectors, half-adders) and a single MOS capacitor, achieving digitalization, low cost, and low power consumption. The feedback clock F is obtained using the inherent loop divider of the phase-locked loop. B This further reduces the additional power consumption introduced by the all-digital multi-core band selector due to the need for a high-frequency divider;

[0036] 2. The all-digital multi-core band selector realizes both the 4-to-1 multi-core operation of the voltage-controlled oscillator and the 32-to-1 operation of multiple sub-bands in a single voltage-controlled oscillator, significantly widening the output frequency range of the phase-locked loop. The frequency discriminator and successive approximation module of the all-digital multi-core band selector first determine the core selection control word CS and the coarse band selection control word SAR. The correction module of the all-digital multi-core band selector then determines the fine band selection control word BS with the assistance of the phase-locked loop's locking decision module. This sequential hierarchical working mechanism ensures the accuracy and reliability of the band search.

[0037] 3. The all-digital multi-core band selector operates in the odd-even calibration cycle. The frequency discriminator operates in the odd-numbered calibration cycle to detect the frequency difference between the reference clock and the feedback clock, while the threshold decision unit and the successive approximation module operate in the even-numbered calibration cycle to correct the frequency difference between the reference clock and the feedback clock. This eliminates the frequency discrimination error caused by the response time of the multi-core voltage-controlled oscillator itself, and avoids the timing conflict caused by the simultaneous frequency difference detection and frequency difference correction.

[0038] 4. The all-digital multi-core band selector introduces a ±1 counting error correction mechanism in its calibration module. By eliminating the ±1 counting error commonly found in asynchronous clock-based frequency discriminators due to the asynchrony between the rising edges of the reference clock and the feedback clock at the start and end of the counting, it eliminates the calibration frequency deviation of the multi-core voltage-controlled oscillator, thereby achieving high-precision band selection.

[0039] 5. With the assistance of the phase-locked loop (PLL) locking decision module, the all-digital multi-core band selector can automatically perform ±1 counting error correction to help the loop enter the locked state when the PLL is unlocked, and autonomously output a trigger signal EN to reactivate the band selection operation when the loop is completely unlocked; when the loop enters the locked state, the all-digital multi-core band selector will automatically turn off to save system power consumption until the next trigger signal RST arrives, which has the characteristics of intermittent low-power operation; this fully automatic, high-precision, intermittent band selection operation mode does not require external manual intervention, and therefore also has intelligent features. Attached Figure Description

[0041] Figure 1 This is a block diagram illustrating the implementation of an all-digital multi-core band selector based on successive approximation and automatic correction according to the present invention.

[0042] Figure 2 This is a block diagram of the phase-locked loop of a fully digital multi-core band selector based on successive approximation and automatic correction according to the present invention.

[0043] Figure 3 This is a tuning curve of a multi-core voltage-controlled oscillator in a phase-locked loop of a fully digital multi-core band selector based on successive approximation and automatic correction, according to the present invention.

[0044] Figure 4 This is a flowchart of the successive approximation module of an all-digital multi-core band selector based on successive approximation and automatic correction according to the present invention;

[0045] Figure 5 This is a flowchart of the calibration module of a fully digital multi-core band selector based on successive approximation and automatic calibration according to the present invention.

[0046] Figure 6This is a circuit diagram of a frequency discriminator based on a successive approximation and automatic correction all-digital multi-core band selector according to the present invention. Detailed Implementation

[0048] The following description, in conjunction with embodiments and accompanying drawings, further illustrates and details the circuit modules and working process of the system based on the all-digital multi-core band selector of the present invention, which is based on successive approximation and automatic correction.

[0049] Example 1

[0050] A fully digital multi-core band selector based on successive approximation and automatic correction can be used for the autonomous selection of oscillator cores and their sub-bands in multi-core voltage-controlled oscillators. It features digitalization, low power consumption, low cost, high precision, high reliability, and intelligence.

[0051] The block diagram of the present invention is as follows Figure 1 As shown, the all-digital multi-core band selector based on successive approximation and automatic correction includes a frequency divider, a frequency discriminator, a threshold determiner, a successive approximation module, a correction module, a trigger module, and a D flip-flop.

[0052] The frequency divider consists of D flip-flops, a 2-to-1 selector, and logic gates (inverters and AND gates); it divides the reference clock F... REF Frequency division generates 4 sets of clocks F SLOW F FD F SAR F CAL These serve as the trigger clocks for the correction module, frequency discriminator, successive approximation module, and D flip-flop, respectively.

[0053] The frequency discriminator consists of a D flip-flop, a 2-to-1 selector, and logic gates (AND gate, NAND gate, inverter); its function is to detect frequencies within a complete F-band frequency range. FD During odd-numbered clock cycles, the clock F is fed back via a counting mechanism. B The number of rising edges cnt is used to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between fixed frequencies;

[0054] The threshold determiner is composed of logic gates (AND gate, OR gate, NAND gate, NOR gate, inverter); it determines the feedback clock F by comparing the real-time count value cnt with the reference value 320. B The average frequency approximates the reference clock F. REF The degree of fixed frequency;

[0055] The successive approximation module consists of D flip-flops and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter); by generating the core selection control word CS and the coarse band selection control word SAR required for the multi-core voltage-controlled oscillator of the phase-locked loop, the center resonant frequency of the multi-core voltage-controlled oscillator is roughly calibrated.

[0056] The correction module consists of a D flip-flop, a half-adder, and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter) to correct the ±1 counting error of the frequency discriminator. By adding 1, subtracting 1, and adding 0 to the coarse band-select control word SAR, the fine band-select control word BS is generated, thereby obtaining the accurate center resonant frequency of the multi-core voltage-controlled oscillator.

[0057] The trigger module consists of MOS capacitors and logic gates (AND gates, OR gates, and inverters). When the rising edge of the external trigger signal RST or the internal trigger signal EN arrives, a high-level narrow (50-ns) pulse reset signal is generated to activate the all-digital multi-core band selector.

[0058] The connection relationships of the modules in the all-digital multi-core band selector based on successive approximation and automatic correction are as follows:

[0059] The 160-frequency divider is connected to the 256-frequency divider, the quadrature 2-frequency divider, and the D flip-flop. The 256-frequency divider is connected to the 160-frequency divider, the quadrature 2-frequency divider, the correction module, and the D flip-flop. The quadrature 2-frequency divider is connected to the 160-frequency divider, the 256-frequency divider, the frequency discriminator, the successive approximation module, and the D flip-flop. The frequency discriminator is connected to the quadrature 2-frequency divider, the threshold decision unit, the successive approximation module, the D flip-flop, and the trigger module. The threshold decision unit is connected to the frequency discriminator and the successive approximation module. The successive approximation module is connected to the threshold decision unit, the quadrature 2-frequency divider, the correction module, the frequency discriminator, the D flip-flop, and the trigger module. The correction module is connected to the 256-frequency divider, the successive approximation module, the D flip-flop, and the trigger module. The D flip-flop is connected to the correction module, the successive approximation module, the frequency discriminator, the 160-frequency divider, the 256-frequency divider, and the quadrature 2-frequency divider. The trigger module is connected to the frequency discriminator, the successive approximation module, and the correction module.

[0060] The operation of the all-digital multi-core band selector based on successive approximation and automatic correction specifically includes the following steps:

[0061] Step A: Set the reference clock F REF Frequency division is performed to obtain the clock trigger signal for each module, where the reference clock F REF After frequency division by 160, the calibration clock F is obtained. CAL And sent to the clock input of the D flip-flop, so that the correction module has sufficient reset delay; calibration clock F CAL After a frequency division of 256, the low-speed clock F is obtained.SLOW And sent to the clock terminal of the calibration module, reserving sufficient response time for the phase-locked loop's locking decision module; calibration clock F CAL After orthogonal frequency division by 2, a frequency discriminator clock F with a phase difference of 90° is obtained. FD Selectable clock F SAR The signals are then sent to the clock terminals of the frequency discriminator and the successive approximation module, respectively, to ensure that the all-digital multi-core band selector operates during the parity calibration cycle.

[0062] Step B: Detect feedback clock F B Average frequency and reference clock F REF The degree of deviation between fixed frequencies specifically includes the following sub-steps:

[0063] Step B.1: When the trigger module detects the rising edge of the external RST or internal EN signal, it resets the frequency discriminator and the successive approximation module. At this time, the TRIG signal is "0" and the P signal is "P". OFF When the signal is "1", the correction module is not working (selective control word BS=SAR), the phase-locked loop is open, the initial value of the verification control word CS is "01", and the initial value of the coarse selective control word SAR is "10000".

[0064] Step B.2 Based on the core selection control word CS and the coarse band selection control word SAR, select the oscillator core and corresponding sub-band of the multi-core voltage-controlled oscillator to obtain the corresponding center resonant frequency F. VCO and its frequency-divided feedback clock F B ;

[0065] Step B.3 The frequency discriminator operates at clock F FD Feedback clock F during odd-numbered periods B The rising edge is counted to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between the fixed frequencies is calculated, and the counting result cnt is sent to the threshold decision unit.

[0066] Step B.4 The threshold determiner compares the real-time count value cnt with the reference value 320 to determine the feedback clock F. B The average frequency approximates the reference clock F. REF The degree of fixed frequency is determined, and the comparison results are fed into the successive approximation module;

[0067] Step C: Determine the core selection control word CS and the coarse band selection control word SAR of the multi-core voltage-controlled oscillator, which specifically includes the following sub-steps:

[0068] Step C.1 At clock F SARDuring even-numbered periods, based on the comparison results of the threshold arbiter, the successive approximation module uses a binary search method to approximate the coarse band-select control word SAR bit by bit, starting from the most significant bit. The initial value of SAR is "10000" (16). If cnt > 320, it indicates that the feedback clock F B The average frequency is greater than the reference clock F. REF For a fixed frequency, the current SAR value needs to be reduced by setting its highest bit to "0" and its second highest bit to "1", leaving the other bits unchanged. If cnt < 320, it indicates that the feedback clock F... B The average frequency is less than the reference clock F REF At a fixed frequency, if the current SAR value needs to be increased, its highest bit remains "1", its second highest bit is set to "1", and the other bits remain unchanged;

[0069] Step C.2 If cnt is not equal to the reference value of 320, using the SAR value adjusted in step C.1, a new count result cnt can be obtained according to steps B.2 and B.3. Then, referring to step C.1, the second most significant bit of the SAR value is determined; and so on, each bit of the SAR value is determined step by step until the count result cnt = 320; if cnt = 320, it indicates that the feedback clock F B The average frequency is equal to the reference clock F. REF At a fixed frequency, the TRIG signal jumps to "1", the frequency discriminator and successive approximation module stop working, and output the current coarse band selection control word SAR.

[0070] Step C.3: The initial value of the core control word CS is "01". Core 2 (VCO2) of the multi-core voltage-controlled oscillator is selected. During the bit-by-bit approximation process of SAR, if the current SAR value exceeds the preset subband boundary of the corresponding voltage-controlled oscillator core, the CS value needs to be adjusted, i.e., the CS value is incremented by 1 or decremented by 1. The subband boundaries of VCO2 and VCO3 are 3 and 29, respectively, i.e., CS is incremented by 1 when SAR≥29, or decremented by 1 when SAR≤3. The subband boundary of VCO1 is 29, i.e., CS is incremented by 1 when SAR≥29. The subband boundary of VCO4 is 3, i.e., CS is decremented by 1 when SAR≤3.

[0071] Step C.4 Once the control word CS is updated, the SAR value must be reset to "10000" (16). Then, the new coarse sub-band control word SAR is obtained by approximating it again according to steps C.1 and C.2. Then, it is determined whether CS needs to be updated according to step C.3. If the current SAR value does not exceed the preset sub-band boundary, the control word CS is output.

[0072] Step C.5 Obtain the final core selection control word CS and the coarse band selection control word SAR. The TRIG signal jumps to "1", the phase-locked loop is closed and the correction module is activated. At the same time, the phase-locked loop locking decision module is opened.

[0073] Step D: Determine the fine band-select control word BS for the multi-core voltage-controlled oscillator, which includes the following sub-steps:

[0074] Step D.1 Lock the decision unit to determine the feedback clock F B Average frequency and reference clock F REF Whether the frequency difference between fixed frequencies is within the error range; if it is within the given error range, the decision result LD is "1", the loop is locked, the correction module performs an increment operation, BS=SAR, and the signal P OFF If the jump to "0", the all-digital multi-core band selector ends its operation; otherwise, if the decision result LD is "0", the loop is unlocked, and the correction module performs increment and decrement operations.

[0075] Step D.2: If SAR > "11110", the increment operation will cause the fine band selection control word BS to overflow. In this case, there is no need to perform the increment operation, and we can directly jump to step D.3. Otherwise, increment SAR by 1, BS = SAR + 1; BS selects a new subband for the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFF When the jump is changed to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still unlocked, proceed to step D.3.

[0076] Step D.3 If SAR < "00001", the decrement operation will cause the fine band selection control word BS to overflow. In this case, the decrement operation cannot be performed, the loop is completely unlocked, and step D.4 is executed directly. Otherwise, the SAR is decremented by 1, BS = SAR - 1; BS selects a new subband of the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFF When the jump changes to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still out of lock, it is considered that the phase-locked loop is completely out of lock and step D.4 is executed.

[0077] Step D.4 When the loop is completely unlocked, the correction module outputs an EN trigger signal, which controls the trigger module to output a reset signal, forcing the all-digital multi-core band selector to automatically perform the band selection operation again, that is, to re-execute steps B, C, and D.

[0078] Example 2

[0079] The overall circuit block diagram of the phase-locked loop is as follows: Figure 2As shown, the phase-locked loop (PLL) consists of a frequency and phase detector, a charge pump, a low-pass filter, a 2-to-1 selector, a multi-core voltage-controlled oscillator (VCO), a loop divider, a lockout decision unit, and a fully digital multi-core band selector. The multi-core VCO contains four independent oscillator cores and one RF 4-to-1 selector. A 2-bit core selection control word CS selects the operating oscillator core, and a 5-bit fine band selection control word BS selects a specific sub-band within that oscillator core. Utilizing the PLL's inherent loop divider, the feedback clock F... B The average frequency approximates the reference clock F REF The fixed frequency is used to determine the core selection control word and the fine band selection control word, thereby adjusting the center resonant frequency F of the multi-core voltage-controlled oscillator required for phase-locked loop locking. VCO .

[0080] When the rising edge of the external trigger signal RST arrives, the TRIG signal first disconnects the phase-locked loop, and the input tuning voltage V of the voltage-controlled oscillator... tune Fixed at the common-mode voltage, the all-digital multi-core band selector first determines the core selection control word CS and the coarse band selection control word; then the TRIG signal closes the phase-locked loop, and based on the LD signal output by the lock decision module, the all-digital multi-core band selector determines the fine band selection control word BS; finally, based on the updated LD signal, it decides whether to restart or shut down the all-digital multi-core band selector again until the next trigger signal RST arrives.

[0081] The tuning curve of the multi-core voltage-controlled oscillator is shown in the figure. Figure 3 As shown, four independent voltage-controlled oscillator (VCO1~VCO4) cores are configured with different numbers of subbands: theoretically, each oscillator core has 32 (0~31) subbands, but considering the high overlap rate of the tuning curves and the optimization of the band selection operation time, subband boundaries of 3 and 29 are set; therefore, VCO1 contains 29 (0~28) subbands, VCO2 and VCO3 each contain 25 (4~28) subbands, and VCO4 contains 28 (4~31) subbands. The high 2 bits of the 7-bit control word are the core selection control word to select different VCO cores, and the low 5 bits are the fine band selection control word to determine a specific subband corresponding to a specific oscillator core. The center resonant frequency of the VCO within a single subband changes monotonically with the input tuning voltage. High overlap frequency overlap intervals are reserved between adjacent subbands and between adjacent oscillator cores to achieve blind-zone-free wide-range frequency tuning and corresponding high-precision band selection.

[0082] The workflow diagram of the successive approximation module is as follows: Figure 4As shown. After the rising edge of the EN or RST signal arrives, the initial value of the core selection control word CS is reset to "01" and oscillator core 2 (VCO2) is selected. The initial value of the coarse band selection control word SAR is reset to "10000" (16). The TRIG signal is reset to disconnect the phase-locked loop. Then, based on the binary method, the bit-by-bit traversal is performed. By continuously comparing the frequency discrimination count value cnt with the reference value (320), the SAR value is approximated bit by bit starting from the highest bit. That is, each bit of the 5-bit SAR value is set or reset to confirm until cnt=320 or the least bit is traversed. During the bit-by-bit approximation process, if the current SAR value exceeds the preset sub-band boundary of the corresponding oscillator core, the CS value is incremented or decremented by 1 to switch to the next oscillator core, and the SAR value is reset to "10000" (16). Then, the SAR value is approximated bit by bit again. Finally, the core selection control word CS and the coarse band selection control word SAR are obtained and the TRIG signal is set to close the phase-locked loop.

[0083] The workflow diagram of the calibration module is as follows: Figure 5 As shown. After the successive approximation module finishes its operation, the phase-locked loop (PLL) closes, simultaneously activating the correction module and enabling the PLL's locking decision module. The fine band selection control word BS is initially set to the SAR value. Then, based on the LD signal output by the PLL locking decision module, +1 / -1 / +0 error correction is performed. If LD is "1", the loop is locked, and the correction module performs a +0 operation, i.e., outputting BS=SAR. Conversely, the loop is temporarily unlocked. Without overflow, two rounds of operations are performed sequentially: BS=SAR+1 and BS=SAR-1. If LD is still "0" after these two rounds, the loop is completely unlocked, and the correction module outputs an EN trigger reset signal, forcing the all-digital multi-core band selector to automatically perform the band selection operation again.

[0084] The circuit diagram of the frequency discriminator is as follows: Figure 6 As shown, it consists of a 9-bit synchronous counter, a 9-bit output latch, and a logic control unit, containing a total of 19 D flip-flops, 17 2-to-1 selectors, 11 AND gates, 1 NAND gate, and 11 inverters. When the TRIG signal is "0" and the counting result has not overflowed (S is "1"), the clock F... FD Feedback clock F during odd-numbered periods B The count increments by 1 on the rising edge of clock F. FD The count result cnt is output during even-numbered periods. The frequency discriminator is turned off when the TRIG signal is "1", and the self-incrementing count is stopped when the count result is about to overflow.

[0085] The above description is merely a preferred embodiment of the present invention, and the present invention should not be limited to the content disclosed in this embodiment and the accompanying drawings. Any equivalent or modified embodiments made without departing from the spirit of the present invention fall within the scope of protection of the present invention.

Claims

1. A fully digital multi-core band selector based on successive approximation and automatic correction, characterized in that: The circuit architecture consists of a frequency divider, a frequency discriminator, a threshold detector, a successive approximation module, a correction module, a trigger module, and a D flip-flop. The frequency divider consists of D flip-flops, a 2-to-1 selector, and logic gates (inverters and AND gates); it divides the reference clock F... REF Frequency division generates 4 sets of clocks F SLOW F FD F SAR F CAL These serve as the trigger clocks for the correction module, frequency discriminator, successive approximation module, and D flip-flop, respectively. The frequency discriminator consists of a D flip-flop, a 2-to-1 selector, and logic gates (AND gate, NAND gate, inverter); its function is to detect frequencies within a complete F-band frequency range. FD During odd-numbered clock cycles, the clock F is fed back via a counting mechanism. B The number of rising edges cnt is used to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between fixed frequencies; The threshold determiner is composed of logic gates (AND gate, OR gate, NAND gate, NOR gate, inverter); it determines the feedback clock F by comparing the real-time count value cnt with the reference value 320. B The average frequency approximates the reference clock F. REF The degree of fixed frequency; The successive approximation module consists of D flip-flops and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter); by generating the core selection control word CS and the coarse band selection control word SAR required for the multi-core voltage-controlled oscillator of the phase-locked loop, the center resonant frequency of the multi-core voltage-controlled oscillator is roughly calibrated. The correction module consists of D flip-flops, half-adders, and logic gates (XOR gate, AND gate, OR gate, NAND gate, NOR gate, inverter) to correct the ±1 counting error of the frequency discriminator. By adding 1, subtracting 1, and adding 0 to the coarse band-select control word SAR, the fine band-select control word BS is generated, thereby obtaining the accurate center resonant frequency of the multi-core voltage-controlled oscillator. The trigger module consists of MOS capacitors and logic gates (AND gates, OR gates, and inverters); when the rising edge of the external trigger signal RST or the internal trigger signal EN arrives, a high-level narrow pulse reset signal is generated to activate the all-digital multi-core band selector. The connection relationships of the modules in the all-digital multi-core band selector based on successive approximation and automatic correction are as follows: The 160-frequency divider is connected to the 256-frequency divider, the quadrature 2-frequency divider, and the D flip-flop. The 256-frequency divider is connected to the 160-frequency divider, the quadrature 2-frequency divider, the correction module, and the D flip-flop. The quadrature 2-frequency divider is connected to the 160-frequency divider, the 256-frequency divider, the frequency discriminator, the successive approximation module, and the D flip-flop. The frequency discriminator is connected to the quadrature 2-frequency divider, the threshold decision unit, the successive approximation module, the D flip-flop, and the trigger module. The threshold decision unit is connected to the frequency discriminator and the successive approximation module. The successive approximation module is connected to the threshold decision unit, the quadrature 2-frequency divider, the correction module, the frequency discriminator, the D flip-flop, and the trigger module. The correction module is connected to the 256-frequency divider, the successive approximation module, the D flip-flop, and the trigger module. The D flip-flop is connected to the correction module, the successive approximation module, the frequency discriminator, the 160-frequency divider, the 256-frequency divider, and the quadrature 2-frequency divider. The trigger module is connected to the frequency discriminator, the successive approximation module, and the correction module. The operation of the all-digital multi-core band selector based on successive approximation and automatic correction specifically includes the following steps: Step 1: Set the reference clock F REF Frequency division is performed to obtain the clock trigger signal for each module, where the reference clock F REF After frequency division by 160, the calibration clock F is obtained. CAL And sent to the clock input of the D flip-flop, so that the correction module has sufficient reset delay; calibration clock F CAL After a frequency division of 256, the low-speed clock F is obtained. SLOW And sent to the clock terminal of the calibration module, reserving sufficient response time for the phase-locked loop's locking decision module; calibration clock F CAL After orthogonal frequency division by 2, a frequency discriminator clock F with a phase difference of 90° is obtained. FD Selectable clock F SAR The signals are then sent to the clock terminals of the frequency discriminator and the successive approximation module, respectively, to ensure that the all-digital multi-core band selector operates during the parity calibration cycle. Step 2: Detect the feedback clock F B Average frequency and reference clock F REF The degree of deviation between fixed frequencies specifically includes the following sub-steps: Step 2.1 When the trigger module detects the rising edge of the external RST or internal EN signal, it resets the frequency discriminator and the successive approximation module. At this time, the TRIG signal is "0" and the P signal is "P". OFF The signal is "1", the correction module is not working (selective control word BS=SAR), the phase-locked loop is open, the initial value of the verification control word CS is "01", and the initial value of the coarse selective control word SAR is "10000". Step 2.2 Based on the core selection control word CS and the coarse band selection control word SAR, select the oscillator core and corresponding sub-band of the multi-core voltage-controlled oscillator to obtain the corresponding center resonant frequency F. VCO and its frequency-divided feedback clock F B ; Step 2.3 The frequency discriminator operates at clock F FD Feedback clock F during odd-numbered periods B The rising edge is counted to evaluate the feedback clock F. B Average frequency and reference clock F REF The deviation between the fixed frequencies is calculated, and the counting result cnt is sent to the threshold decision unit. Step 2.4 The threshold determiner compares the real-time count value cnt with the reference value 320 to determine the feedback clock F. B The average frequency approximates the reference clock F. REF The degree of fixed frequency is determined, and the comparison results are fed into the successive approximation module; Step 3: Determine the core selection control word CS and the coarse band selection control word SAR of the multi-core voltage-controlled oscillator, which includes the following sub-steps: Step 3.1 At clock F SAR During even-numbered periods, based on the comparison results of the threshold arbiter, the successive approximation module uses a binary search method to approximate the coarse band-select control word SAR bit by bit, starting from the most significant bit. The initial value of SAR is "10000" (16). If cnt > 320, it indicates that the feedback clock F B The average frequency is greater than the reference clock F. REF For a fixed frequency, the current SAR value needs to be reduced by setting its highest bit to "0" and its second highest bit to "1", leaving the other bits unchanged. If cnt < 320, it indicates that the feedback clock F... B The average frequency is less than the reference clock F REF At a fixed frequency, if the current SAR value needs to be increased, its highest bit remains "1", its second highest bit is set to "1", and the other bits remain unchanged; Step 3.2 If cnt is not equal to the reference value of 320, using the SAR value adjusted in Step 3.1, a new count result cnt can be obtained according to Steps 2.2 and 2.

3. Then, referring to Step 3.1, the second most significant bit of the SAR value is determined; and so on, each bit of the SAR value is determined step by step until the count result cnt = 320; if cnt = 320, it indicates that the feedback clock F B The average frequency is equal to the reference clock F. REF At a fixed frequency, the TRIG signal jumps to "1", the frequency discriminator and successive approximation module stop working, and output the current coarse band selection control word SAR. Step 3.3 The initial value of the core control word CS is "01". Core 2 (VCO2) of the multi-core voltage-controlled oscillator is selected. During the bit-by-bit approximation process of SAR, if the current SAR value exceeds the preset subband boundary of the corresponding voltage-controlled oscillator core, the CS value needs to be adjusted, i.e., the CS value is incremented by 1 or decremented by 1. The subband boundaries of VCO2 and VCO3 are 3 and 29, respectively, i.e., CS is incremented by 1 when SAR≥29, or decremented by 1 when SAR≤3. The subband boundary of VCO1 is 29, i.e., CS is incremented by 1 when SAR≥29. The subband boundary of VCO4 is 3, i.e., CS is decremented by 1 when SAR≤3. Step 3.4 Once the control word CS is updated, the SAR value must be reset to "10000" (16). Then, the new coarse sub-band control word SAR is obtained by approximating it again according to steps 3.1 and 3.

2. Then, it is determined whether CS needs to be updated according to step 3.

3. If the current SAR value does not exceed the preset sub-band boundary, the control word CS is output. Step 3.5 Obtain the final core selection control word CS and the coarse band selection control word SAR. The TRIG signal jumps to "1", the phase-locked loop is closed and the correction module is activated. At the same time, the phase-locked loop locking decision module is opened. Step 4: Determine the fine band-select control word BS for the multi-core voltage-controlled oscillator, which includes the following sub-steps: Step 4.1 Lock the decision unit to determine the feedback clock F B Average frequency and reference clock F REF The frequency difference between fixed frequencies is checked against the error range. If it is within the given error range, the decision result LD is "1", the loop is locked, the correction module performs a 0 increment operation, BS=SAR, and signal P... OFF If the jump to "0", the all-digital multi-core band selector ends its operation; otherwise, if the decision result LD is "0", the loop is unlocked, and the correction module performs increment and decrement operations. Step 4.2 If SAR > "11110", the increment operation will cause the fine band selection control word BS to overflow. In this case, there is no need to perform the increment operation, and we can skip directly to step 4.

3. Otherwise, increment SAR by 1, BS = SAR + 1; BS selects a new subband of the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFF When the jump value changes to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still unlocked, proceed to step 4.

3. Step 4.3 If SAR < "00001", the decrement operation will cause the fine band selection control word BS to overflow. In this case, the decrement operation cannot be performed, the loop is completely unlocked, and step 4.4 is executed directly. Conversely, if SAR is not 00001, the decrement operation is performed on SAR, BS = SAR - 1; BS selects a new subband of the multi-core voltage-controlled oscillator and obtains a new feedback clock F. B Then, a loop lock determination is performed. If the loop is locked at this point, signal P... OFF When the jump changes to "0", the all-digital multi-core band selector ends its operation and outputs the fine band selection control word BS. If the loop is still out of lock, it is considered that the phase-locked loop is completely out of lock and step 4.4 is executed. Step 4.4 When the loop is completely unlocked, the correction module outputs an EN trigger signal, which controls the trigger module to output a reset signal, forcing the all-digital multi-core band selector to automatically perform the band selection operation again, that is, to re-execute steps two, three, and four.

2. The all-digital multi-core band selector based on successive approximation and automatic correction according to claim 1, characterized in that: The all-digital multi-core band selector consists of simple digital units (D flip-flops, logic gates, selectors, half-adders) and a single MOS capacitor, achieving digitalization, low cost, and low power consumption. It is based on the principles of counting comparison and successive approximation, utilizing the inherent loop divider of a phase-locked loop (PLL). The feedback clock F... B The average frequency approximates the reference clock F REF The fixed frequency is then used to determine the core selection control word CS and the fine band selection control word BS, thereby adjusting the center resonant frequency of the multi-core voltage-controlled oscillator required for phase-locked loop locking.

3. The all-digital multi-core band selector based on successive approximation and automatic correction according to claim 1, characterized in that: Multi-core band selection not only realizes the 4-to-1 operation of multi-core voltage-controlled oscillators, but also realizes the 32-to-1 operation of multiple sub-bands in a single voltage-controlled oscillator; for multi-core voltage-controlled oscillators with open-loop operation and phase-locked loop, the frequency discriminator and successive approximation module of the all-digital multi-core band selector first determine the core selection control word CS and the coarse band selection control word SAR. With the assistance of the phase-locked loop locking decision module in closed-loop operation, the correction module of the all-digital multi-core band selector then determines the fine band selection control word BS.

4. The all-digital multi-core band selector based on successive approximation and automatic correction according to claim 1, characterized in that: Considering the response time of the multi-core voltage-controlled oscillator of the phase-locked loop, the all-digital multi-core band selector operates in the odd-even calibration cycle. The frequency discriminator operates in the odd-numbered calibration cycle to detect the frequency difference between the reference clock and the feedback clock, while the threshold determiner and the successive approximation module operate in the even-numbered calibration cycle to correct the frequency difference between the reference clock and the feedback clock. This also avoids timing conflicts caused by simultaneous frequency difference detection and correction. After quadrature division by 2, a frequency F with a phase difference of 90° is obtained. FD and F SAR Clock, in F FD During odd-numbered clock cycles, the frequency discriminator performs frequency error detection at F. SAR The even-numbered clock cycles are used to successively approximate the resonant frequency of the multi-core voltage-controlled oscillator to correct the frequency difference.

5. A fully digital multi-core band selector based on successive approximation and automatic correction according to claim 1, characterized in that: Because the rising edges of the reference clock and the feedback clock are out of sync at the start and end of the counting, frequency discriminators based on asynchronous clock counting generally have a ±1 counting error, which in turn causes calibration frequency deviation. Therefore, the correction module of the all-digital multi-core band selector introduces a ±1 counting error correction mechanism. With the assistance of the phase-locked loop locking decision module, high-precision band selection is achieved by incrementing, decrementing, or incrementing the coarse band selection control word SAR output by the successive approximation module.

6. The all-digital multi-core band selector based on successive approximation and automatic correction according to claim 1, characterized in that: With the assistance of the phase-locked loop (PLL) locking decision module, the all-digital multi-core band selector can automatically perform ±1 counting error correction when the PLL is unlocked, to help the loop enter the locked state; and when the loop is completely unlocked, it can autonomously output a trigger signal EN to reactivate the band selection operation; and when the loop enters the locked state, the all-digital multi-core band selector will automatically turn off to save system power consumption until the next trigger signal RST arrives.