Circuit parameter adjusting method based on phase-locked loop and parameter adjusting method

By adjusting the capacitance value, resistance value and frequency division coefficient of the phase lock loop, adjusting the loop parameters of the phase lock loop based on the bandwidth ratio and damping coefficient calculation formula, the problem of excessive stability and area of ​​the phase lock loop in parameter adjustment is solved. , achieving stable work and reduction of area.

CN119010895APending Publication Date: 2024-11-22AMICRO SEMICONDUCTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310561375.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing phase-locked loops have problems with stability and circuit area in parameter adjustment, making it difficult to reduce circuit area while meeting stable working needs.

Method used

By changing the capacitance and resistance values ​​in the loop filter, and adjusting the frequency division coefficient or frequency of the signal to be processed in the pre-divider, adjusting the loop parameters of the phase-locked loop based on the bandwidth ratio and damping coefficient calculation formula, Make it within the preset margin range to achieve stable operation and reduction of circuit area.

Benefits of technology

The stable operation of the phase-locked loop and the reduction of the circuit area are achieved, the problems of stability and area in parameter adjustment are overcome, and the area of ​​phase-locked loop chip manufacturing is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010895A_ABST
    Figure CN119010895A_ABST
Patent Text Reader

Abstract

The invention discloses a circuit parameter adjusting method based on a phase-locked loop and a parameter adjusting method. The circuit parameter adjusting method is used for controlling the phase-locked loop. The circuit parameter adjusting method comprises the following steps: under the condition that a gain value of a voltage-controlled oscillator changes, adjusting a resistance value based on a bandwidth ratio calculation formula, and adjusting a capacitance value based on a damping coefficient calculation formula, so that a calculated loop parameter of a phase-locked loop is within a preset margin range; after the calculated loop parameter of the phase-locked loop is in a preset margin range, adjusting a capacitance value by adjusting a frequency division coefficient of a preposed frequency divider and / or adjusting the frequency of a to-be-processed signal used for inputting the preposed frequency divider based on a damping coefficient calculation formula, so that the loop parameter of the phase-locked loop is in the preset margin range; and then, a filtering resistance value in the filter is configured to be equal to the adjusted resistance value, and a filtering capacitance value in the filter is configured to be equal to the adjusted capacitance value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of phase-locked loop circuit parameter calculation, and in particular to a circuit parameter adjustment method and a parameter adjustment method based on a phase-locked loop. Background Art

[0002] The phase-locked loop is a very important functional system, such as providing one or more clocks with required frequencies in a chip system, generating local oscillator signals in a receiver, and maintaining synchronization in a communication system. The phase-locked loop is usually composed of a phase frequency detector, a charge pump, a low-pass filter, a voltage-controlled oscillator, and a frequency divider, and forms a feedback loop. The phase frequency detector is used to detect the frequency difference and phase difference between the feedback signal and the reference signal generated by the crystal oscillator, and generate a pulse control signal; the charge pump responds to the pulse control signal to provide a charging current or a discharging current for the low-pass filter; the low-pass filter filters the output electrical signal of the charge pump, and inputs the filtered output voltage signal into the voltage-controlled oscillator as the control voltage of the voltage-controlled oscillator; the voltage-controlled oscillator generates an oscillation voltage output signal in response to the control voltage provided by the low-pass filter; the frequency divider is used to divide the oscillation voltage output signal and generate a feedback signal input to the phase frequency detector. During the operation of the phase-locked loop, when the phases of the reference signal and the feedback signal maintain a fixed difference, it means that the phase of the output voltage is locked with the input voltage, that is, the phase-locked loop is locked. Therefore, the phase-locked loop generates an output signal fo with locked frequency and phase.

[0003] For a designed phase-locked loop, some circuit parameters are relatively fixed. How to meet the requirements of stable operation of the phase-locked loop under the corresponding loop parameter configuration while taking into account the circuit area loss of the phase-locked loop is a phase-locked loop adjustment problem that needs to be solved urgently. Summary of the invention

[0004] The present application discloses a circuit parameter adjustment method and a parameter adjustment method based on a phase-locked loop, and the disclosed technical solution is as follows:.

[0005] A circuit parameter adjustment method based on a phase-locked loop is used to control a phase-locked loop, wherein the phase-locked loop includes a pre-divider, a frequency detector, a charge pump, a filter, a voltage-controlled oscillator and a loop divider coupled in sequence; the circuit parameter adjustment method includes: step 1, when the gain value of the voltage-controlled oscillator changes, adjusting the resistance value based on a bandwidth ratio calculation formula, and adjusting the capacitance value based on a damping coefficient calculation formula, so that the calculated loop parameters of the phase-locked loop are within a preset margin range; step 2, after the calculated loop parameters of the phase-locked loop are within the preset margin range, adjusting the capacitance value based on a damping coefficient calculation formula In the damping coefficient calculation formula, the capacitance value is adjusted by adjusting the frequency division coefficient of the pre-frequency divider and / or adjusting the frequency of the to-be-processed signal input to the pre-frequency divider, so that the loop parameters of the phase-locked loop are within a preset margin range; step 3, the filter resistance value inside the filter is configured to be equal to the resistance value adjusted by step 1, and the filter capacitance value inside the filter is configured to be equal to the capacitance value adjusted by step 2, and at the same time, the frequency division coefficient of the pre-frequency divider adjusted by step 2 is configured to the pre-frequency divider, and the to-be-processed signal with the frequency adjusted in step 2 is input to the pre-frequency divider. This technical solution and this embodiment first change the capacitance value and the resistance value in the loop filter, and then change the frequency division coefficient in the pre-frequency divider and / or by changing the frequency of the to-be-processed signal input to the pre-frequency divider, so as to achieve accurate and flexible control of the loop parameters, ensure the stable operation of the phase-locked loop, and also achieve the configuration of minimizing the circuit area of ​​the phase-locked loop when the loop parameters are within a certain margin range (maintaining the stable operation of the phase-locked loop). It can not only meet the requirement of stable operation of the phase-locked loop under the corresponding loop parameter configuration, but also take into account the circuit area loss of the phase-locked loop.

[0006] A parameter adjustment method based on a phase-locked loop, the parameter adjustment method is used to control the phase-locked loop, the phase-locked loop includes a pre-divider, a frequency detector, a charge pump, a filter, a voltage-controlled oscillator and a loop divider coupled in sequence; the parameter adjustment method includes: step A, when the gain value of the voltage-controlled oscillator changes, adjusting the resistance value based on the bandwidth ratio calculation formula, and based on the damping coefficient calculation formula, adjusting the capacitance value by adjusting the division coefficient of the pre-divider or adjusting the frequency of the to-be-processed signal input to the pre-divider to reduce the capacitance value, and controlling the calculated loop parameters of the phase-locked loop to be within a preset margin range; step B, configuring the filter resistance value inside the filter to be equal to the resistance value adjusted in step A, and configuring the filter capacitance value inside the filter to be equal to the capacitance value adjusted in step A, and at the same time, configuring the division coefficient of the pre-divider adjusted in step A to the pre-divider, and inputting the to-be-processed signal adjusted in step A into the pre-divider.

[0007] In summary, the technical solution achieves fast and flexible control of loop parameters and ensures stable operation of the phase-locked loop by changing the capacitance and resistance values ​​in the loop filter, and by changing the frequency division coefficient in the pre-divider and / or by changing the frequency of the signal to be processed input to the pre-divider, and at the same time, the configured filter capacitance tends to decrease and / or the filter resistance tends to decrease when the loop parameters are within a certain margin range (maintaining the stable operation of the phase-locked loop), and the circuit area of ​​the corresponding phase-locked loop is reduced. The phase-locked stability and excessive circuit area problems generated in the parameter adjustment of the phase-locked loop are overcome. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 The present invention is a schematic diagram of the connection of the components of a phase-locked loop provided by an embodiment.

[0009] Figure 2 The present invention is a flow chart of a circuit parameter adjustment method based on a phase-locked loop provided in an embodiment.

[0010] Figure 3 The present invention is a flow chart of a parameter adjustment method based on a phase-locked loop provided by an embodiment. DETAILED DESCRIPTION

[0011] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0012] This embodiment discloses a circuit parameter adjustment method based on a phase-locked loop, which is used to configure a phase-locked loop, wherein the phase-locked loop includes a pre-divider, a frequency detector, a charge pump, a filter, a voltage-controlled oscillator, and a loop divider, which are coupled in sequence. Figure 1 As shown, the executor of the circuit parameter adjustment method can be a controller located outside the phase-locked loop, which can simultaneously control the pre-divider, loop divider, and filter; the controller can input the circuit parameters into the bandwidth ratio calculation formula and automatically calculate and change the circuit parameters required for calculating the bandwidth ratio according to the bandwidth ratio calculation formula; the controller can input the circuit parameters into the damping coefficient calculation formula and automatically calculate and change the circuit parameters required for calculating the damping coefficient according to the damping coefficient calculation formula; the controller can also configure the pre-divider, filter and loop divider in the phase-locked loop with the calculated circuit parameters; wherein, each circuit module connected to the phase-locked loop is configured to be connected to the corresponding power supply to meet the power supply requirements, which will also cause changes in some circuit parameters.

