Control method of frequency synthesizer and frequency synthesizer
By dividing the oscillator frequency range of the frequency synthesizer into multiple sub-segments and adjusting the feedback resistance of the loop filter according to the target frequency, the problem of bandwidth changes in the frequency synthesizer within the large tuning range is solved, and bandwidth stability is achieved and frequency coverage extension.
Patent Information
- Application Number
- CN202411111048.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-12
AI Technical Summary
When the frequency tuning range of existing frequency synthesizers increases, the loop bandwidth changes greatly, making it difficult to take into account the system requirements of frequency range as low as 100MHz and phase noise, spurious and other indicators, especially when using a single op amp. In the active loop filter circuit scheme.
By dividing the total frequency range of the oscillator into multiple frequency sub-segments, and adjusting the feedback resistance of the loop filter to the corresponding target resistance value according to the frequency sub-segments where the target frequency is located, driving the oscillator output to lock The open-loop transfer function coefficient of the phase loop system remains constant, thereby maintaining the bandwidth stability.
It realizes the stability of loop bandwidth within a large tuning range, avoids the impact of locking time and phase noise caused by bandwidth fluctuations, and improves the performance and competitiveness of the frequency synthesizer.
Smart Images

Figure CN118944663A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of frequency synthesizers, and in particular to a control method of a frequency synthesizer and a frequency synthesizer. Background Art
[0002] At present, due to process limitations, it is difficult for companies that provide frequency synthesizer chips to simultaneously cover frequencies from as low as 100MHz to the operating frequency range of cellular systems while meeting system requirements for key indicators such as phase noise and spurious signals. This is especially true in the case of active loop filter circuits using a single op amp. As the frequency tuning range increases, the stability of the loop and the loop bandwidth vary greatly within the entire range, which is not conducive to locking and suppressing in-band or out-of-band phase noise. Summary of the invention
[0003] The main purpose of the present invention is to provide a control method of a frequency synthesizer and a frequency synthesizer, aiming to achieve a large tuning range of the frequency synthesizer while stabilizing the loop bandwidth.
[0004] To achieve the above object, the present invention provides a control method for a frequency synthesizer, wherein the frequency synthesizer includes a phase-locked loop system having a loop filter and an oscillator, wherein the feedback resistance of the loop filter is adjustable, and the oscillator has a plurality of frequency sub-segments, and the method includes:
[0005] If an adjustment instruction is detected, determining a corresponding frequency sub-segment according to the target frequency represented by the adjustment instruction;
[0006] adjusting the feedback resistor according to a first target resistance value corresponding to the frequency sub-band;
[0007] Controlling the loop filter to drive the oscillator to operate according to the adjusted feedback resistance;
[0008] The first target resistance value is obtained after calibration according to the phase noise curve corresponding to the frequency sub-segment and the target loop bandwidth.
[0009] In some embodiments, before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further includes:
[0010] In each of the frequency sub-segments, a corresponding current phase noise curve is obtained, and the feedback resistor is calibrated according to a preset target loop bandwidth and the current phase noise curve.
[0011] In some embodiments, the calibrating the feedback resistor according to the preset target loop bandwidth and the current phase noise curve includes:
[0012] Calculating a first frequency range according to the target loop bandwidth;
[0013] Acquiring curve parameter information of the phase noise curve within the first frequency range;
[0014] The current resistance value is feedback-adjusted according to the curve parameter information until a frequency peak is determined to appear within the first frequency range, thereby obtaining the first target resistance value.
[0015] In some embodiments, the feedback adjustment of the current resistance value according to the curve parameter information includes:
[0016] When the curve parameter information indicates that the phase noise curve gradually increases within the first frequency range, the current resistance value is gradually reduced;
[0017] When the curve parameter information indicates that the phase noise curve gradually decreases within the first frequency range, the current resistance value is increased step by step.
[0018] In some embodiments, the frequency synthesizer further includes a phase detector connected to the loop filter, and before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further includes:
[0019] Obtaining a second target resistance value corresponding to the frequency sub-band;
[0020] controlling the phase detector to output a maximum pump current to the loop filter, and adjusting the feedback resistor based on the second target resistance value;
[0021] Wherein, the second target resistance value is obtained after feedback adjustment according to the center frequency point of the frequency sub-band;
[0022] The adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-segment further comprises:
[0023] When the output frequency of the oscillator reaches the center frequency point, the feedback resistor is adjusted according to a first target resistance value corresponding to the frequency sub-band.
[0024] In some embodiments, before obtaining the second target resistance value corresponding to the frequency sub-band, the method further includes:
[0025] In each of the frequency sub-segments, a center frequency point of the frequency sub-segment is obtained, and feedback adjustment is performed on the feedback resistor according to the output frequency of the oscillator and the center frequency point.
[0026] In some embodiments, the feedback adjustment of the feedback resistor according to the output frequency of the oscillator and the center frequency includes:
[0027] controlling the phase detector to output a maximum pump current to the loop filter;
[0028] According to the center frequency point, the current resistance value of the feedback resistor is feedback-adjusted until it is determined that the output frequency of the oscillator reaches the center frequency point, thereby obtaining the second target resistance value.
[0029] In some embodiments, before determining the frequency sub-segment according to the target frequency represented by the adjustment instruction if the adjustment instruction is detected, the method further includes:
[0030] According to preset oscillator driving parameters, the total output frequency range of the oscillator is processed into a plurality of the frequency sub-segments.
[0031] In some embodiments, the loop filter comprises:
[0032] An operational amplifier, comprising a power pin, a positive phase input pin, a negative phase input pin and an output pin, wherein the power pin is used to connect to a power source, the positive phase input pin is used to connect to a phase difference adjustment signal, and the output pin is connected to an input end of the oscillator;
[0033] A feedback resistor is connected in parallel between the inverting input pin and the output pin, and a controlled end of the feedback resistor is used to access a resistance adjustment signal;
[0034] A first resistor is connected in series between the inverting input pin and ground.
[0035] In some embodiments, the loop filter further comprises:
[0036] A second resistor, a first end of the second resistor is connected to the non-phase input pin;
[0037] a third resistor and a fourth resistor, wherein a first end of the third resistor is connected to the output pin, a second end of the third resistor is connected to a first end of the fourth resistor, and a second end of the fourth resistor is connected to an input end of the oscillator;
[0038] A first capacitor is connected in series between the positive phase input pin and the ground;
[0039] A second capacitor connected in series between the second end of the second resistor and ground;
[0040] a third capacitor and a fourth capacitor, wherein the third capacitor is connected in series between the second end of the third resistor and the ground, and the fourth capacitor is connected in series between the second end of the fourth resistor and the ground;
[0041] A fifth capacitor is connected in series between the inverting input pin and ground.
[0042] The present invention also provides a frequency synthesizer, comprising a phase-locked loop system having a loop filter and an oscillator, and a controller;
[0043] The controller is used in the above-mentioned control method.
[0044] The present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method for controlling a frequency synthesizer are implemented.
[0045] The technical solution of the present invention divides the total frequency range of the oscillator into multiple frequency sub-segments, and adjusts the feedback resistance of the loop filter to a corresponding first target resistance value according to the frequency sub-segment where the target frequency is located, and drives the oscillator output, so that when the loop filter works in each frequency sub-segment, the coefficient of the open-loop transfer function of the phase-locked loop system remains constant. Since the phase-locked loop system can keep the bandwidth stable when the coefficient of its open-loop transfer function is a constant, the feedback resistance of the loop filter is adjusted according to the frequency sub-segment where the target frequency is located, so that the bandwidth of the phase-locked loop system can be kept stable within the total output frequency range, thereby avoiding the influence on the locking time and phase noise due to the large bandwidth fluctuation range. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0047] Figure 1 A schematic flow chart of an embodiment of a method for controlling a frequency synthesizer of the present invention;
[0048] Figure 2 is a flow chart of step S400 in the present invention;
[0049] Figure 3 A flow chart of another embodiment of a method for controlling a frequency synthesizer of the present invention;
[0050] Figure 4 is a flow chart of step S600 in the present invention;
[0051] Figure 5 It is a schematic diagram of the structure of the phase-locked loop system in the present invention;
[0052] Figure 6 is a schematic diagram of the structure of the loop filter in the present invention;
[0053] Figure 7 It is a schematic diagram of a phase noise curve corresponding to a frequency sub-segment in the present invention.
[0054] Description of Figure Numbers:
[0055] Label name Label name 810 Phase detector 920 Controller 820 Loop Filter U1 Operational Amplifier 830 Oscillator Ra Feedback resistor 840 Crossover R1~R4 The first resistor to the fourth resistor 910 Crystal Oscillator C1~C5 The first capacitor to the fifth capacitor
[0056] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0059] The invention provides a control method for a frequency synthesizer.
[0060] At present, active loop filtering can be used to increase the control voltage of the oscillator, thereby increasing the coverage range of the oscillator output frequency. The active part involved in this method is generally composed of an operational amplifier, which has a compact and simple structure and a small area. Selecting an appropriate operational amplifier and properly adjusting the third and fourth order passive filtering parts can greatly reduce the impact of the noise introduced by the operational amplifier on the output signal of the frequency synthesizer chip.
[0061] However, the frequency divider has a large variation range, the tuning sensitivity of the oscillator has nonlinear characteristics, and the mismatch of the source and sink currents output by the phase detector and other factors will cause the loop bandwidth to vary greatly over the entire frequency range, affecting the locking time and the in-band and out-of-band phase noise characteristics. In addition, the existing active loop filter mainly includes a combination of current source and triode. This solution has a complex circuit and occupies a large area due to the large number of discrete devices, which will increase the cost. Even because the consistency and stability are usually not as good as the integrated operational amplifier solution, there are still problems such as locking time and phase noise.
[0062] The existence of these problems will affect the RF performance and competitiveness of the entire product. Although the locking time can be shortened by adding an external fast lock circuit, for systems with strict frequency tolerance requirements, the locking time still depends largely on the loop bandwidth, and adding an external fast lock circuit is at the expense of area and increasing the number of components, which will also lead to a large occupied area and increased costs. There are also solutions to maintain a basically constant loop bandwidth by configuring different pump currents, but the adjustment range is limited, and when the pump current is adjusted to a larger value, the spurious caused by the current mismatch phenomenon cannot be ignored, which also affects the performance of the transceiver system and the competitiveness of the product.
[0063] Reference Figure 1 In one embodiment, the frequency synthesizer comprises a phase-locked loop system having a loop filter and an oscillator, wherein the feedback resistance of the loop filter is adjustable, and the oscillator has a plurality of frequency sub-bands, and the method comprises:
[0064] S100, if an adjustment instruction is detected, determining a corresponding frequency sub-segment according to a target frequency represented by the adjustment instruction;
[0065] In this embodiment, a controller is also provided in the frequency synthesizer for communicating with an external interaction module to receive adjustment instructions output by a user. The adjustment instructions are control information output by the user end, including the target frequency to be output by the phase-locked loop system.
[0066] In the controller, the total output frequency range of the oscillator is divided into a plurality of frequency sub-segments according to the device parameters of the oscillator in different frequency bands (such as driving voltage, coordination sensitivity, etc.), so that the gain of the loop filter driving the oscillator to work remains consistent in each frequency sub-segment. Therefore, after receiving the adjustment instruction, the controller needs to match the target frequency with the plurality of frequency sub-segments one by one to determine the frequency sub-segment when the oscillator outputs the target frequency.
[0067] S200, adjusting the feedback resistor according to a first target resistance value corresponding to the frequency sub-band;
[0068] In this embodiment, the frequency synthesizer is composed of a phase-locked loop system, in which the open-loop transfer function is a key factor in determining the frequency response and bandwidth of the system. In order to keep the bandwidth stable, it is necessary to keep the coefficient or gain of the open-loop transfer function constant within the bandwidth range. In the open-loop transfer function of the phase-locked loop system, the only parts whose transfer functions may change are the loop filter, the frequency divider and the oscillator, and the frequency division ratio of the frequency divider is determined by the oscillator and is a known quantity. Therefore, when the transfer function of the oscillator changes due to the frequency sub-segment of the output, it is only necessary to adjust the transfer function of the loop filter.
[0069] It should be noted that if Figure 5 and Figure 6 As shown, the loop filter comprises:
[0070] The operational amplifier U1 includes a power pin, a positive phase input pin, a negative phase input pin and an output pin, wherein the power pin is used to connect to the power supply, the positive phase input pin is used to connect to the phase difference adjustment signal, and the output pin is connected to the input end of the oscillator 830;
[0071] A feedback resistor Ra is connected in parallel between the inverting input pin and the output pin, and a controlled end of the feedback resistor Ra is used to access a resistance adjustment signal;
[0072] The first resistor R1 is connected in series between the inverting input pin and the ground.
[0073] In some embodiments, the loop filter 820 further includes:
[0074] A second resistor R2, wherein a first end of the second resistor R2 is connected to the non-phase input pin;
[0075] a third resistor R3 and a fourth resistor R4, wherein a first end of the third resistor R3 is connected to the output pin, a second end of the third resistor R3 is connected to a first end of the fourth resistor R4, and a second end of the fourth resistor R4 is connected to an input end of the oscillator 830;
[0076] A first capacitor C1 is connected in series between the positive phase input pin and the ground;
[0077] A second capacitor C2, connected in series between the second end of the second resistor R2 and ground;
[0078] a third capacitor C3 and a fourth capacitor C4, wherein the third capacitor C3 is connected in series between the second end of the third resistor R3 and the ground, and the fourth capacitor C4 is connected in series between the second end of the fourth resistor R3 and the ground;
[0079] A fifth capacitor C5 is connected in series between the inverting input pin and the ground.
[0080] Among them, the first resistor R1 is the input resistor of the loop filter, and its resistance value is fixed. When the transfer function of the loop filter 820 is related to its gain, and the gain is determined by its input resistance and the feedback resistor Ra, it is only necessary to set the feedback resistor Ra as an adjustable resistor, and adjust the resistance value of the adjustable resistor according to the frequency sub-band of the target frequency to be output, so that the coefficient of the open-loop transfer function is a constant.
[0081] S300, controlling the loop filter to drive the oscillator to operate according to the adjusted feedback resistance;
[0082] The first target resistance value is obtained after calibration according to the phase noise curve corresponding to the frequency sub-segment and the target loop bandwidth.
[0083] In this embodiment, if the phase-locked loop system is to always keep the bandwidth stable within the total output frequency range, it is necessary to keep the coefficients of the open-loop transfer function in each frequency sub-band constant.
[0084] In order to keep the coefficient of the open-loop transfer function of the phase-locked loop system constant at all times, it is necessary to pre-store multiple calibrated first target resistance values in the controller, and when the phase-locked loop system is working normally, output a corresponding resistance adjustment signal to the feedback resistor according to the frequency sub-segment corresponding to the received adjustment instruction, so as to adjust the resistance of the feedback resistor to the corresponding first target resistance value.
[0085] Since the first target resistance value is obtained after calibration based on the phase noise curve corresponding to the frequency sub-segment and the target loop bandwidth, the loop filter can control the coefficient of the open-loop transfer function of the phase-locked loop system to be a constant within each frequency sub-segment, that is, within each frequency sub-segment, the controller can adjust the feedback resistance of the loop filter so that when the oscillator is driven to work, the bandwidth of the entire phase-locked loop system remains stable, thereby avoiding the influence on the locking time and phase noise caused by the large bandwidth fluctuation range.
[0086] The technical solution of the present invention divides the total frequency range of the oscillator into multiple frequency sub-segments, and adjusts the feedback resistance of the loop filter to a corresponding first target resistance value according to the frequency sub-segment where the target frequency is located, and drives the oscillator output, so that when the loop filter works in each frequency sub-segment, the coefficient of the open-loop transfer function of the phase-locked loop system remains constant. Since the phase-locked loop system can keep the bandwidth stable when the coefficient of its open-loop transfer function is a constant, the feedback resistance of the loop filter is adjusted according to the frequency sub-segment where the target frequency is located, so that the bandwidth of the phase-locked loop system can be kept stable within the total output frequency range, thereby avoiding the influence on the locking time and phase noise due to the large bandwidth fluctuation range.
[0087] In one embodiment, before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further includes:
[0088] S400: In each of the frequency sub-segments, obtain a corresponding current phase noise curve, and calibrate the feedback resistor according to a preset target loop bandwidth and the current phase noise curve.
[0089] In this embodiment, each phase-locked loop system can first estimate a bandwidth value according to the system indicators, and then calculate the loop parameters (such as resistance, capacitance, etc.) according to the bandwidth value, and then actually check whether the system indicators are met (such as phase noise, whether the locking time meets the requirements, etc.), and set the bandwidth value that meets the system indicators to Mc, and Mc is the expected bandwidth of the phase-locked loop system.
[0090] Specifically, since the tuning sensitivity Kvco of an oscillator with a large tuning range is difficult to keep constant within the entire frequency range, the total output frequency range is divided into several frequency sub-segments, such as the first segment f1-f2, the second segment f2-f3...fn-1-fn. The purpose of such division is to ensure that the tuning sensitivity of the oscillator is basically constant within each frequency sub-segment, and the tuning sensitivity corresponding to each frequency sub-segment is recorded as K1vco, K2vco...Kn-1vco, where K1vco corresponds to the f1-f2 frequency band, K2vco corresponds to the f2-f3 frequency band, and so on, Kn-1vco corresponds to the fn-1-fn frequency band.
[0091] It should be noted that in the entire phase-locked loop system, if Figure 5 As shown, it includes a phase detector 810, a loop filter 820 and an oscillator 830 connected in sequence, and a frequency divider 840 connected in series between an input end of the phase detector 810 and an output end of the oscillator 830. The other input end of the phase detector 810 is used to access a crystal oscillator 910. The crystal oscillator 910 is arranged in a frequency synthesizer to output a reference frequency to the phase detector 810.
[0092] In each frequency sub-segment, the frequency divider 840 corresponds to a maximum frequency division ratio Nmax and a minimum frequency division ratio Nmin. For simplicity, the geometric mean value can be used to replace the frequency division ratio N of the segment. That is, in each frequency sub-segment, the frequency division ratio N is simplified to the following relationship:
[0093]
[0094] Based on this, the reference frequency and the output frequency of the oscillator 830 satisfy the following relationship:
[0095]
[0096] Wherein, Fref is the reference frequency output by the crystal oscillator 910 , Fvco is the output frequency of the oscillator 830 , and N is the frequency division ratio of the frequency divider 840 .
[0097] At this point, the open-loop transfer function of the phase-locked loop system is:
[0098]
[0099] Among them, G(j·ω) is the forward transfer function of the phase-locked loop system, that is, the product of the transfer functions of the phase detector 810, the loop filter 820, and the oscillator 830; H is the reverse transfer function, that is, the transfer function of the divider 840; T is an intermediate variable, kθ is the transfer function of the phase detector 810, and A is a self-defined intermediate quantity.
[0100] The expressions of T1, T2, T3, T4 and A are as follows:
[0101]
[0102] T2=C2·R2;
[0103]
[0104] Take the coefficient of the open-loop transfer function of the phase-locked loop system as M. To keep the loop bandwidth constant at Wc in the entire frequency band, it is only necessary to make the loop bandwidth of each frequency sub-band equal to ensure that the coefficient M is a constant. Among them, the expression of M is as follows:
[0105]
[0106] In each frequency sub-segment, the transfer function Kθ of the phase detector 810 remains unchanged, and the frequency division ratio N and the tuning sensitivity Kvco of the oscillator 830 change very little. Therefore, the value of the feedback resistor Ra can be adjusted to ensure that M is a constant, so that the bandwidth of the phase-locked loop system remains stable.
[0107] The specific method is: according to the phase margin Get Figure 7 The phase noise curve of the phase-locked loop system is that the inflection point of the phase noise closed-loop curve on the instrument is near the loop bandwidth and has a bulge of about 3dB. Therefore, the controller 920 can determine the current loop bandwidth by analyzing and processing the phase noise curve, and adjust the feedback resistance Ra according to the pre-stored expected loop bandwidth so that the current loop bandwidth finally read is close to the expected loop bandwidth, and store the feedback resistance Ra value at this time to complete the calibration within the sub-segment, and the remaining sub-segments are processed by analogy.
[0108] Reference Figures 1 to 2 In one embodiment, the calibrating the feedback resistor according to the preset target loop bandwidth and the current phase noise curve includes:
[0109] S410, calculating a first frequency range according to the target loop bandwidth;
[0110] S420, obtaining curve parameter information of the phase noise curve within the first frequency range;
[0111] S430, performing feedback adjustment on the current resistance value according to the curve parameter information until a frequency peak is determined to appear within the first frequency range, thereby obtaining the first target resistance value.
[0112] In this embodiment, within the total output frequency range of the phase-locked loop system, in order to ensure that the coefficient M of its open-loop transfer function is a constant, the intermediate quantity A of each sub-frequency band needs to be adjusted. According to the above expression of A, it can be determined that each frequency sub-band corresponds to a first target resistance value. Therefore, when actually controlling the operation of the phase-locked loop system, the feedback resistance is adjusted to the first target resistance value corresponding to the frequency sub-band in which the target frequency to be output falls, so that in theory the loop bandwidth can always be stable at the expected loop bandwidth Wc. It should be noted that, considering the influence of factors such as error and consistency, the actual loop bandwidth may deviate from the expected loop bandwidth.
[0113] Combine the phase noise curve corresponding to each frequency sub-segment, and calculate the first frequency range Wc±Wc / 2 according to the target loop bandwidth Wc, obtain the curve parameter information of the internal phase noise curve, and determine the difference between the current loop bandwidth and the expected loop bandwidth Mc according to the curve parameter information, and adjust the current resistance value of the feedback resistor Ra so that the final read current loop bandwidth is close to the expected loop bandwidth, and store the current resistance value at this time as the first target resistance value to complete the calibration within the sub-segment. It should be noted that the bandwidth refers to the frequency range of the signal, which is usually expressed in Hertz (Hz). In this application, it is the frequency range of the output signal of the phase-locked loop system, so it can be brought into the phase noise curve to obtain the corresponding first frequency range.
[0114] Since the values of the first target resistance values are stored, when different target frequencies are actually configured, the corresponding first target resistance value can be called according to the frequency sub-segment where the target frequency is located. The above method can achieve the same loop bandwidth in the full frequency band, and improve the in-band and out-of-band phase noise and locking time.
[0115] Specifically, the feedback adjustment of the current resistance value according to the curve parameter information includes:
[0116] S431, when the curve parameter information indicates that the phase noise curve gradually increases within the first frequency range, gradually reducing the current resistance value;
[0117] S432: When the curve parameter information indicates that the phase noise curve gradually decreases within the first frequency range, the current resistance value is increased step by step.
[0118] In this embodiment, when the current loop bandwidth deviates from the expected loop bandwidth, there are two deviation situations:
[0119] If within the first frequency range [Wc-Wc / 2, Wc+Wc+2], the phase noise curve is monotonically decreasing according to the curve parameter information, it means that the current loop bandwidth of the phase-locked loop system is less than the expected loop bandwidth, and the controller adjusts the feedback resistor Ra to increase the minimum resistance value in steps until the maximum phase noise value is determined to be in the first frequency range according to the curve parameter information within the first frequency range, and the current resistance value of the feedback resistor Ra at this time is stored.
[0120] If within the first frequency range [Wc-Wc / 2, Wc+Wc+2], the phase noise curve is monotonically increasing according to the curve parameter information, it means that the current loop bandwidth of the phase-locked loop system is greater than the expected loop bandwidth, and the controller adjusts the feedback resistor Ra to decrease in steps with the minimum resistance value until the maximum phase noise value is determined to be in the first frequency range according to the curve parameter information within the first frequency range, and the current resistance value of the feedback resistor Ra at this time is stored.
[0121] Reference Figure 3 In one embodiment, the frequency synthesizer further comprises a phase detector connected to the loop filter, and before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further comprises:
[0122] S510, obtaining a second target resistance value corresponding to the frequency sub-band;
[0123] S520, controlling the phase detector to output a maximum pump current to the loop filter, and adjusting the feedback resistor based on the second target resistance value;
[0124] Wherein, the second target resistance value is obtained after feedback adjustment according to the center frequency point of the frequency sub-band;
[0125] The adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-segment further comprises:
[0126] S310: When the output frequency of the oscillator reaches the center frequency point, adjust the feedback resistor according to a first target resistance value corresponding to the frequency sub-band.
[0127] In this embodiment, the controller is also provided with a corresponding second target resistance value for each frequency sub-segment. Since the present application sets the maximum pump current and the second target resistance value, the output frequency of the oscillator can be quickly pulled to the center frequency point of the frequency sub-segment corresponding to the target frequency, so that after adjusting the feedback resistance back to the first resistance value, the output frequency can be controlled to step up and down at the center frequency. Compared with gradually stepping from both ends of the frequency sub-segment, it takes less time to move the output frequency at the center frequency, thereby shortening the locking time. Among them, the locking time refers to the time required for the system to reach a stable state from an initial state, that is, in the present application, when the target frequency changes, the time for the output frequency of the oscillator to be adjusted from the original target frequency to the updated target frequency.
[0128] Specifically, when the controller receives an adjustment instruction and determines that the target frequency has changed, the pump current of the phase detector in the phase-locked loop system is adjusted to a maximum value within a first preset time. The first preset time may be 1 / 5 of the expected locking time. The expected locking time is calculated by R&D personnel based on system parameters of the phase-locked loop system. Within the first preset time, the control voltage of the oscillator is made close to the control voltage corresponding to the target frequency by changing the current resistance value of the feedback resistor to achieve rapid frequency pull-in. Within a second preset time, the pump current and feedback resistor return to the values required for normal locking to complete phase synchronization. The second preset time may be 4 / 5 of the expected locking time, thereby further shortening the locking time through fast locking.
[0129] In one embodiment, before obtaining the second target resistance value corresponding to the frequency sub-band, the method further includes:
[0130] S600: In each of the frequency sub-segments, obtain a center frequency point of the frequency sub-segment, and perform feedback adjustment on the feedback resistor according to the output frequency of the oscillator and the center frequency point.
[0131] In this embodiment, the charge pump current is set to a maximum value, and the feedback resistance is adjusted by the controller so that the output frequency of the oscillator falls within each frequency sub-segment and is close to the center frequency point of the corresponding frequency sub-segment. The current resistance value at this time is stored as the second target resistance value, and the calibration of the feedback resistance corresponding to each frequency sub-segment is completed in turn.
[0132] Reference Figure 4 In one embodiment, the feedback adjustment of the feedback resistor according to the output frequency of the oscillator and the center frequency includes:
[0133] S610, controlling the phase detector to output a maximum pump current to the loop filter;
[0134] S620. According to the center frequency, feedback-adjust the current resistance value of the feedback resistor until it is determined that the output frequency of the oscillator reaches the center frequency, thereby obtaining the second target resistance value.
[0135] In this embodiment, in order to shorten the calibration time, when the feedback resistor is feedback-adjusted according to the output frequency of the oscillator and the center frequency, the controller sets the pump current of the phase detector to the maximum value to achieve fast frequency pull-in, and at the same time, according to the target frequency represented by the adjustment instruction, the corresponding frequency sub-segment is determined, and the corresponding center frequency point is obtained according to the frequency sub-segment. After determining the center frequency point corresponding to the target frequency, the output frequency of the oscillator is detected, and the current resistance value of the feedback resistor is feedback-adjusted in real time until it is detected that the output frequency of the oscillator reaches the center frequency point, and the current resistance value at this time is stored as the second target resistance value.
[0136] In one embodiment, before determining the frequency sub-segment according to the target frequency represented by the adjustment instruction if the adjustment instruction is detected, the method further includes:
[0137] S700: According to preset oscillator driving parameters, process the total output frequency range of the oscillator into a plurality of frequency sub-segments.
[0138] In this embodiment, the oscillator driving parameters include a driving voltage range for the entire frequency band. The controller communicates with the interactive component to obtain the driving voltage range and divides the driving voltage range into preset portions. The preset portions are set by R&D personnel based on the driving voltage range. For example, the preset portions can be set so that the difference between the maximum voltage and the minimum voltage corresponding to each portion does not exceed 1 / 10 of the maximum voltage corresponding to the driving voltage range, and the total output frequency range is divided into several frequency sub-segments based on the divided driving voltages.
[0139] The present invention also provides a frequency synthesizer, the second subject includes a phase-locked loop system having a loop filter and an oscillator, and a controller;
[0140] The controller is used to execute the control method of the frequency synthesizer described above. It should be noted that the frequency band of the current wireless communication system is getting wider and wider, and the required frequency source needs a wider tuning range to meet the large bandwidth requirements of different communication formats. In the wireless communication system, the transceiver system is its key component, which is mainly responsible for sending and receiving signals, and the local oscillator (hereinafter referred to as "local oscillator") is an important link in the transceiver system. The frequency range it covers largely determines the working frequency range of the transceiver.
[0141] In order to expand the frequency tuning range of the local oscillator, a frequency synthesizer chip with a large frequency coverage range is usually used, or multiple discrete voltage-controlled oscillators are used to form a frequency synthesizer module to cover different frequency bands. In some private network industries, such as cluster communication PDT (Police Digital Cluster) / DMR (Digital Mobile Radio Standard) / TETRA (Professional Mobile Communication System Based on Digital Time Division Multiple Access Technology), the operating frequency band is relatively low, usually below 1G. Due to process limitations, it is difficult for companies that provide frequency synthesis chips to simultaneously cover frequencies as low as 100MHz to the frequency range of cellular systems while meeting key indicators such as phase noise and spurious signals to meet system requirements. Their frequency synthesis products are usually more suitable for broadband communication bands facing the public network industry. For narrowband communication systems, due to high requirements for near-end phase noise such as 12.5kHz / 25kHz / 50kHz / 100kHz offset carriers, some companies in the private network industry usually use discrete voltage-controlled oscillators to build dedicated frequency synthesis modules to meet the system's anti-blocking, radiation spurious and noise requirements. In order to reduce development costs, the frequency synthesis module needs to be more adaptable and the frequency coverage of the frequency synthesis module should be increased as much as possible to support a variety of product series in different frequency bands. In this case, using multiple frequency synthesis modules built with discrete voltage-controlled oscillators will occupy a larger area and increase costs.
[0142] In addition, if a voltage-controlled oscillator is used to obtain a large frequency coverage range, this means that a sufficiently large tuning sensitivity (MHz / V) is required to obtain a frequency range that meets the requirements. In this case, the varactor diode needs to have a large capacitance ratio, and usually a varactor diode with a hypersudden junction is required. The nonlinearity caused by this diode will greatly affect the Q value of the oscillator's resonant circuit, thereby affecting the oscillator's noise characteristics. In addition to the above two methods of broadening the frequency coverage range, the use of an active loop filter can also increase the range of the oscillator's control voltage, thereby increasing the frequency tuning range of the frequency synthesizer chip, so that one frequency synthesizer module can be suitable for multiple product series to reduce development costs.
[0143] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A method for controlling a frequency synthesizer, characterized in that: The frequency synthesizer includes a phase-locked loop system having a loop filter and an oscillator, wherein the feedback resistance of the loop filter is adjustable and the oscillator has multiple frequency sub-bands. The method includes: If an adjustment instruction is detected, determining a corresponding frequency sub-segment according to the target frequency represented by the adjustment instruction; adjusting the feedback resistor according to a first target resistance value corresponding to the frequency sub-band; controlling the loop filter to drive the oscillator to operate according to the adjusted feedback resistance; The first target resistance value is obtained after calibration according to the phase noise curve corresponding to the frequency sub-band and the target loop bandwidth.
2. The method for controlling a frequency synthesizer according to claim 1, wherein: Before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further includes: In each of the frequency sub-segments, a corresponding current phase noise curve is obtained, and the feedback resistor is calibrated according to a preset target loop bandwidth and the current phase noise curve.
3. The method for controlling a frequency synthesizer according to claim 2, wherein: The calibrating the feedback resistor according to the preset target loop bandwidth and the current phase noise curve includes: Calculating a first frequency range according to the target loop bandwidth; Acquiring curve parameter information of the phase noise curve within the first frequency range; Feedback adjustment is performed on the current resistance value of the feedback resistor according to the curve parameter information until a frequency peak is determined to appear within the first frequency range, thereby obtaining the first target resistance value.
4. The method for controlling a frequency synthesizer according to claim 3, wherein: The performing feedback adjustment on the current resistance value according to the curve parameter information includes: When the curve parameter information indicates that the phase noise curve gradually increases within the first frequency range, the current resistance value is gradually reduced; When the curve parameter information indicates that the phase noise curve gradually decreases within the first frequency range, the current resistance value is increased step by step.
5. The method for controlling a frequency synthesizer according to claim 1, wherein: The phase-locked loop system further includes a phase detector connected to the loop filter. Before adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band, the method further includes: Obtaining a second target resistance value corresponding to the frequency sub-band; controlling the phase detector to output a maximum pump current to the loop filter, and adjusting the feedback resistor based on the second target resistance value; The second target resistance value is obtained after feedback adjustment based on the center frequency of the frequency sub-band; The adjusting the feedback resistor according to the first target resistance value corresponding to the frequency sub-band further includes: When the output frequency of the oscillator reaches the center frequency point, the feedback resistor is adjusted according to a first target resistance value corresponding to the frequency sub-band.
6. The method for controlling a frequency synthesizer according to claim 5, wherein: Before obtaining the second target resistance value corresponding to the frequency sub-band, the method further includes: In each of the frequency sub-segments, a center frequency point of the frequency sub-segment is obtained, and feedback adjustment is performed on the feedback resistor according to the output frequency of the oscillator and the center frequency point.
7. The method for controlling a frequency synthesizer according to claim 6, wherein: The feedback adjustment of the feedback resistor according to the output frequency of the oscillator and the center frequency includes: controlling the phase detector to output a maximum pump current to the loop filter; According to the center frequency point, the current resistance value of the feedback resistor is feedback-adjusted until it is determined that the output frequency of the oscillator reaches the center frequency point, thereby obtaining the second target resistance value.
8. The method for controlling a frequency synthesizer according to claim 1, wherein: Before determining the frequency sub-segment according to the target frequency represented by the adjustment instruction if the adjustment instruction is detected, the method further includes: According to preset oscillator driving parameters, the total output frequency range of the oscillator is processed into a plurality of frequency sub-segments.
9. The method for controlling a frequency synthesizer according to claim 1, wherein: The loop filter comprises: An operational amplifier, comprising a power pin, a non-inverting input pin, an inverting input pin, and an output pin, wherein the power pin is used to receive a power supply, the non-inverting input pin is used to receive a phase difference adjustment signal, and the output pin is connected to the input end of the oscillator; A feedback resistor is connected in parallel between the inverting input pin and the output pin, and a controlled end of the feedback resistor is used to receive a resistance adjustment signal; A first resistor is connected in series between the inverting input pin and the ground.
10. A frequency synthesizer, characterized in that: A phase-locked loop system including a loop filter and an oscillator, and a controller; The controller is used to execute the control method of the frequency synthesizer according to any one of claims 1 to 9.