[0013] See also Figure 2It can be known that the circuit parameter adjustment method includes: step 1, when the gain value of the voltage-controlled oscillator changes, the resistance value is adjusted based on the bandwidth ratio calculation formula, and the capacitance value is adjusted based on the damping coefficient calculation formula, so that the calculated loop parameters of the phase-locked loop are within the preset margin range. In step 1, the resistance value is adjusted according to the operation rules specified in the bandwidth ratio calculation formula, and the bandwidth ratio can be calculated on the basis of offsetting part of the circuit parameters. The resistance value here is used to represent the resistance value of the filter resistor inside the filter, referred to as the filter resistance value. Similarly, the capacitance value is adjusted according to the operation rules specified in the damping calculation formula, and the damping coefficient can be calculated on the basis of offsetting part of the circuit parameters. The capacitance value here is used to represent the capacitance value of the filter capacitor inside the filter, referred to as the filter capacitance value. No matter how the resistance and capacitance values ​​are adjusted, the calculated loop parameters of the phase-locked loop need to be within the preset margin range, including bringing the loop parameters that change due to external power supply voltage factors, Kvco changes (voltage-controlled oscillator output frequency changes), charge pump output current changes, external input phase-locked loop crystal signals or the frequency range generated by the phase lock back to the established margin range or maintaining them unchanged, specifically including keeping the bandwidth ratio unchanged or within a certain margin range, and keeping the damping coefficient unchanged or within another margin range.

[0014] Step 2: After the calculated loop parameters of the phase-locked loop are within the preset margin range, based on the damping coefficient calculation formula, the capacitance value is adjusted by adjusting the division coefficient of the pre-divider and / or adjusting the frequency of the processed signal input to the pre-divider so that the loop parameters of the phase-locked loop are within the preset margin range.

[0015] In particular, in the process of controlling the loop parameters to be within the preset margin range by adjusting the resistance value and the capacitance value in step 1, the resistance value will be reduced when the gain value of the voltage-controlled oscillator increases, and specifically, the resistance value of the filter resistor inside the filter will be reduced, but in order to control the loop parameters generated by the phase-locked loop to be within the preset margin range, the capacitance value may increase, which directly leads to an increase in the area of ​​the filter capacitor inside the filter; then, in order to suppress the increase in the area of ​​the phase-locked loop, in step 2, after determining that the loop parameters obtained by the adjustment and calculation operations in step 1 are within the preset margin range, if it is detected that the capacitance value increases (relative to the preset initial capacitance value), the capacitance value is increased. Large), based on the damping coefficient calculation formula, the capacitance value is adjusted down by adjusting the division coefficient of the pre-divider and / or adjusting the frequency of the to-be-processed signal input to the pre-divider, so that the loop parameters of the phase-locked loop are within the preset margin range under reasonable resistance values, capacitance values, gain values ​​of the voltage-controlled oscillator and other related circuit parameters, ensuring that the phase-locked loop works stably, and the signal frequency range output by the voltage-controlled oscillator is not easy to deviate from the established phase margin range; at the same time, while ensuring that the loop parameters of the phase-locked loop are within the preset margin range, the filter capacitance value inside the filter is adjusted down, which can be smaller than the capacitance value of the initial configuration, forming a configuration mode with minimized area.

[0016] Step 3, configure the filter resistance value inside the filter to be equal to the resistance value adjusted in step 1, and configure the filter capacitance value inside the filter to be equal to the capacitance value adjusted in step 2. At the same time, configure the frequency division coefficient of the pre-divider adjusted in step 2 to the pre-divider, and input the signal to be processed adjusted in step 2 to the pre-divider, so that the phase-locked loop starts working, and the loop parameters generated by it are within the preset margin range, the phase-locked loop normally locks the phase and frequency of the reference signal, and stably outputs and locks the frequency division signal with reasonable accuracy.

[0017] It should be noted that the loop parameters of the phase-locked loop disclosed in this embodiment include bandwidth ratio and damping coefficient; the frequency and phase accuracy locked by the phase-locked loop are controlled to ensure the stability of the phase-locked loop, wherein the factors for measuring the stability of the phase-locked loop include the accuracy of the locked frequency and phase, locking efficiency, oscillation rate, etc.

[0018] Based on step 3, this embodiment sets the resistance value adjusted in step 1, the capacitance value adjusted in step 2, the frequency division coefficient of the pre-divider adjusted in step 2, and the frequency of the signal to be processed adjusted in step 2 as small area configuration parameters when other relevant circuit parameters (which can participate in the bandwidth ratio calculation formula and the damping coefficient calculation formula) are relatively fixed, correspondingly forming a configuration mode with minimized area in the controller. This saves the manufacturing area of ​​the phase-locked loop chip.

[0019] In summary, this embodiment first changes the capacitance and resistance values ​​in the loop filter, then changes the frequency division coefficient in the pre-divider and / or changes the frequency of the signal to be processed input to the pre-divider, so as to achieve accurate and flexible control of the loop parameters, ensure the stable operation of the phase-locked loop, and also achieve the configuration of minimizing the circuit area of ​​the phase-locked loop when the loop parameters are within a certain margin range (maintaining the stable operation of the phase-locked loop). It can not only meet the requirements of the phase-locked loop to work stably under the corresponding loop parameter configuration, but also take into account the circuit area loss of the phase-locked loop.

[0020] As an embodiment, the bandwidth ratio calculation formula used in the circuit parameter adjustment method is Among them, ω c represents the loop bandwidth, ω i Indicates the frequency of the signal input to the frequency detector and phase detector, and also indicates the frequency of the signal divided by the loop divider or the frequency of the signal divided by the pre-divider; represents the bandwidth ratio, fo represents the frequency of the signal to be divided which is input into the loop divider, and R l Indicates the resistance value; K o represents the gain value of the voltage-controlled oscillator, and is used to represent the rate of change of the output signal frequency of the voltage-controlled oscillator relative to the control voltage of the voltage-controlled oscillator; K d Represents the ratio of the output current of the charge pump to its phase.

[0021] The derivation process of the bandwidth ratio calculation formula includes: Wherein, fin represents the frequency of the external input signal to be processed, N represents the frequency division coefficient of the loop frequency divider, and Pdiv represents the frequency division coefficient of the pre-frequency divider; R L It can be expressed as the filter resistance value in the filter, C l It can be expressed as the filter capacitance value in the filter, C p Indicates the capacitance value of the reference capacitor. The reference capacitor is the capacitor in the filter other than the filter capacitor. The capacitance value of the reference capacitor is smaller than the filter capacitor value in the filter. K o represents the rate of change of the output signal frequency of the voltage controlled oscillator relative to the control voltage of the voltage controlled oscillator; the change of the power supply voltage required by the phase-locked loop and K o The source of the change in the power supply voltage required by the phase-locked loop includes the change in the process coefficient of the transistor; fin is the frequency of the external input signal to be processed, and the signal to be processed input to the pre-divider is derived from the crystal oscillator. N is the division coefficient of the loop divider. Pdiv and N support the conversion of fin to fo, and fo is set to maintain a fixed frequency value when the loop parameters are within the preset margin range.

[0022] Therefore, in this embodiment, in the bandwidth ratio calculation formula, there is Then, ignoring the reference capacitance, it is equal to Among them, the capacitance value of the reference capacitor is C p Equal to 0, to offset the filter capacitor value C in the filter l ; and also cancel the frequency division coefficient N of the loop frequency divider in the bandwidth ratio calculation formula; so that the bandwidth ratio calculation formula is directly expressed as

[0023] On the other hand, the damping coefficient calculation formula used in the circuit parameter adjustment method is The derivation process of the damping coefficient calculation formula includes: Specifically, under the premise of ignoring the reference capacitor, for example, the resistance value of the reference capacitor is close to 1pf, and the filter capacitor value C l When the resistance value of the reference capacitor reaches 160 pf, that is, the resistance value of the reference capacitor is less than one tenth of the filter capacitor value, the damping coefficient is calculated using the following formula:

[0024]

[0025] Therefore, in this embodiment, the damping coefficient calculation formula is expressed as This cancels out the division coefficient N of the loop divider and converts fo and Pdiv in turn; where ζ is the damping coefficient.

[0026] In this embodiment, the bandwidth ratio can be calculated on the basis of offsetting some circuit parameters, and the resistance value here is used to represent the resistance value of the filter resistor inside the filter, referred to as the filter resistance value. Similarly, the capacitance value can be adjusted according to the calculation rules specified by the damping calculation formula, and the damping coefficient can be calculated on the basis of offsetting some circuit parameters, and the capacitance value here is used to represent the capacitance value of the filter capacitor inside the filter, referred to as the filter capacitance value.

[0027] It should be noted that the frequency division method of the pre-divider is to make a ratio between the frequency fin of the signal input to the pre-divider and the frequency division coefficient Pdiv of the pre-divider to obtain the frequency of the divided signal. The pre-divider uses its frequency division coefficient as the reduction factor to complete the frequency division operation of the signal, wherein the frequency division coefficient Pdiv of the pre-divider is a positive integer. The frequency division method of the loop divider is to control the frequency of the signal input to the loop divider. The frequency of the feedback signal input to the frequency detector and phase detector is obtained by making a ratio with the frequency division coefficient N of the loop frequency divider, wherein the frequency division coefficient of the loop frequency divider is a positive integer.

[0028] As an embodiment, in step 1, the method for adjusting the resistance value based on the bandwidth ratio calculation formula includes: configuring the bandwidth ratio, fo and K d Under the condition that K o When the resistance value R l Reduce to make the bandwidth ratio within the first preset margin range, where the resistance value R l The reduction factor is equal to K o In this embodiment, based on the calculation formula of the bandwidth ratio, in order to maintain the bandwidth ratio within the first preset margin range, in a phase-locked loop working environment where the gain value of the voltage-controlled oscillator increases due to changes in internal model parameters or power (supply voltage and current), the resistance value R l Reduce (regarded as changing the filter resistance inside the filter) to ensure the stability of the phase-locked loop and at least ensure the loop bandwidth ω c Locked in a fixed frequency range, not affected by K o The impact of change.

[0029] Configure the bandwidth ratio, fo and K d Under the condition that K o When the resistance value R l Increase to make the bandwidth ratio within the first preset margin range, where the resistance value R l The enlargement factor is equal to K o In this embodiment, based on the calculation formula of the bandwidth ratio, in order to maintain the bandwidth ratio within the first preset margin range, in a phase-locked loop working environment where the gain value of the voltage-controlled oscillator is reduced due to changes in internal model parameters or power (supply voltage and current), the resistance value R l Increase (regarded as changing the filter resistance inside the filter) to ensure the stability of the phase-locked loop and at least ensure the loop bandwidth ω c Locked in a fixed frequency range, not affected by K o The impact of change.

[0030] As an embodiment, in step 1, the method for adjusting the capacitance value based on the damping coefficient calculation formula includes:

[0031] In configuring the bandwidth ratio, fo, K d , fin and Pdiv remain unchanged, if K o Increase and the resistance value R l decrease, then the capacitance C l Increase so that the damping coefficient is within the second preset margin range and the bandwidth ratio is within the first preset margin range, wherein the capacitance value C l The adjustment factor is equal to the resistance value R l The reduction factor is also equal to Ko Based on the calculation formula of bandwidth ratio and damping coefficient, in order to maintain the bandwidth ratio within the first preset margin range and maintain the damping coefficient within the second preset margin range, in the phase-locked loop working environment where the gain value of the voltage-controlled oscillator increases due to changes in internal model parameters or power (supply voltage and current), by reducing the resistance value R l To improve the bandwidth ratio that changes due to the gain value change of the voltage-controlled oscillator (understood as index degradation, that is, deviation from the first preset margin range), at the same time, by increasing the capacitance value C l To improve the damping coefficient that changes (understood as indicator degradation, ie, deviates from the second preset margin range) due to changes in the gain value of the voltage-controlled oscillator and the filter resistance.

[0032] In configuring the bandwidth ratio, fo, K d , fin and Pdiv remain unchanged, if K o Reduce and the resistance value R l Increase, then the capacitance C l The capacitance C is adjusted to be smaller so that the damping coefficient is within the second preset margin range and the bandwidth ratio is within the first preset margin range, wherein the capacitance C l The reduction factor is equal to the resistance value R l The increase multiple is also equal to K o Based on the calculation formula of bandwidth ratio and damping coefficient, in order to maintain the bandwidth ratio within the first preset margin range and maintain the damping coefficient within the second preset margin range, in the circuit parameter adjustment environment where the gain value of the voltage-controlled oscillator is reduced due to changes in internal model parameters or power (supply voltage and current), by increasing the resistance value R l To improve the bandwidth ratio that changes due to the gain value change of the voltage-controlled oscillator (understood as index degradation, that is, deviation from the first preset margin range), the capacitance value C l The gain value of the voltage controlled oscillator increases by a factor of K. o Equal to the capacitance value C l In the same bandwidth ratio calculation formula and the same damping coefficient calculation formula, other related circuit parameters (including the locked signal frequency parameters, bandwidth-related parameters and charge pump output current-related parameters, the aforementioned bandwidth ratio calculation formula and damping coefficient calculation formula are expressions associated with the aforementioned parameters) remain relatively unchanged. In summary, the change in loop parameters (manifested as a change in loop bandwidth) caused by the change in the gain value of the voltage-controlled oscillator is controllable for the circuit parameter regulator. By changing the resistance value R l and capacitance C l An implementation method to maintain the stability of the phase-locked loop is feasible.

[0033] It should be noted that the preset margin range includes a first preset margin range and a second preset margin range, and the first preset margin range is different from the second preset margin range; when the bandwidth ratio is within the first preset margin range, and the damping coefficient is within the second preset margin range, the loop parameters of the phase-locked loop are within the preset margin range. The first preset margin range is preferably less than 0.1. The second preset margin range is preferably less than or equal to 0.707, and greater than or equal to 0.5. Among them, the damping coefficient needs to be set near 0.707. A damping coefficient that is too large will cause the phase locking operation performed by the phase-locked loop to be slow, and a damping coefficient that is too small will cause the phase-locked loop oscillation to decay slowly or even fail to lock. A large damping coefficient is acceptable, but a small damping coefficient has certain risks, so the damping coefficient is usually not less than 0.5.

[0034] As an embodiment, in step 1, if the gain value K of the voltage controlled oscillator is o Increase, then the resistance value R l Reduce to control the bandwidth ratio within the first preset margin range, and then in step 1, reduce the capacitance value C l Increase to control the damping coefficient within the second preset margin range; wherein the gain value K of the voltage controlled oscillator o The increase factor is equal to the capacitance value C l The adjustment multiple is also equal to the resistance value R l The capacitance value C l When calculating according to the damping coefficient calculation formula, it is not adjusted to increase in square multiples. In this embodiment, due to the change in the gain value of the voltage-controlled oscillator in the same damping coefficient calculation formula, and the resistance value R l also changes, so the capacitance value C l When participating in the calculation of the damping coefficient, it is not adjusted to increase in square multiples, weakening the capacitance value C of the filter capacitor l The compensation effect in the filter can be specifically understood as not needing to set the capacitance value of the filter capacitor to the square of the capacitance value of the filter resistor because the resistance value of the filter resistor inside the filter is reduced, and also overcomes the problem of setting too large a capacitance gear or insufficient capacitance gear in the filter. Compensation for the stability of the phase-locked loop is achieved.

[0035] Preferably, in step 1, the capacitance C is increased. l Then, in step 2, the frequency division coefficient Pdiv of the pre-divider is reduced or the frequency fin of the signal to be processed input to the pre-divider is increased, and the capacitance value C lSpecifically, in order to maintain the bandwidth ratio within the first preset margin range and also maintain the damping coefficient within the second preset margin range, the capacitance value C l On the basis of increasing the damping coefficient, it is necessary to further reduce the division coefficient of the pre-divider or increase the frequency fin of the signal to be processed, so as to create the possibility of reducing the capacitance value of the filter capacitor, and the remaining circuit parameters under the same damping coefficient calculation formula (locked signal frequency parameters, bandwidth-related parameters and charge pump output current-related parameters) are relatively fixed.

[0036] As an embodiment, in step 2, the method for adjusting the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: step 1: o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to within the preset margin range, it can be understood that the gain value K of the voltage-controlled oscillator o After the increase, the bandwidth ratio returns to the first preset margin range for the first time, and the damping coefficient returns to the second preset margin range for the first time. In the same damping coefficient calculation formula, the resistance value R l After being reduced in step 1, the value within the square root sign in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduced multiple is also equal to K o The square of the increase multiple, at this time, the capacitance value C l The increase in capacitance C brings a large increase in the circuit area of ​​the phase-locked loop. l The adjustment factor can be equal to the resistance value R l The reduction factor is also equal to K o In this embodiment, the capacitance value C is offset by the frequency division coefficient. l Therefore, in this embodiment, by executing step 2, the bandwidth ratio, fo, K o , R l , K d If Pdiv is reduced and fin remains unchanged, C l The damping coefficient is adjusted down so that the damping coefficient is within the second preset margin range and the bandwidth ratio does not change. Under the same damping coefficient calculation formula, the reduction factor of Pdiv is equal to C l The reduction factor can also be equal to the capacitance value C before executing step 2 l The latest increase in multiples is achieved to control the damping coefficient unchanged, so that the pre-divider frequency division coefficient Pdiv after the adjustment and the capacitance value C after the adjustment are lIn addition, the reduction factor of Pdiv is equal to the reduction factor of the frequency division coefficient of the loop divider, so that the frequency fo of the input signal to be divided into the loop divider remains unchanged. In actual regulation, the signal frequency of the input pre-divider (or the reference signal of the input phase-locked loop) is usually fixed, so even if the resistance value R l When the gain value of the voltage-controlled oscillator has been selected, the capacitance value can still be flexibly adjusted and the bandwidth ratio and the damping coefficient can be controlled within a fixed margin by adjusting the relevant frequency division coefficient, thereby forming a compromise adjustment mode between the circuit area of ​​the phase-locked loop and the working stability of the phase-locked loop. The chip circuit unit is manufactured according to the circuit parameters configured under the compromise adjustment mode, which can save chip area.

[0037] As an embodiment, in step 2, the method for adjusting the capacitance value by adjusting the frequency of the signal to be processed input to the pre-divider based on the damping coefficient calculation formula further includes: step 1 at K o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to be within the preset margin range, it can be determined that the current bandwidth ratio is within the first preset margin range and the current damping coefficient is within the second preset margin range; in the same damping coefficient calculation formula, the resistance value R l After being reduced in step 1, the value within the square root sign in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduced multiple is also equal to K o The square of the increase multiple, at this time, the capacitance value C l The increase in capacitance C brings a large increase in the circuit area of ​​the phase-locked loop. l The adjustment factor can be equal to the resistance value R l The reduction factor is also equal to K o In this embodiment, the capacitance value C is offset by adjusting the frequency of the signal to be processed. l The increment of R l , K d , Pdiv and K o If fin is increased, C l Reduce to make the damping coefficient within the second preset margin range, where the increase factor of fin is equal to C l The reduction factor can also be equal to the capacitance value C before executing step 2 lThe latest magnification factor can be used to control the damping coefficient unchanged; it can reduce the occupied area of ​​the filter capacitor in the filter, so that the phase-locked loop can work stably with as small an area of ​​filter capacitor as possible. In addition, under the same damping coefficient calculation formula, the magnification factor of fin is equal to the reduction factor of the division coefficient of the loop divider, so that the frequency fo of the signal to be divided input to the loop divider remains unchanged. Among them, the pre-divider is used to divide the external input signal to be processed into a reference signal, and input the reference signal into the frequency detector and phase detector. If the division coefficient of the pre-divider remains unchanged and the frequency fin of the signal to be processed increases, the frequency of the reference signal increases. In order to control the frequency of the signal to be divided input to the loop divider to remain unchanged, it is necessary to reduce the frequency of the reference signal, and then set the reduction factor of the division coefficient of the loop divider to the capacitance value C. l The reduction multiple.

[0038] In summary, by adjusting the circuit parameters to meet the stability requirements of the loop parameters and reduce the circuit area requirements, the phase-locked loop chip circuit can be configured and manufactured, which can save chip area and ensure the working stability of the phase-locked loop.

[0039] As an embodiment, in step 2, the method for adjusting the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider and adjusting the frequency of the signal to be processed input to the pre-frequency divider based on the damping coefficient calculation formula further includes: step 1: o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to within the preset margin range, it can be understood that the gain value K of the voltage-controlled oscillator o After increasing, the resistance value R l Then continue to adjust the capacitance value C l Adjustment is performed so that the bandwidth ratio returns to the first preset margin range and the damping coefficient returns to the second preset margin range, wherein in the same damping coefficient calculation formula, the resistance value R l After being reduced in step 1, the value within the square root sign in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduced multiple is also equal to K o The square of the increase multiple, at this time, the capacitance value C l The increase in capacitance C brings a large increase in the circuit area of ​​the phase-locked loop, and the frequency division coefficient and the frequency of the signal to be processed need to be used to offset the capacitance C. l Then configure the bandwidth ratio, fo, R l , K d and K o If fin is increased and Pdiv is decreased, then C lWhen the loop parameters generated by the phase-locked loop are kept within the preset margin range, if the capacitance C is reduced, l , which actually means reducing the value within the square root sign in the damping coefficient calculation formula; while reducing Pdiv actually means increasing the value within the square root sign in the damping coefficient calculation formula; and increasing fin at the same time actually means increasing the value within the square root sign in the damping coefficient calculation formula; therefore, when fin is increased and Pdiv is reduced, the product of the reduction factor of Pdiv and the increase factor of fin is equal to C l The reduction multiple makes the value in the square root sign in the damping coefficient calculation formula form a trend of increasing and decreasing to offset each other, so that without increasing the capacitance value C l Under the condition that the damping coefficient is within the second preset margin range, a phase-locked loop circuit parameter configuration with a small area is formed.

[0040] In addition, the product of the reduction factor of Pdiv and the increase factor of fin is equal to the reduction factor of the frequency division coefficient of the loop divider, so that the frequency fo of the to-be-divided signal input to the loop divider remains unchanged. Under the same damping coefficient calculation formula, the pre-divider is used to divide the external input to-be-processed signal into a reference signal, and input the reference signal into the frequency detector and phase detector. Regardless of whether the frequency division factor of the pre-divider is reduced or the frequency of the to-be-processed signal is increased, the frequency of the reference signal will increase. In order to control the frequency of the to-be-divided signal input to the loop divider to remain unchanged, it is necessary to reduce the frequency of the reference signal, and make corresponding reduction factors for the reduction of Pdiv and the increase of fin, respectively. Then, the reduction factor of the frequency division coefficient of the loop divider is set to the product of the reduction factor of the frequency division coefficient of the pre-divider and the increase factor of the frequency of the to-be-processed signal.

[0041] In the above embodiment, the frequency division method of the pre-divider is to compare the frequency fin of the signal input to the pre-divider with the frequency division coefficient Pdiv of the pre-divider to obtain the frequency of the divided signal. The frequency division coefficient of the pre-divider is a positive integer, which is configured as the count modulus value of the counter set inside the pre-divider. The frequency division method of the loop divider is to control the frequency of the signal input to the loop divider. The frequency of the feedback signal input to the frequency detector is obtained by making a ratio with the frequency division coefficient N of the loop divider, wherein the frequency division coefficient of the loop divider is a positive integer. The frequency division coefficient of the loop divider is configured as the count modulus value of the counter set inside the loop divider, and supports adjustment by the trigger signal sent by the circuit parameter regulator. Regardless of whether the frequency of the signal to be processed increases, the frequency division coefficient of the pre-divider and the frequency division coefficient of the loop divider can be controlled to be reduced or increased at the same time, so that the frequency of the feedback signal output by the loop divider to the frequency detector is equal to the frequency of the signal after the pre-divider divides.

[0042] As an embodiment, in step 3, the resistance value R adjusted in step 1 is l Set it as the resistance control code and adjust the capacitance value C in step 2 l Set as the capacitor control code; then use the resistor control code to configure the filter resistor, and set the resistance value of the filter resistor to the filter resistance value, recorded as the filter resistance value R l Or filter resistor R l ; The capacitor control code is also used to configure the filter capacitor, and the capacitance value of the filter capacitor is set to the filter capacitor value, which is recorded as the filter capacitor value C l Or filter capacitor C l . Combined Figure 1 It can be seen that a set of filter resistors R1 and filter capacitors C1 connected in series are set inside the filter. The filter resistor R1 is an adjustable resistor, and its resistance value is configured by the resistance control code. The filter resistor R1 is equivalent to the filter resistor R l , which can be expressed as the filter resistance value R l ; The filter capacitor C1 is an adjustable capacitor, whose capacitance value is configured by the capacitance control code. The filter capacitor C1 is equivalent to the filter capacitor C l , which can represent the filter capacitor value C l .

[0043] The filter resistor R1 and the filter capacitor C1 can be connected in series to form a combination of a resistance level and a capacitance level, which can be understood as being determined by the resistance control code and the capacitance control code. The resistance control code and the capacitance control code here are both digital coded signals. A capacitance level can be controlled by a digital coded signal of at least one bit, and a resistance level is controlled by a digital coded signal of at least one bit, thereby connecting the filter resistance value under the relevant resistance level and the filter capacitance value under the relevant capacitance level to the phase-locked loop. Figure 1As shown, one end of the filter resistor R1 and one end of the reference capacitor Cp are coupled to the output end of the charge pump, one end of the filter resistor R1 is connected to one end of the filter capacitor C1, and the other end of the reference capacitor Cp and the other end of the filter capacitor C1 are grounded to form a second-order low-pass filter, wherein the filter resistor R1 and the filter capacitor C1 are both passive devices with adjustable circuit parameters; a variety of resistance gears can be connected in series with a variety of different capacitance gears to the phase-locked loop to form different resistance-capacitance matching modes to provide more circuit parameter selection ranges, at least to achieve the capacitance value of the filter capacitor inside the filter to be increased or decreased, and also enhance the anti-interference ability of the phase-locked loop to the gain value of the voltage-controlled oscillator, the output current of the charge pump, and the loop bandwidth, that is, the parameter adjustment range for maintaining the stable operation of the phase-locked loop is effectively expanded.

[0044] In this embodiment, if the capacitance value of the reference capacitor is smaller than the capacitance value of the selected capacitor, the capacitance value of the filter capacitor inside the filter will not be smaller than the capacitance value of the reference capacitor, thereby reducing the influence of the capacitance value of the reference capacitor on the loop parameters of the phase-locked loop during the process of adjusting the filter capacitor and the filter resistor.

[0045] The present application also discloses a parameter adjustment method based on a phase-locked loop, the parameter adjustment method is used to control a phase-locked loop, the phase-locked loop includes a pre-divider, a frequency detector, a charge pump, a filter, a voltage-controlled oscillator and a loop divider coupled in sequence; Figure 1 As shown, the execution subject of the parameter adjustment method can be a controller located outside the phase-locked loop, which can simultaneously control the pre-divider, loop divider, and filter; the controller can input the circuit parameters into the bandwidth ratio calculation formula and automatically calculate and change the circuit parameters required for calculating the bandwidth ratio according to the bandwidth ratio calculation formula; the controller can input the circuit parameters into the damping coefficient calculation formula and automatically calculate and change the circuit parameters required for calculating the damping coefficient according to the damping coefficient calculation formula; the controller can also configure the pre-divider, filter, and loop divider in the phase-locked loop with the calculated circuit parameters; wherein, each circuit module connected to the phase-locked loop is configured to be connected to the corresponding power supply to meet the power supply demand, which will also cause changes in some circuit parameters. Among them, the resistance value of the filter resistor in the filter and the capacitance value of the filter capacitor become factors affecting the area size of the entire phase-locked loop.

[0046] See also Figure 3 It can be seen that the parameter adjustment method includes:

[0047] Step A: When the gain value of the voltage-controlled oscillator changes, the resistance value is adjusted based on the bandwidth ratio calculation formula, and based on the damping coefficient calculation formula, the capacitance value is reduced by adjusting the frequency division coefficient of the pre-divider or adjusting the frequency of the signal to be processed input to the pre-divider, and the loop parameters of the phase-locked loop calculated are controlled to be within the preset margin range. It should be noted that the loop parameters of the phase-locked loop disclosed in this embodiment include bandwidth ratio and damping coefficient; the control of the frequency and phase accuracy locked by the phase-locked loop is achieved to ensure the stability of the phase-locked loop, wherein the factors measuring the stability of the phase-locked loop include the accuracy of the locked frequency phase, the locking efficiency, the oscillation rate, etc.

[0048] In step A, the resistance value is adjusted according to the operation rules specified by the bandwidth ratio calculation formula, and the capacitance value is adjusted according to the operation rules specified by the damping coefficient calculation formula, so that the resistance value and the capacitance value are adjusted at the same time, so that the calculated loop parameters of the phase-locked loop are within the preset margin range, and considering the circuit area factor, the resistance value and the capacitance value are both adjusted to be small; wherein, the calculated loop parameters of the phase-locked loop include the bandwidth ratio calculated by the bandwidth ratio calculation formula and the damping coefficient calculated by the damping coefficient calculation formula. In this embodiment, no matter how the resistance value and the capacitance value are adjusted, the calculated loop parameters of the phase-locked loop need to be within the preset margin range, including pulling the loop parameters caused by the external power supply voltage factor, Kvco change (voltage-controlled oscillator output frequency change), charge pump output current change, external input phase-locked loop crystal signal or phase-locked frequency range back to the predetermined margin range or maintaining unchanged, specifically including keeping the bandwidth ratio unchanged or within a certain margin range, and keeping the damping coefficient unchanged or within another margin range, and reducing the overall circuit area consumed as much as possible.

[0049] In particular, in step 1, in the process of controlling the loop parameters to be within a preset margin range by adjusting the resistance value and the capacitance value, considering the circuit area, the resistance value will be reduced when the gain value of the voltage-controlled oscillator increases, specifically, the resistance value of the filter resistor inside the filter is reduced. However, in order to control the loop parameters generated by the phase-locked loop to be within the preset margin range, the capacitance value may increase, which directly leads to an increase in the filter capacitor area inside the filter; therefore, in order to suppress the increase in the area of ​​the phase-locked loop, whenever an increase in the capacitance value is detected (relative to an increase in the preset initial capacitance value), then based on the damping coefficient calculation formula, by adjusting the frequency division coefficient of the pre-divider and / or adjusting the to-be-processed signal input to the pre-divider, the pre-divider frequency division coefficient is increased. The capacitance value is adjusted down according to the frequency of the signal, so that the loop parameters of the phase-locked loop are within the preset margin range under reasonable resistance value, capacitance value, gain value of the voltage-controlled oscillator and other related circuit parameters, so as to ensure that the phase-locked loop with a small area works stably and the signal frequency range output by the voltage-controlled oscillator is not easy to deviate from the established phase margin range; at the same time, under the condition that the loop parameters of the phase-locked loop are within the preset margin range, the filter capacitance value inside the filter is adjusted down to be smaller than the capacitance value initially configured, and the filter resistance value inside the filter may also be adjusted down to be smaller than the resistance value initially configured, so as to realize a configuration mode with minimized area when the loop parameters of the phase-locked loop are within the preset margin range.

[0050] Step B, configure the filter resistance value inside the filter to be equal to the resistance value adjusted by step A, and configure the filter capacitance value inside the filter to be equal to the capacitance value adjusted by step A, at the same time, configure the frequency division coefficient of the pre-frequency divider adjusted by step A to the pre-frequency divider, and input the signal to be processed adjusted by step A to the pre-frequency divider, so that the phase-locked loop starts working, and the loop parameters generated by it are within the preset margin range, the phase-locked loop not only normally locks the phase and frequency of the reference signal, but also stably outputs and locks the frequency division signal of reasonable accuracy while occupying a small area resource. Based on step B, this embodiment will set the resistance value adjusted by step A, the capacitance value adjusted by step 2, the frequency division coefficient of the pre-frequency divider adjusted by step A, and the frequency of the signal to be processed adjusted by step A to small area configuration parameters when other relevant circuit parameters (which can participate in the bandwidth ratio calculation formula and the damping coefficient calculation formula) are relatively fixed, corresponding to the configuration mode with minimized area formed in the controller. Save the manufacturing area of ​​the phase-locked loop chip.

[0051] In summary, this embodiment achieves fast and flexible control of loop parameters and ensures stable operation of the phase-locked loop by changing the capacitance and resistance values ​​in the loop filter, and by changing the frequency division coefficient in the pre-frequency divider and / or by changing the frequency of the signal to be processed input to the pre-frequency divider, and at the same time, when the loop parameters are within a certain margin range (maintaining the stable operation of the phase-locked loop), the configured filter capacitance tends to decrease and / or the filter resistance also tends to decrease, and the circuit area of ​​the corresponding phase-locked loop is reduced. The problems of phase-locked stability and excessive circuit area generated in the parameter adjustment of the phase-locked loop are overcome.

[0052] As an embodiment, the bandwidth ratio calculation formula used in the parameter adjustment method is

[0053] The derivation process of the bandwidth ratio calculation formula includes: Among them, ω c represents the loop bandwidth, ω i Indicates the frequency of the signal input to the frequency detector and phase detector, which can be the frequency of the reference signal output by the pre-divider or the frequency of the signal output by the loop divider; represents the bandwidth ratio, fo represents the frequency of the to-be-divided signal input to the loop divider, fin represents the frequency of the to-be-processed signal input externally, and the to-be-processed signal input to the pre-divider is derived from a crystal oscillator; N represents the division coefficient of the loop divider, and Pdiv represents the division coefficient of the pre-divider; R l represents the resistance value described in step A, R l It can be expressed as the filter resistance value in the filter; C l represents the capacitance value described in step A, which can be expressed as the filter capacitance value in the filter; C p Indicates the capacitance value of the reference capacitor. The reference capacitor is the capacitor in the filter other than the filter capacitor. The capacitance value of the reference capacitor is smaller than the filter capacitor value in the filter. K o represents the gain value of the voltage-controlled oscillator, which is used to represent the rate of change of the output signal frequency of the voltage-controlled oscillator relative to the control voltage of the voltage-controlled oscillator; the change of the power supply voltage required by the phase-locked loop is related to K o The source of the change in the power supply voltage required by the phase-locked loop includes the change in the process coefficient of the transistor; K d Indicates the ratio of the output current of the charge pump to its phase. In the derivation of the bandwidth ratio calculation formula, Pdiv and N support the conversion of fin to fo, and fo is set to a fixed frequency value when the loop parameters are within a preset margin range.

[0054] In the derivation process of the bandwidth ratio calculation formula, in the bandwidth ratio calculation formula, there is Then, ignoring the reference capacitance, it is equal to Among them, the capacitance value of the reference capacitor is C p Equal to 0, to offset the filter capacitor value C in the filter l ; and also cancel the frequency division coefficient N of the loop frequency divider in the bandwidth ratio calculation formula; so that the bandwidth ratio calculation formula is directly expressed as

[0055] On the other hand, the damping coefficient calculation formula used in the parameter adjustment method is The derivation process of the damping coefficient calculation formula includes: Specifically, under the premise of ignoring the reference capacitor, for example, the resistance value of the reference capacitor is close to 1pf, and the filter capacitor value C l When the damping factor reaches 160 pf, the damping factor is calculated using the following formula:

[0056]

[0057] Therefore, in this embodiment, the damping coefficient calculation formula is expressed as This cancels out the division coefficient N of the loop divider and converts fo and Pdiv in turn; where ζ is the damping coefficient.

[0058] It should be noted that the preset margin range includes a first preset margin range and a second preset margin range, and the first preset margin range is different from the second preset margin range; in this embodiment, when the bandwidth ratio is within the first preset margin range and the damping coefficient is within the second preset margin range, the loop parameters of the phase-locked loop are within the preset margin range.

[0059] Based on the above formula, the present embodiment can calculate the bandwidth ratio on the basis of offsetting some circuit parameters, where the resistance value is used to represent the resistance value of the filter resistor inside the filter, referred to as the filter resistance value. Similarly, adjusting the capacitance value according to the calculation rules specified in the damping calculation formula can calculate the damping coefficient on the basis of offsetting some circuit parameters, where the capacitance value is used to represent the capacitance value of the filter capacitor inside the filter, referred to as the filter capacitance value.

[0060] It should be noted that the frequency division method of the pre-divider is to make a ratio between the frequency fin of the signal input to the pre-divider and the frequency division coefficient Pdiv of the pre-divider to obtain the frequency of the divided signal. The pre-divider uses its frequency division coefficient as the reduction factor to complete the frequency division operation of the signal, wherein the frequency division coefficient Pdiv of the pre-divider is a positive integer. The frequency division method of the loop divider is to control the frequency of the input loop divider to be divided. The frequency of the feedback signal input to the frequency detector is obtained by making a ratio with the frequency division coefficient N of the loop frequency divider, wherein the frequency division coefficient of the loop frequency divider is a positive integer. Therefore, no matter whether the frequency of the signal to be processed increases or not, the frequency division coefficient of the pre-frequency divider and the frequency division coefficient of the loop frequency divider can be controlled to be increased or decreased at the same time, so that the frequency of the feedback signal output by the loop frequency divider to the frequency detector is equal to the frequency of the reference signal output by the pre-frequency divider.

[0061] As an embodiment, the method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-divider based on the damping coefficient calculation formula includes: configuring the fo, fin and K d Under the condition that K o When it increases, reduce the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The increase factor is equal to R l At the same time, reduce Pdiv and set the capacitance value C l The damping coefficient is controlled to be within the second preset margin range, wherein the reduction factor of Pdiv is related to the capacitance value C l The ratio of the reduction multiples is equal to K o The increase multiple of Pdiv is greater than the capacitance value C l In addition, under the same damping coefficient calculation formula, the reduction factor of Pdiv is equal to the reduction factor of the frequency division coefficient of the loop divider, so that the frequency fo of the input signal to be divided into the loop divider remains unchanged. Therefore, even if some circuit parameters have been selected, it is still possible to adjust the relevant frequency division coefficient, resistance value R l and capacitance C l The area of ​​the capacitor can be flexibly adjusted and the bandwidth ratio and the damping coefficient can be controlled within a fixed margin, thereby forming a compromise adjustment mode between the phase-locked loop circuit area and the phase-locked loop working stability. The chip circuit unit is manufactured according to the circuit parameters configured under the compromise adjustment mode, which can save chip area.

[0062] Specifically, when configuring fo, K d And fin remains unchanged, K o When the resistance value R l The bandwidth ratio is adjusted to be within the first preset margin range, and the gain value K of the voltage controlled oscillator is o In a phase-locked loop operating environment where the internal model parameters change or the power (supply voltage and current) changes, the resistance value R lIn fact, by reducing the resistance value of the filter resistor inside the filter, the gain value of the voltage-controlled oscillator is improved by reducing the resistance value of the filter resistor inside the filter. In the same bandwidth ratio calculation formula, the resistance value R l The reduction factor is equal to K o At the same time, considering the circuit area, Pdiv will be controlled to decrease, specifically by reducing the capacitance value of the filter capacitor inside the filter to improve the damping coefficient that changes due to the gain value change of the voltage-controlled oscillator and the filter resistance change (understood as indicator degradation, that is, offset from the second preset margin range), without increasing the capacitance value C l In the case of , the damping coefficient is within the second preset margin range; in the same damping coefficient calculation formula, the resistance value R l After the value is reduced, the square root value in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduced multiple is also equal to K o The square of the increase multiple; while keeping the loop parameters generated by the phase-locked loop within the preset margin range, if the capacitance C is reduced l , which actually means to reduce the value within the square root sign in the damping coefficient calculation formula; and reducing Pdiv actually means to increase the value within the square root sign in the damping coefficient calculation formula. At this time, the pre-divider frequency division coefficient K o To reduce the value, in fact, is to increase the value within the square root sign in the damping coefficient calculation formula, which is the capacitance value C l The reduction creates a larger redundancy range, and the other circuit parameters (locked signal frequency parameters, bandwidth-related parameters, and charge pump output current-related parameters) under the same damping coefficient calculation formula are relatively fixed. Among them, the reduction multiple of Pdiv is related to the capacitance value C l The ratio between the reduction multiples is configured to be equal to K o The increase factor of Pdiv is greater than the capacitance value C l The value in the square root sign in the damping coefficient calculation formula tends to increase as a whole, and the increase multiple of the value in the square root sign in the damping coefficient calculation formula is configured as K o The square of the increase multiple of K is increased, thereby suppressing K by reducing the frequency division coefficient and the capacitance value. o The impact of increasing the resistance R on the phase-locked loop can be understood as l The capacitance C l The adjustment factor is set to the resistance value R l The square of the reduction factor also overcomes the problem of setting too large a capacitance level or insufficient capacitance level in the filter. lThe reduction of capacitance C l On the basis of reducing the size, a phase-locked loop circuit parameter configuration with a small area is formed.

[0063] As an embodiment, the method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-divider based on the damping coefficient calculation formula includes: configuring fo, fin and K d Under the condition that K o When it decreases, increase the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The reduction factor is equal to R l At the same time, reduce Pdiv and increase the capacitance value C l To control the damping coefficient within the second preset margin range, the capacitance value C l The ratio of the reduction factor of Pdiv to the reduction factor of K o The reduction factor of Pdiv is less than the capacitance value C l In addition, the reduction multiple of Pdiv is equal to the reduction multiple of the frequency division coefficient of the loop divider, so that the frequency fo of the input signal to be divided into the loop divider remains unchanged. Therefore, even if some circuit parameters have been selected, it is still possible to adjust the relevant frequency division coefficient, resistance value R l and capacitance C l The area of ​​the capacitor can be flexibly adjusted and the bandwidth ratio and the damping coefficient can be controlled within a fixed margin, thereby forming a compromise adjustment mode between the phase-locked loop circuit area and the phase-locked loop working stability. The chip circuit unit is manufactured according to the circuit parameters configured under the compromise adjustment mode, which can save chip area and control the stability of the bandwidth frequency locked by the phase-locked loop.

[0064] Specifically, in this embodiment, when configuring fo, K d And fin remains unchanged, K o When the resistor value R l The bandwidth ratio is adjusted to be within the first preset margin range. In the same bandwidth ratio calculation formula, the resistance value R l The enlargement factor is equal to K o The reduction factor; in the voltage controlled oscillator gain value K o In a phase-locked loop operating environment where the internal model parameter changes or the power supply voltage and current changes and the current decreases, the resistance value R l Increase (considered as changing the filter resistance inside the filter), and the gain value K of the voltage-controlled oscillator o The reduction factor is equal to the resistance value R l The increase in the multiple is actually achieved by increasing the resistance value Rl To improve the bandwidth ratio that changes due to the gain value change of the voltage-controlled oscillator (understood as index degradation, that is, deviation from the first preset margin range); at the same time, considering the circuit area, control Pdiv to be small, and, when reducing the capacitance value C l In the case of , the damping coefficient is within the second preset margin range. In the same damping coefficient calculation formula, the gain value of the voltage-controlled oscillator changes, and the resistance value of the filter resistor also changes. In the same damping coefficient calculation formula, the resistance value R l After increasing, the value within the square root sign in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the magnification factor is also equal to K o The square of the reduction multiple; at this time, the pre-divider frequency division coefficient K o To reduce the value, in fact, is to increase the value within the square root sign in the damping coefficient calculation formula, which is the capacitance value C l The capacitance C is adjusted down to provide a redundancy range, and the other circuit parameters (locked signal frequency parameters, bandwidth-related parameters, and charge pump output current-related parameters) under the same damping coefficient calculation formula are relatively fixed. While keeping the loop parameters generated by the phase-locked loop within the preset margin range, if the capacitance C is adjusted down l , which actually means to reduce the value within the square root sign in the damping coefficient calculation formula, and the capacitance value C l The ratio between the reduction factor of and the reduction factor of Pdiv is configured to be equal to K o The reduction factor of Pdiv is smaller than the capacitance value C l The reduction multiple of the square root sign in the damping coefficient calculation formula forms a downward trend as a whole, and the reduction multiple of the square root sign in the damping coefficient calculation formula is configured as K o The square of the reduction factor is reduced, thereby suppressing the resistance value R by reducing the frequency division coefficient and the capacitance value. l The increase in the capacitance C will affect the stability of the phase-locked loop. l The reduction multiple is set to be greater than the reduction multiple of Pdiv, which compensates / balances the area increase problem caused by the increase in the resistance value of the filter resistor inside the filter, thereby realizing stability compensation in the loop of the phase-locked loop.

[0065] As an embodiment, the method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-divider based on the damping coefficient calculation formula includes: configuring fo, Pdiv and K d Under the condition that K o When it increases, reduce the resistance value R l, so that the bandwidth ratio is within the first preset margin range, where K o The increase factor is equal to R l Then increase fin and change the capacitance value C l Reduce to control the damping coefficient within the second preset margin range, where the increase factor of fin is related to the capacitance value C l The ratio of the reduction multiples is equal to K o The increase factor of fin is greater than the capacitance value C l In addition, the enlargement factor of fin is equal to the enlargement factor of the frequency division coefficient of the loop divider, so that the frequency fo of the to-be-divided signal input to the loop divider remains unchanged. In this embodiment, the enlargement factor of the frequency fin of the to-be-divided signal is greater than the capacitance value C l The frequency of the signal to be processed and the capacitance value C are adjusted down by the same damping coefficient calculation formula. l The product of increases after adjustment, but the increase is smaller than the increase of the frequency of the signal to be processed alone, because by reducing the capacitance value C l and increase the frequency fin to control the frequency fin of the signal to be processed and the capacitance value C l The increase of the product is equal to the gain value K of the voltage controlled oscillator o to offset the resistance value R l The influence of the adjustment is reduced to achieve the control damping coefficient within the second preset margin range and the bandwidth ratio within the first preset margin range. Ensure the stable operation of the phase-locked loop. Moreover, the capacitance value C l Reduce the resistance value R l By reducing the configured circuit parameters and manufacturing chip circuit units, the chip area can be saved.

[0066] Specifically, when configuring fo, K d And when Pdiv remains unchanged, K o When the resistance value R l The bandwidth ratio is adjusted to be within the first preset margin range. In the same bandwidth ratio calculation formula, the resistance value R l The reduction factor is equal to K o The resistance value R l When reducing the resistance, the square root value in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduced multiple is also equal to K oThe square of the increase multiple; in fact, the resistance value of the filter resistor inside the filter is reduced to improve the bandwidth ratio that changes due to the gain value change of the voltage-controlled oscillator (understood as indicator degradation, that is, deviation from the first preset margin range). At the same time, considering the circuit area, while keeping the loop parameters generated by the phase-locked loop circuit within the preset margin range, control fin to increase (in fact, increase the value in the square root sign in the damping coefficient calculation formula) while reducing the capacitance value C of the filter capacitor. l (In fact, it is to reduce the value within the square root sign in the damping coefficient calculation formula). Then it is necessary to increase the multiple of fin and the capacitance value C of the filter capacitor. l The ratio between the reduction multiples is configured to be equal to K o The increase multiple of the square root sign in the damping coefficient calculation formula is configured as K o The square of the increase multiple is used to improve the damping coefficient due to the change in the gain value of the voltage-controlled oscillator and the change in the filter resistance (understood as indicator degradation, that is, deviation from the second preset margin range) by reducing the capacitance value of the filter capacitor inside the filter. In the same damping coefficient calculation formula, the gain value of the voltage-controlled oscillator changes, and the resistance value R l The present embodiment reduces the frequency fin of the signal to be processed while keeping the frequency division coefficient of the pre-frequency divider unchanged. In the same damping coefficient calculation formula, the resistance value R l After the value is reduced, the square root value in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the reduction factor is also equal to the square of the increase factor of the gain value of the voltage-controlled oscillator. At this time, increasing the frequency fin of the signal to be processed is actually increasing the value within the square root sign in the damping coefficient calculation formula, and the increase factor of the frequency fin of the signal to be processed is greater than the gain value K of the voltage-controlled oscillator. o The increase factor is the capacitance value C l The reduction of the filter capacitor value C does not create the necessity, and the other circuit parameters (locked signal frequency parameters, bandwidth-related parameters, and charge pump output current-related parameters) under the same damping coefficient calculation formula are relatively fixed. l The reduction of causes the value within the square root sign in the damping coefficient calculation formula to not increase, and the relationship between the circuit area of ​​the phase-locked loop and the stability of the loop parameters generated by the phase-locked loop is balanced to form a small-area phase-locked loop circuit parameter configuration.

[0067] Therefore, in order to avoid the increase in the capacitance value of the filter capacitor from bringing a large increase in the area of ​​the phase-locked loop circuit, the present embodiment needs to compensate for the change in capacitance value by adjusting the frequency fin of the signal to be processed. Specifically, it can be understood that the capacitance value of the filter capacitor does not need to be set to the square of the resistance value of the filter resistor because the resistance value of the filter resistor inside the filter is reduced, and the problem of setting too large a capacitance gear or insufficient capacitance gear in the filter is overcome. The gain value of the increased voltage-controlled oscillator, the resistance value of the reduced filter resistor, the frequency of the signal to be processed after the increase, and the capacitance value of the reduced filter capacitor form a small area configuration of the phase-locked loop circuit. And the circuit parameters of the phase-locked loop are flexibly adjusted to achieve stability compensation in the loop of the phase-locked loop.

[0068] As an embodiment, the method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-divider based on the damping coefficient calculation formula includes: configuring fo, fin and K d Under the condition that K o When it decreases, increase the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The reduction factor is equal to R l Then increase fin and change the capacitance value C l To control the damping coefficient within the second preset margin range, the capacitance value C l The ratio of the reduction factor of to the increase factor of fin is equal to K o The reduction factor of fin is less than the capacitance value C l The increase factor of fin is equal to the decrease factor of the frequency division coefficient of the loop divider, so that the frequency fo of the signal to be divided input to the loop divider remains unchanged.

[0069] Specifically, when configuring fo, K d And when Pdiv remains unchanged, K o When the filter resistor value R l The bandwidth ratio is adjusted to be within the first preset margin range. In the same bandwidth ratio calculation formula, the resistance value R l The enlargement factor is equal to K o The reduction factor; resistance value R l After increasing, the value within the square root sign in the damping coefficient calculation formula needs to be configured as the resistance value R l The square of the magnification factor is also equal to K o The square of the reduction factor; while keeping the loop parameters generated by the phase-locked loop within the preset margin range, if the capacitance C is reducedl , which actually means reducing the value within the square root sign in the damping coefficient calculation formula; while increasing fin, which actually means increasing the value within the square root sign in the damping coefficient calculation formula. In the same damping coefficient calculation formula, the capacitance value C l The ratio between the reduction factor of and the increase factor of fin is set to be equal to K o The decrease multiple of fin is less than the capacitance value C l The frequency fin of the signal to be processed and the capacitance value C l The product of decreases after adjustment, but the decrease is less than the capacitance value C l The magnitude of the reduction is because this embodiment reduces the capacitance C l and adjust fin to control the frequency of the signal to be processed and the capacitance value C l The reduction factor of the product is equal to the gain value K of the voltage controlled oscillator o Even if fin increases, the square root value in the damping coefficient calculation formula will decrease to offset K. o The influence on the loop parameters of the phase-locked loop is reduced; thereby achieving a balance between the circuit area of ​​the phase-locked loop and the output frequency stability of the phase-locked loop, and realizing stability compensation in the loop of the phase-locked loop.

[0070] In summary of the above embodiments, the filter resistor inside the filter is adjusted according to the calculation formula of the bandwidth ratio and the capacitance value of the filter capacitor inside the filter is adjusted according to the calculation formula of the damping coefficient; based on the damping coefficient calculation formula, the capacitance value of the filter capacitor inside the filter is adjusted by changing the frequency division coefficient of the pre-frequency divider or / and the frequency of the signal to be processed for inputting the pre-frequency divider; to achieve circuit parameters (including resistance value, capacitance value, gain value of the voltage-controlled oscillator, signal frequency of the input pre-frequency divider, frequency division coefficient of the pre-frequency divider, frequency of the output signal of the loop frequency divider) or loop parameters (including loop bandwidth, bandwidth ratio and damping coefficient) that maintain a certain frequency accuracy and output reasonable values. Even if some circuit parameters have been fixed, according to the formula required for calculating the bandwidth ratio and the damping coefficient, the circuit parameters of the phase-locked loop can be flexibly adjusted to ensure stable operation of the phase-locked loop.

[0071] As an embodiment, in step B, the resistance value R adjusted in step A is l Set it as the resistance control code and adjust the capacitance value C in step B l Set as the capacitor control code; then use the resistor control code to configure the filter resistor, and set the resistance value of the filter resistor to the filter resistance value, recorded as the filter resistance value R l Or filter resistor R l; The capacitor control code is also used to configure the filter capacitor, and the capacitance value of the filter capacitor is set to the filter capacitor value, which is recorded as the filter capacitor value C l Or filter capacitor C l . Combined Figure 1 It can be seen that a set of filter resistors R1 and filter capacitors C1 connected in series are set inside the filter. The filter resistor R1 is an adjustable resistor, and its resistance value is configured by the resistance control code. The filter resistor R1 is equivalent to the filter resistor R l , which can be expressed as the filter resistance value R l ; The filter capacitor C1 is an adjustable capacitor, whose capacitance value is configured by the capacitance control code. The filter capacitor C1 is equivalent to the filter capacitor C l , which can represent the filter capacitor value C l .

[0072] Specifically, the filter resistor R1 and the filter capacitor C1 can be connected in series to form a combination of a resistance gear and a capacitance gear, which can be understood as being determined by the resistance control code and the capacitance control code. The resistance control code and the capacitance control code here are both digital coded signals. A capacitance gear can be controlled by a digital coded signal of at least one bit, and a resistance gear is controlled by a digital coded signal of at least one bit, so that the filter resistance value under the relevant resistance gear and the filter capacitance value under the relevant capacitance gear are connected to the phase-locked loop. Figure 1 As shown, one end of the filter resistor R1 and one end of the reference capacitor Cp are coupled to the output end of the charge pump, one end of the filter resistor R1 is connected to one end of the filter capacitor C1, and the other end of the reference capacitor Cp and the other end of the filter capacitor C1 are grounded to form a second-order low-pass filter, wherein the filter resistor R1 and the filter capacitor C1 are both passive devices with adjustable circuit parameters; in this embodiment, the capacitance value of the reference capacitor is less than the capacitance value of the selected capacitor, then the capacitance value of the filter capacitor inside the filter will not be less than the capacitance value of the reference capacitor, thereby reducing the influence of the capacitance value of the reference capacitor on the loop parameters of the phase-locked loop in the process of adjusting the filter capacitor and the filter resistor. Multiple resistance gears can be connected to the phase-locked loop in series with multiple different capacitance gears to form different resistance-capacitance matching modes to provide more circuit parameter selection ranges, at least to achieve the increase or decrease of the capacitance value of the filter capacitor inside the filter, and also enhance the anti-interference ability of the phase-locked loop to the gain value of the voltage-controlled oscillator, the output current of the charge pump, and the loop bandwidth, that is, the parameter adjustment range for maintaining the stable operation of the phase-locked loop is effectively expanded.

[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A circuit parameter adjustment method based on a phase-locked loop, characterized in that: The circuit parameter adjustment method is used to control a phase-locked loop, which includes a pre-divider, a frequency detector, a phase detector, a charge pump, a filter, a voltage-controlled oscillator and a loop divider that are coupled in sequence; The circuit parameter adjustment method includes: Step 1: When the gain value of the voltage-controlled oscillator changes, the resistance value is adjusted based on the bandwidth ratio calculation formula, and the capacitance value is adjusted based on the damping coefficient calculation formula, so that the calculated loop parameters of the phase-locked loop are within a preset margin range; Step 2: after the calculated loop parameters of the phase-locked loop are within a preset margin range, based on a damping coefficient calculation formula, adjusting the capacitance value by adjusting the frequency division coefficient of the pre-divider and / or adjusting the frequency of the signal to be processed input to the pre-divider, so that the loop parameters of the phase-locked loop are within the preset margin range; Step 3, configure the filter resistance value inside the filter to be equal to the resistance value adjusted in step 1, and configure the filter capacitance value inside the filter to be equal to the capacitance value adjusted in step 2. At the same time, configure the division coefficient of the pre-divider adjusted in step 2 into the pre-divider, and input the signal to be processed with the frequency adjusted in step 2 into the pre-divider.

2. The circuit parameter adjustment method according to claim 1, characterized in that: The bandwidth ratio calculation formula is Among them, ω c represents the loop bandwidth, ω i Indicates the frequency of the signal input to the phase frequency detector; represents the bandwidth ratio, fo represents the frequency of the signal to be divided which is input into the loop divider, and R l Indicates the resistance value; K o Indicates the gain value of the voltage-controlled oscillator; K d represents the ratio of the output current of the charge pump to its phase; The damping coefficient calculation formula is Among them, C l represents the capacitance value; fin represents the frequency of the signal to be processed input to the pre-divider, ζ represents the damping coefficient, and Pdiv represents the frequency division coefficient of the pre-divider; Among them, the loop parameters of the phase-locked loop include bandwidth ratio and damping coefficient.

3. The circuit parameter adjustment method according to claim 2, characterized in that: In step 1, the method for adjusting the resistance value based on the bandwidth ratio calculation formula includes: Configure the bandwidth ratio, fo and K d Under the condition that K o When the resistance value R l Reduce to make the bandwidth ratio within the first preset margin range, where the resistance value R l The reduction factor is equal to K o The increase multiple of Configure the bandwidth ratio, fo and K d Under the condition that K o When the resistance value R l Increase to make the bandwidth ratio within the first preset margin range, where the resistance value R l The enlargement factor is equal to K o The reduction multiple.

4. The circuit parameter adjustment method according to claim 3, characterized in that: In step 1, the method for adjusting the capacitance value based on the damping coefficient calculation formula includes: In configuring the bandwidth ratio, fo, K d , fin and Pdiv remain unchanged, if K o Increase and the resistance value R l decrease, then the capacitance C l Increase so that the damping coefficient is within a second preset margin range and the bandwidth ratio is within a first preset margin range; In configuring the bandwidth ratio, fo, K d , fin and Pdiv remain unchanged, if K o Reduce and the resistance value R l Increase, then the capacitance C l Decrease so that the damping coefficient is within a second preset margin range and the bandwidth ratio is within a first preset margin range; Wherein, the preset margin range includes a first preset margin range and a second preset margin range, and the first preset margin range is different from the second preset margin range; When the bandwidth ratio is within the first preset margin range and the damping coefficient is within the second preset margin range, the loop parameters of the phase-locked loop are within the preset margin range.

5. The circuit parameter adjustment method according to claim 4, characterized in that: In step 1, if the gain value K of the voltage controlled oscillator is o Increase, then the resistance value R l Reduce to control the bandwidth ratio within the first preset margin range, and then in step 1, reduce the capacitance value C l Increase to control the damping coefficient within the second preset margin range; wherein the gain value K of the voltage controlled oscillator o The increase factor is equal to the capacitance value C l The capacitance value C l When calculating according to the damping coefficient calculation formula, it is not adjusted to increase in square multiples.

6. The circuit parameter adjustment method according to claim 5, characterized in that: In step 2, the method of adjusting the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: Step 1 In K o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to be within the preset margin range, the bandwidth ratio, fo, K o , R l , K d If Pdiv is reduced and fin remains unchanged, C l The damping coefficient is adjusted down to be within the second preset margin range, wherein the reduction factor of Pdiv is equal to C l The reduction multiple of Pdiv is equal to the reduction multiple of the division coefficient of the loop divider, so that the frequency of the signal to be divided input to the loop divider remains unchanged.

7. The circuit parameter adjustment method according to claim 5, characterized in that: In step 2, the method for adjusting the capacitance value by adjusting the frequency of the signal to be processed input to the pre-divider based on the damping coefficient calculation formula also includes: Step 1 In K o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to be within the preset margin range, the bandwidth ratio, fo, R l , K d , Pdiv and K o If fin is increased, C l Reduce to make the damping coefficient within the second preset margin range, where the increase factor of fin is equal to C l The reduction multiple of fin is equal to the reduction multiple of the division coefficient of the loop divider, so that the frequency of the signal to be divided input to the loop divider remains unchanged.

8. The circuit parameter adjustment method according to claim 5, characterized in that: In step 2, the method for adjusting the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider and adjusting the frequency of the signal to be processed input to the pre-frequency divider based on the damping coefficient calculation formula also includes: Step 1 In K o In the case of increasing the resistance value R l Reduce the capacitance C l After increasing the calculated loop parameters of the phase-locked loop to be within the preset margin range, the bandwidth ratio, fo, R l , K d and K o If fin is increased and Pdiv is decreased, then C l The damping coefficient is controlled to be within the second preset margin range, wherein the product of the reduction factor of Pdiv and the increase factor of fin is equal to C l The product of the reduction multiple of Pdiv and the increase multiple of fin is equal to the reduction multiple of the division coefficient of the loop divider, so that the frequency of the signal to be divided input to the loop divider remains unchanged.

9. The circuit parameter adjustment method according to any one of claims 5 to 8, characterized in that: The frequency division method of the pre-divider is to compare the frequency fin of the signal input to the pre-divider with the frequency division coefficient Pdiv of the pre-divider to obtain the frequency of the divided signal. Wherein, the frequency division coefficient of the pre-divider is a positive integer; The frequency division method of the loop divider is to control the frequency of the signal input to the loop divider. The frequency of the feedback signal input to the frequency detector and phase detector is obtained by making a ratio with the frequency division coefficient N of the loop frequency divider, wherein the frequency division coefficient of the loop frequency divider is a positive integer.

10. The circuit parameter adjustment method according to claim 5, characterized in that: In step 3, the resistance value adjusted in step 1 is set as the resistance control code, and the capacitance value adjusted in step 2 is set as the capacitance control code; A filter resistor is configured using a resistor control code, and a resistance value of the filter resistor is set as a filter resistance value; A filter capacitor is configured using a capacitor control code, and a capacitance value of the filter capacitor is set to a filter capacitor value; A group of filter resistors and filter capacitors connected in series are arranged inside the filter. The filter resistor is an adjustable resistor, and its resistance value is configured by the resistor control code; the filter capacitor is an adjustable capacitor, and its capacitance value is configured by the capacitor control code.

11. A parameter adjustment method based on a phase-locked loop, characterized in that: The parameter adjustment method is used to control a phase-locked loop, which includes a pre-divider, a frequency detector, a phase detector, a charge pump, a filter, a voltage-controlled oscillator and a loop divider coupled in sequence; The parameter adjustment method includes: Step A, when the gain value of the voltage-controlled oscillator changes, the resistance value is adjusted based on the bandwidth ratio calculation formula, and based on the damping coefficient calculation formula, the capacitance value is reduced by adjusting the frequency division coefficient of the pre-divider or adjusting the frequency of the to-be-processed signal input to the pre-divider, and the loop parameters of the phase-locked loop calculated are controlled to be within a preset margin range; Step B, configure the filter resistance value inside the filter to be equal to the resistance value adjusted in step A, and configure the filter capacitance value inside the filter to be equal to the capacitance value adjusted in step A. At the same time, configure the division coefficient of the pre-divider adjusted in step A into the pre-divider, and input the signal to be processed adjusted in step A into the pre-divider.

12. The parameter adjustment method according to claim 11, characterized in that: The bandwidth ratio calculation formula is Among them, ω c represents the loop bandwidth, ω i Indicates the frequency of the signal input to the phase frequency detector; represents the bandwidth ratio, fo represents the frequency of the signal to be divided which is input into the loop divider, and R l Represents the resistance value described in step A; K o Indicates the gain value of the voltage-controlled oscillator; K d represents the ratio of the output current of the charge pump to its phase; The damping coefficient calculation formula is Among them, C l represents the capacitance value described in step A; fin represents the frequency of the signal to be processed input to the pre-divider, ζ represents the damping coefficient, and Pdiv represents the frequency division coefficient of the pre-divider; Among them, the loop parameters of the phase-locked loop include bandwidth ratio and damping coefficient; Wherein, the preset margin range includes a first preset margin range and a second preset margin range, and the first preset margin range is different from the second preset margin range; When the bandwidth ratio is within the first preset margin range and the damping coefficient is within the second preset margin range, the loop parameters of the phase-locked loop are within the preset margin range.

13. The parameter adjustment method according to claim 12, characterized in that: The method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: Configure fo, fin, and K d Under the condition that K o When it increases, reduce the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The increase factor is equal to R l At the same time, reduce Pdiv and set the capacitance value C l The damping coefficient is controlled to be within the second preset margin range, wherein the reduction factor of Pdiv is related to the capacitance value C l The ratio of the reduction multiples is equal to K o The increase multiple of Pdiv is greater than the capacitance value C l The reduction multiple.

14. The parameter adjustment method according to claim 12, characterized in that: The method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: Configure fo, fin, and K d Under the condition that K o When it decreases, increase the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The reduction factor is equal to R l At the same time, reduce Pdiv and increase the capacitance value C l To control the damping coefficient within the second preset margin range, the capacitance value C l The ratio of the reduction factor of Pdiv to the reduction factor of K o The reduction factor of Pdiv is less than the capacitance value C l The reduction multiple.

15. The parameter adjustment method according to claim 12, characterized in that: The method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: Configure fo, Pdiv, and K d Under the condition that K o When it increases, reduce the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The increase factor is equal to R l At the same time, increase fin and change the capacitance value C l Reduce to control the damping coefficient within the second preset margin range, where the increase factor of fin is related to the capacitance value C l The ratio of the reduction multiples is equal to K o The increase factor of fin is greater than the capacitance value C l The reduction multiple.

16. The parameter adjustment method according to claim 12, characterized in that: The method of adjusting the resistance value based on the bandwidth ratio calculation formula and reducing the capacitance value by adjusting the frequency division coefficient of the pre-frequency divider based on the damping coefficient calculation formula includes: Configure fo, fin, and K d Under the condition that K o When it decreases, increase the resistance value R l , so that the bandwidth ratio is within the first preset margin range, where K o The reduction factor is equal to R l Increase the multiple; at the same time, increase fin and change the capacitance value C l To control the damping coefficient within the second preset margin range, the capacitance value C l The ratio of the reduction factor of to the increase factor of fin is equal to K o The reduction factor of fin is less than the capacitance value C l The reduction multiple.

17. The parameter adjustment method according to any one of claims 13 to 16, characterized in that: The frequency division method of the pre-divider is to compare the frequency fin of the signal input to the pre-divider with the frequency division coefficient Pdiv of the pre-divider to obtain the frequency of the divided signal. Wherein, the frequency division coefficient of the pre-divider is a positive integer; The frequency division method of the loop divider is to control the frequency of the signal input to the loop divider. The frequency of the feedback signal input to the frequency detector and phase detector is obtained by making a ratio with the frequency division coefficient N of the loop frequency divider, wherein the frequency division coefficient of the loop frequency divider is a positive integer.