Bandwidth adjustment circuit, method, device, product, medium and phase-locked loop circuit
By designing a bandwidth adjustment circuit in the phase-locked loop circuit to adaptively adjust the charge and discharge current of the charge pump and the zero and pole points of the filter, the problem of noise suppression and stability limited by fixed bandwidth is solved, and the bandwidth can be dynamically adjusted according to demand to improve effects on system performance.
Patent Information
- Application Number
- CN202410866668.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-01
AI Technical Summary
The loop bandwidth in the phase-locked loop circuit is fixed, which limits the noise suppression capability and locking time, making it impossible to adjust system performance according to actual needs, resulting in unstable performance under different operating conditions.
Design a bandwidth adjustment circuit that dynamically adjusts the bandwidth according to the input voltage of the voltage controlled oscillator and the expected voltage controlled voltage by adaptively adjusting the charge and discharge current of the charge pump and the zero and pole points of the filter, and uses the error circuit and control circuit to calculate and generate Control signal to adjust the switching circuit state to achieve bandwidth adjustment.
It improves the noise suppression capability and stability, ensures the stable operation of the phase-locked loop circuit under different working conditions, and can dynamically adjust the bandwidth according to actual needs to meet system performance requirements.
Smart Images

Figure CN118399954B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit design, and in particular to a bandwidth adjustment circuit, method, device, product, medium and phase-locked loop circuit. Background Art
[0002] The function of the phase-locked loop circuit is to align or lock the phase and frequency of the input signal with the reference signal to ensure stable operation of the system. At present, the loop bandwidth in the phase-locked loop circuit is fixed, which limits its noise suppression ability and locking time to a certain extent. Specifically, the loop bandwidth determines the response speed and stability of the phase-locked loop system. The inability to adjust the bandwidth means that the system performance cannot be adjusted according to actual needs, which may cause the system to be unstable under different working conditions. Summary of the invention
[0003] The purpose of the present invention is to provide a bandwidth adjustment circuit, method, device, product, medium and phase-locked loop circuit, which can dynamically adjust the bandwidth according to actual needs, thereby improving noise suppression capability and stability. At the same time, the performance of the phase-locked loop circuit can also be adjusted according to different working conditions to ensure stable operation.
[0004] In a first aspect, the present application provides a bandwidth adjustment circuit, which is applied to a phase-locked loop circuit, wherein the phase-locked loop circuit further includes a charge pump, a filter, and a voltage-controlled oscillator connected in sequence;
[0005] The bandwidth adjustment circuit comprises an adaptive adjustment circuit, the input end of the adaptive adjustment circuit is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the adaptive adjustment circuit is respectively connected to the control end of the charge pump and / or the control end of the filter;
[0006] The adaptive adjustment circuit is used to adjust the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator;
[0007] The desired voltage-controlled voltage is determined according to a characteristic curve of the voltage-controlled voltage and the output frequency of the voltage-controlled oscillator, the charge-discharge current and the bandwidth of the phase-locked loop have a first preset relationship, and the zero-pole and the bandwidth of the phase-locked loop have a second preset relationship.
[0008] Wherein, the adaptive adjustment circuit includes an error circuit and a control circuit;
[0009] The input end of the error circuit is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the error circuit is respectively connected to the control end of the charge pump and / or the control end of the filter through the control circuit;
[0010] The error circuit is used to calculate the difference between the current voltage-controlled voltage and the expected voltage-controlled voltage according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator;
[0011] The control circuit is used to adjust the state of its own switching circuit according to the difference, so as to output a first control signal to the control end of the charge pump to adjust the charge and discharge current of the charge pump, and / or output a second control signal to the control end of the filter to adjust the zero poles of the filter.
[0012] Wherein, the error circuit includes a subtractor and a multiplier;
[0013] The input end of the subtractor is respectively connected to the input end of the voltage-controlled oscillator, the output end of the filter, the first input end of the multiplier, and the device for outputting the desired voltage-controlled voltage; the output end of the subtractor is connected to the second input end of the multiplier; and the output end of the multiplier is connected to the control circuit.
[0014] Wherein, the control circuit includes a current generating circuit;
[0015] The input end of the current generating circuit is connected to the output end of the error circuit, and the output end of the current generating circuit is connected to the control end of the charge pump;
[0016] The current generating circuit is used to adjust the current value outputted by itself according to the difference value outputted by the error circuit, and to superimpose the current value on the charge and discharge current of the charge pump to adjust the charge and discharge current of the charge pump.
[0017] Wherein, the control circuit also includes a drive circuit;
[0018] The input end of the driving circuit is connected to the output end of the error circuit, and the output end of the driving circuit is connected to the current generating circuit;
[0019] The driving circuit is used to generate a driving signal according to the difference output by the error circuit, so as to drive the current generating circuit to adjust the current value outputted by the current generating circuit.
[0020] Wherein, the driving circuit includes an integration circuit;
[0021] The input end of the integration circuit is connected to the output end of the error circuit, and the output end of the integration circuit is connected to the current generating circuit;
[0022] The integration circuit is used to integrate the difference output by the error circuit to obtain an integrated value;
[0023] The current generating circuit is specifically used to output a first current according to the integrated value to adjust the discharge current of the charge pump when the integrated value is positive, and to output a second current according to the integrated value to adjust the charging current of the charge pump when the integrated value is negative.
[0024] Wherein, the charge pump comprises a first switch tube and a second switch tube;
[0025] The first output end of the current generating circuit is connected to the first end of the first switch tube, the second output end of the current generating circuit is connected to the second end of the second switch tube, the second end of the first switch tube is connected to the first end of the second switch tube and is connected to the input end of the filter as the output end of the charge pump;
[0026] The first switch tube is used to be turned on when the charge pump is discharging;
[0027] The second switch tube is used to be turned on when the charge pump is charging;
[0028] The current generating circuit is specifically used to output the first current through its own first output terminal when the integral value is positive, and to add the first current to the first switch tube to adjust the discharge current of the charge pump; when the integral value is negative, the current generating circuit is specifically used to output the second current through its own second output terminal when the integral value is positive, and to add the second current to the second switch tube to adjust the charging current of the charge pump.
[0029] Wherein, the current generating circuit includes a third switch tube, a fourth switch tube, a fifth switch tube and a sixth switch tube;
[0030] The first end of the third switch tube is respectively connected to the first output end of the integration circuit, the control end of the third switch tube and the control end of the fourth switch tube, the second end of the third switch tube is respectively connected to the second end of the fourth switch tube and the ground end, and the first end of the fourth switch tube is connected to the first end of the first switch tube as the first output end of the current generating circuit;
[0031] The first end of the fifth switch tube is respectively connected to the second output end of the integration circuit, the control end of the fifth switch tube and the control end of the sixth switch tube, the second end of the fifth switch tube is respectively connected to the second end of the sixth switch tube and the power supply end, and the first end of the sixth switch tube is connected to the second end of the second switch tube as the second output end of the current generating circuit;
[0032] The third switch tube is used to be turned on when the integral value is positive; when the third switch tube is turned on, the current on the third switch tube is a third current;
[0033] The fourth switch tube is used to be turned on when the third switch tube is turned on. When the fourth switch tube is turned on, the current on the fourth switch tube is the first current, and the first current is a preset multiple of the third current;
[0034] The fifth switch tube is used to be turned on when the integral value is negative; when the fifth switch tube is turned on, the current on the fifth switch tube is a fourth current;
[0035] The sixth switch tube is used to be turned on when the fifth switch tube is turned on. When the sixth switch tube is turned on, the current on the sixth switch tube is the second current, and the second current is a preset multiple of the fourth current.
[0036] The driving circuit includes eight switching tubes and a constant current source, wherein the first end of the seventh switching tube, the first end of the eighth switching tube, the first end of the ninth switching tube and the first end of the tenth switching tube are all connected to the power supply end; the second end of the seventh switching tube is respectively connected to the first end of the eleventh switching tube, the control end of the eleventh switching tube and the control end of the twelfth switching tube, the second end of the eleventh switching tube and the second end of the twelfth switching tube are both grounded, the first end of the twelfth switching tube is connected to the current generating circuit as the second output end of the driving circuit, and the control end of the seventh switching tube is respectively connected to the first end of the eleventh switching tube, the control end of the eleventh switching tube and the control end of the twelfth switching tube. The control end and the second end of the eighth switch tube are connected to the first end of the thirteenth switch tube, the control end of the ninth switch tube is respectively connected to the second end of the ninth switch tube, the first end of the fourteenth switch tube, and the control end of the tenth switch tube, and the second end of the tenth switch tube is connected to the current generating circuit as the first output end of the driving circuit; the second end of the thirteenth switch tube is grounded through the constant current source, and the second end of the fourteenth switch tube is grounded through the constant current source; the control end of the thirteenth switch tube is connected to the negative output end of the error circuit, and the control end of the fourteenth switch tube is connected to the positive output end of the error circuit;
[0037] The thirteenth switch tube, the ninth switch tube and the tenth switch tube are turned on when the positive output terminal of the error circuit outputs a high level, so as to drive the current generating circuit to generate a first current, so as to adjust the discharge current of the charge pump;
[0038] The twelfth switch tube, the eighth switch tube, the seventh switch tube, the eleventh switch tube and the twelfth switch tube are turned on when the negative output terminal of the error circuit outputs a high level to drive the current generating circuit to generate a second current to adjust the charging current of the charge pump.
[0039] Wherein, the control circuit also includes a zero-pole adjustment circuit;
[0040] The input end of the zero-pole adjustment circuit is connected to the output end of the error circuit, and the output end of the zero-pole adjustment circuit is connected to the control end of the filter;
[0041] The zero-pole adjustment circuit is used to adjust the resistance value of the resistor element in the filter to adjust the zero-pole of the filter.
[0042] Wherein, the filter comprises a linear device, a first capacitor and a second capacitor;
[0043] The control end of the linear device serves as the control end of the filter, the first end of the linear device is respectively connected to the control end of the linear device and the first end of the second capacitor, the second end of the linear device is grounded through the first capacitor, and the second end of the second capacitor is grounded.
[0044] Wherein, the linear device comprises a transistor, the control end of the transistor serves as the control end of the linear device, the first end of the transistor serves as the first end of the linear device, and the second end of the transistor serves as the second end of the linear device;
[0045] The control end of the transistor is respectively connected to the second end of the first switch tube and the first end of the second switch tube in the charge pump.
[0046] In a second aspect, the present application provides a phase-locked loop circuit, comprising the bandwidth adjustment circuit described above, and also comprising a charge pump, a filter and a voltage-controlled oscillator connected in sequence, wherein the bandwidth adjustment circuit is respectively connected to the voltage-controlled oscillator, the charge pump and / or the filter.
[0047] In a third aspect, the present application provides a bandwidth adjustment method, which is applied to the bandwidth adjustment circuit described above, and the bandwidth control method includes:
[0048] Acquire a desired voltage-controlled voltage input by a user and a current voltage-controlled voltage at an input end of a voltage-controlled oscillator in the phase-locked loop;
[0049] Adjusting the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage;
[0050] The desired voltage-controlled voltage is determined according to a characteristic curve of the voltage-controlled voltage and the output frequency of the voltage-controlled oscillator, the charge-discharge current and the bandwidth of the phase-locked loop have a first preset relationship, and the zero-pole and the bandwidth of the phase-locked loop have a second preset relationship.
[0051] Wherein, adjusting the charge and discharge current of the charge pump according to the current voltage-controlled voltage and the expected voltage-controlled voltage includes:
[0052] Calculating a difference between the current voltage-controlled voltage and the desired voltage-controlled voltage;
[0053] A first current is generated according to the difference to adjust the discharge current of the charge pump, or a second current is generated according to the difference to adjust the charge current of the charge pump.
[0054] The method of generating a first current according to the difference to adjust the discharge current of the charge pump, or generating a second current according to the difference to adjust the charge current of the charge pump, comprises:
[0055] When the difference is positive, generating the first current and superimposing it on the discharge current of the charge pump to adjust the discharge current of the charge pump;
[0056] When the difference is negative, the second current is generated and superimposed on the charging current of the charge pump to adjust the charging current of the charge pump.
[0057] The resistance element in the filter is a linear device, and adjusting the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage includes:
[0058] Adjusting a control signal for controlling the linear device according to the current voltage-controlled voltage and the expected voltage-controlled voltage;
[0059] Adjusting the conduction degree of the linear device according to the control signal to adjust the resistance value of the linear device;
[0060] There is a third preset relationship between the resistance of the linear device and the zero poles of the filter.
[0061] In a fourth aspect, the present application provides a bandwidth adjustment device, including:
[0062] Memory for storing computer programs;
[0063] The processor is used to implement the steps of the bandwidth adjustment method described above when executing a computer program.
[0064] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the bandwidth adjustment method described above when executed by a processor.
[0065] In a sixth aspect, the present application provides a non-volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the bandwidth adjustment method described above are implemented.
[0066] The present invention provides a bandwidth adjustment circuit, method, device, product, medium and phase-locked loop circuit, which relates to the field of circuit design and is used to solve the problem that the bandwidth of the phase-locked loop circuit cannot be adjusted. In the circuit, the adaptive adjustment circuit can dynamically adjust the charge and discharge current of the charge pump and / or the zero pole of the filter according to the input voltage of the voltage-controlled oscillator and the expected voltage-controlled voltage, thereby realizing the adjustment of the bandwidth, and the expected voltage-controlled voltage is determined according to the characteristic curve of the voltage-controlled voltage and the output frequency of the voltage-controlled oscillator to ensure the accuracy of the bandwidth adjustment. It can be seen that the bandwidth adjustment circuit in the present application, the phase-locked loop circuit can dynamically adjust the bandwidth according to actual needs, thereby improving the noise suppression capability and stability, and can also adjust the performance of the phase-locked loop circuit according to different working conditions to ensure stable operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0068] Figure 1 A schematic diagram of a bandwidth adjustment circuit provided by the present invention;
[0069] Figure 2 A schematic diagram of a characteristic curve of voltage-controlled voltage and output frequency of a voltage-controlled oscillator provided by the present invention;
[0070] Figure 3 A schematic diagram of an adaptive adjustment circuit provided by the present invention;
[0071] Figure 4 A schematic diagram of a specific structure of an adaptive adjustment circuit provided by the present invention;
[0072] Figure 5 A specific circuit diagram of a control circuit provided by the present invention;
[0073] Figure 6 A schematic diagram of a filter provided by the present invention;
[0074] Figure 7 The present invention provides a flow chart of a bandwidth adjustment method. DETAILED DESCRIPTION
[0075] The core of the present invention is to provide a bandwidth adjustment circuit, method, device, product, medium and phase-locked loop circuit. The phase-locked loop circuit can dynamically adjust the bandwidth according to actual needs, thereby improving noise suppression capability and stability. At the same time, the performance of the phase-locked loop circuit can also be adjusted according to different working conditions to ensure stable operation.
[0076] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0077] Before describing this embodiment, the principle of the phase-locked loop circuit is explained first. Specifically, taking a third-order phase-locked loop as an example, the formula for the loop bandwidth is: , where is the loop bandwidth K VCO is the gain of the voltage controlled oscillator, which depends on the specific circuit of the voltage controlled oscillator. When the circuit is set, K VCO It can be regarded as a constant, N is the frequency division ratio of the divider, I cp is the charge and discharge current of the charge pump, and R is the equivalent resistance of the filter. From this formula, it can be seen that to achieve adaptive bandwidth, the charge and discharge current of the charge pump can be adaptively controlled.
[0078] Assumption I BP is the voltage controlled oscillator voltage V ctrl Control can be expressed as: , where β is a constant, V th It is the turn-on voltage of the MOS (Metal-Oxide-Semiconductor Field-Effect Transistor) tube, Vc is the output of the charge pump or the input voltage of the filter, combined with the N proportional coefficient to convert Icp and I BP Connect, that is, I BP =N•I cp .
[0079] In addition, while achieving bandwidth adaptation, a certain phase margin needs to be guaranteed. The following formula shows that the phase margin is not only related to the loop bandwidth, but also to the zero and pole points of the filter. The zero and pole points of the filter need to be adaptively changed.
[0080] , in a third-order phase-locked loop, the zero poles can be expressed as:
[0081] .
[0082] In the formula, represents the phase angle, represents the zero point, represents the pole, R1 is the equivalent resistance of the linear device in the filter, C1 and C2 are the first capacitor and the second capacitor in the filter. This embodiment uses MOS tube to realize variable resistance, as follows: , where V c The output voltage of the charge pump or the input voltage of the filter is used.
[0083] First, as Figure 1 As shown, the present application provides a bandwidth adjustment circuit, which is applied to a phase-locked loop circuit, and the phase-locked loop circuit also includes a charge pump, a filter and a voltage-controlled oscillator connected in sequence;
[0084] The bandwidth adjustment circuit comprises an adaptive adjustment circuit 11, the input end of the adaptive adjustment circuit 11 is respectively connected to the input end of the voltage controlled oscillator and the output end of the filter, and the output end of the adaptive adjustment circuit 11 is respectively connected to the control end of the charge pump and / or the control end of the filter;
[0085] An adaptive adjustment circuit 11, used for adjusting the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator;
[0086] The desired voltage control voltage is determined according to the characteristic curve of the voltage control voltage and output frequency of the voltage controlled oscillator (such as Figure 2 As shown in FIG. 1 ), there is a first preset relationship between the charge and discharge current and the bandwidth of the phase-locked loop, and there is a second preset relationship between the zero pole and the bandwidth of the phase-locked loop.
[0087] In this embodiment, the bandwidth adjustment circuit is specially designed for a phase-locked loop (PLL) circuit and is used to dynamically adjust the loop bandwidth of the PLL. The PLL circuit usually includes a charge pump (CP), a filter (usually a low-pass filter, such as an RC filter) and a voltage-controlled oscillator (VCO). The loop bandwidth determines the response speed of the PLL to changes in the phase and frequency of the input signal, as well as its ability to suppress noise.
[0088] The adaptive adjustment circuit 11 is the core part of the bandwidth adjustment circuit. The adaptive adjustment circuit 11 receives the control voltage from the input terminal of the VCO (i.e., the control voltage of the VCO, usually referred to as V ctrl ) as input. The expected voltage control voltage is predetermined based on the characteristic curve of the VCO voltage control voltage and output frequency (e.g. Figure 2As shown, for example: when the output frequency of the voltage-controlled oscillator is the first frequency, the reference frequency is the first frequency / N, and the expected voltage-controlled voltage is the first voltage; similarly, when the output frequency is the second frequency, the expected voltage-controlled voltage is the second voltage; when the output frequency is the third frequency, the expected voltage-controlled voltage is the third voltage), it is used to indicate the steady-state operating point that the PLL should reach. The adaptive adjustment circuit 11 generates one or more control signals by comparing the current voltage-controlled voltage with the expected voltage-controlled voltage. These control signals are used to adjust the charge and discharge current of the charge pump or the zero poles of the filter (or both), thereby changing the loop bandwidth of the PLL.
[0089] Among them, the charge pump is a key component in the PLL. It provides or extracts charge (i.e., current) to the filter according to the output signal of the phase detector. The size of the charge and discharge current directly affects the output voltage of the filter (i.e., the control voltage of the VCO), which in turn affects the output frequency of the VCO. The filter (usually an RC filter) is used to smooth the output current of the charge pump (filter out high-frequency signals) and generate a stable control voltage. The zeros and poles of the filter determine its response characteristics to signals of different frequencies, thereby affecting the loop bandwidth of the PLL. The voltage-controlled oscillator (VCO) is a voltage-controlled frequency source. Its output frequency depends on its control voltage (i.e., the output voltage of the filter). When the control voltage changes, the output frequency of the VCO will also change accordingly, thereby achieving phase and frequency alignment with the input signal. Figure 1 In the N-stage frequency divider, it is generally composed of several binary frequency dividers. The phase detector is used to realize the reference clock signal clk ref and feedback clock signal clk fed The phase comparison generates a phase pulse signal which is input to the charge pump.
[0090] The working principle of this embodiment is as follows: after the PLL circuit is started, the adaptive adjustment circuit 11 first reads the expected voltage control voltage value. This value is predetermined based on the characteristic curve of the voltage control voltage and the output frequency of the VCO (such as user input, etc.). The adaptive adjustment circuit 11 continuously monitors the current voltage control voltage of the VCO and compares the current voltage control voltage with the expected voltage control voltage to evaluate whether the PLL is at a steady-state operating point. If there is a deviation between the current voltage control voltage and the expected voltage control voltage, the adaptive adjustment circuit 11 will generate one or more control signals, which are used to adjust the charge and discharge current of the charge pump or the zero pole of the filter (or both). By changing the charge and discharge current of the charge pump, the rate of change of the output voltage of the filter can be changed, thereby affecting the loop bandwidth of the PLL, wherein the relationship between the charge and discharge current and the loop bandwidth is preset (i.e., the first preset relationship). By changing the zero pole of the filter, its response characteristics to signals of different frequencies can be changed, thereby adjusting the loop bandwidth of the PLL. The relationship between the zero pole and the loop bandwidth is also preset (i.e., the second preset relationship). After adjustment, the output voltage of the filter (i.e., the control voltage of the VCO) will change, causing the output frequency of the VCO to change. This in turn affects the output of the phase detector, forming a closed-loop feedback system. Over time, the PLL will gradually reach a steady-state operating point, at which time the current voltage control voltage will be close to or equal to the desired voltage control voltage.
[0091] Since the PLL may need to operate under different operating conditions (for example, the frequency or phase of the input signal may change), the adaptive adjustment circuit 11 provided in this embodiment will continuously monitor and adjust the loop bandwidth of the PLL to ensure that the system can operate stably under different conditions.
[0092] Based on the above embodiments:
[0093] like Figure 3 As shown, in one embodiment, the adaptive adjustment circuit 11 includes an error circuit 21 and a control circuit 22; the input end of the error circuit 21 is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the error circuit 21 is respectively connected to the control end of the charge pump and / or the control end of the filter through the control circuit 22; the error circuit 21 is used to calculate the difference between the current voltage-controlled voltage and the expected voltage-controlled voltage according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator; the control circuit 22 is used to adjust the state of its own switching circuit according to the difference, so as to output a first control signal to the control end of the charge pump to adjust the charge and discharge current of the charge pump, and / or output a second control signal to the control end of the filter to adjust the zero pole of the filter.
[0094] In this embodiment, the adaptive adjustment circuit 11 is further subdivided into two parts including an error circuit 21 and a control circuit 22. This structure enables the adaptive adjustment circuit 11 to more accurately adjust the loop bandwidth of the phase-locked loop (PLL) according to the current working state.
[0095] Specifically, the error circuit 21 can directly obtain the current VCO input voltage (i.e., voltage-controlled voltage) and the output voltage of the filter. The main function of the error circuit 21 is to calculate the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage, which reflects the gap between the current working state of the PLL and its ideal steady state. The output end of the error circuit 21 is connected to the control circuit 22, and the signal it outputs is a signal representing the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage. The control circuit 22 adjusts the state of its own switching circuit according to the received difference signal, and the state change of the switching circuit will directly affect the control signal output by the control circuit 22. The output end of the control circuit 22 is respectively connected to the control end of the charge pump and / or the control end of the filter, which means that the control circuit 22 can directly control the charge and discharge current of the charge pump and / or the zero pole of the filter.
[0096] Specifically, when the control circuit 22 receives the difference signal from the error circuit 21, it will adjust the first control signal according to the difference signal, and the first control signal is used to control the charge and discharge current of the charge pump. The change of the charge and discharge current will directly affect the output voltage of the filter (i.e., the control voltage of the VCO), thereby adjusting the loop bandwidth of the PLL. In some embodiments, the control circuit 22 can also output a second control signal for adjusting the zero poles of the filter. The change of the zero poles will change the response characteristics of the filter to signals of different frequencies, thereby adjusting the loop bandwidth of the PLL. After adjustment, the loop bandwidth of the PLL will change, affecting the output frequency of the VCO. This in turn affects the calculation results of the error circuit 21, forming a closed-loop control system.
[0097] It can be seen that this embodiment provides a more detailed and accurate implementation of the adaptive adjustment circuit 11, so that the loop bandwidth of the PLL can be adjusted more accurately according to the current working state.
[0098] like Figure 4 As shown, in one embodiment, the error circuit 21 includes a subtractor and a multiplier; the input end of the subtractor is respectively connected to the input end of the voltage-controlled oscillator, the output end of the filter, the first input end of the multiplier, and the device for outputting the desired voltage-controlled voltage, the output end of the subtractor is connected to the second input end of the multiplier, and the output end of the multiplier is connected to the control circuit 22.
[0099] In this embodiment, the error circuit 21 is further refined to include two main components: a subtractor and a multiplier. This structure allows the error circuit 21 to calculate the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage in a more accurate and flexible manner, and generate a control signal accordingly.
[0100] Specifically, the input of the subtractor receives the current voltage-controlled voltage from the voltage-controlled oscillator (VCO). The main function of the subtractor is to obtain the current voltage-controlled voltage from the current voltage-controlled voltage. V ctrl Subtract the desired voltage control voltage from V pre (or the expected voltage-controlled voltage after multiplying it by a certain weight), thus obtaining the difference between the two V e The difference represents the difference between the current working state of the PLL and its ideal steady state. The function of the multiplier is to scale or adjust the difference signal. This can be used to change the sensitivity or dynamic range of the control signal to adapt to different application scenarios or working conditions. The output of the multiplier is connected to the control circuit 22, and the output is the scaled or adjusted difference signal. V s , as the input of the control circuit 22, is used to guide the loop bandwidth adjustment of the PLL. The control circuit 22 adjusts the state of the switch circuit according to the received difference signal and generates a corresponding control signal for adjusting the charge and discharge current of the charge pump and / or the zero pole of the filter.
[0101] This embodiment provides a specific implementation of the error circuit 21, which makes the error calculation and adjustment process more accurate and flexible.
[0102] In one embodiment, the control circuit 22 includes a current generating circuit 32; the input end of the current generating circuit 32 is connected to the output end of the error circuit 21, and the output end of the current generating circuit 32 is connected to the control end of the charge pump; the current generating circuit 32 is used to adjust the current value of its own output according to the difference output by the error circuit 21, and superimpose the current value on the charge and discharge current of the charge pump to adjust the charge and discharge current of the charge pump.
[0103] In this embodiment, the control circuit 22 may include a current generating circuit 32. The main function of the current generating circuit 32 is to adjust the current value outputted by the error circuit 21 according to the difference signal outputted by the error circuit 21, and to superimpose the current value on the charge and discharge current of the charge pump, thereby realizing dynamic adjustment of the charge and discharge current of the charge pump.
[0104] Specifically, the current generating circuit 32 directly receives the difference signal from the error circuit 21, which indicates the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage. The main function of the current generating circuit 32 is to dynamically adjust the current value of its output according to the received difference signal. This adjustment process can be achieved through internal amplification, conversion or modulation circuits. The magnitude and direction of the difference signal determine the magnitude and direction of the output current of the current generating circuit 32. The current value output by the current generating circuit 32 will be directly superimposed on the original charge and discharge current of the charge pump, thereby changing the charge and discharge current of the charge pump. This superposition can be an addition or subtraction operation, depending on the positive and negative of the difference signal and the design of the current generating circuit 32. This superposition operation changes the charge and discharge current of the charge pump, thereby affecting the output voltage of the filter (i.e., the control voltage of the voltage-controlled oscillator) and the output frequency of the voltage-controlled oscillator.
[0105] After the above adjustment, the output frequency of the voltage-controlled oscillator will change, which in turn will affect the calculation result of the error circuit 21. The error circuit 21 will again calculate the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage, and output a new difference signal to the current generating circuit 32. In this way, a closed-loop feedback control system is formed, which keeps the loop bandwidth of the PLL stable or meets specific performance indicators by continuously adjusting the charge and discharge current of the charge pump.
[0106] It can be seen that the implementation of the control circuit 22 provided in this embodiment, in particular, dynamically adjusts the charge and discharge current of the charge pump by introducing the current generating circuit 32, thereby achieving precise control of the PLL loop bandwidth.
[0107] In one embodiment, the control circuit 22 also includes a driving circuit; the input end of the driving circuit is connected to the output end of the error circuit 21, and the output end of the driving circuit is connected to the current generating circuit 32; the driving circuit is used to generate a driving signal according to the difference output by the error circuit 21 to drive the current generating circuit 32 to adjust the current value of its own output.
[0108] In this embodiment, the control circuit 22 is further expanded to include a drive circuit component. The main function of the drive circuit is to receive the difference signal from the error circuit 21 and generate a drive signal based on the signal to drive the current generating circuit 32 to adjust the output current value.
[0109] Specifically, the working principle of the driving circuit is as follows: receiving a difference signal from the error circuit 21, which contains information about the difference between the current voltage-controlled voltage and the expected voltage-controlled voltage; based on the received difference signal, the driving circuit generates an appropriate driving signal, and the characteristics of the driving signal (such as amplitude, frequency or waveform) will be adjusted according to the size and direction of the difference signal; for example, when the difference signal is large, the driving circuit may generate a driving signal with a larger amplitude to speed up the adjustment speed of the current generating circuit 32; when the difference signal is small, the driving circuit may generate a driving signal with a smaller amplitude to reduce the adjustment step of the current generating circuit 32; the driving signal generated by the driving circuit will directly act on the current generating circuit 32, and this driving signal will guide the current generating circuit 32 to adjust its output current value; for example, the driving signal may be an analog voltage signal used to control an analog switch or transistor inside the current generating circuit 32; or it may be a digital pulse signal used to control a digital logic circuit inside the current generating circuit 32.
[0110] Driven by the drive signal, the current generating circuit 32 will adjust the current value of its output. This adjustment process can be continuous, discrete or based on specific rules, depending on the design of the current generating circuit 32. By adjusting the output current value, the current generating circuit 32 can achieve precise control of the charge pump charging and discharging current. After the above adjustment, the charge pump charging and discharging current will change, which in turn will affect the output frequency of the voltage-controlled oscillator and the calculation result of the error circuit 21. The error circuit 21 will calculate the difference between the current voltage-controlled voltage and the desired voltage-controlled voltage again, and output a new difference signal to the driving circuit. In this way, a closed-loop feedback control system is formed, which keeps the loop bandwidth of the PLL stable or meets specific performance indicators by continuously adjusting the charge pump charging and discharging current.
[0111] It can be seen that this embodiment provides a more sophisticated implementation method of the control circuit 22, and further improves the control accuracy and flexibility of the output current value of the current generating circuit 32 by introducing a driving circuit.
[0112] In one embodiment, the driving circuit includes an integration circuit 31; the input end of the integration circuit 31 is connected to the output end of the error circuit 21, and the output end of the integration circuit 31 is connected to the current generating circuit 32; the integration circuit 31 is used to integrate the difference output by the error circuit 21 to obtain an integral value; the current generating circuit 32 is specifically used to output a first current according to the integral value when the integral value is positive to adjust the discharge current of the charge pump, and to output a second current according to the integral value when the integral value is negative to adjust the charging current of the charge pump.
[0113] In this embodiment, the driving circuit is embodied as including an integration circuit 31. The function of the integration circuit 31 is to integrate the difference output by the error circuit 21 to obtain an integral value. The integral value reflects the cumulative effect of the error signal over a period of time, helps to smooth the high-frequency noise in the error signal, and provides a more stable and reliable signal to drive the current generating circuit 32.
[0114] Specifically, the main function of the integration circuit 31 is to perform an integration operation on the input difference signal. The essence of the integration operation is to obtain the cumulative effect of the signal, that is, to calculate the sum of the signal over a period of time. In the PLL system, by integrating the error signal through the integration circuit 31, an integral value reflecting the cumulative effect of the error signal can be obtained. This integral value is smoother and more stable than the original difference signal, which helps to eliminate the interference of high-frequency noise. The output end of the integration circuit 31 is connected to the current generating circuit 32 to output the integral value. This integral value will be used as the input signal of the current generating circuit 32 to guide the current generating circuit 32 to adjust the current value of its output.
[0115] The current generating circuit 32 adjusts the current value outputted by the integrating circuit 31 according to the integrated value outputted by the integrating circuit 31. Specifically, when the integrated value is positive, the current generating circuit 32 will output a first current to adjust the discharge current of the charge pump; when the integrated value is negative, the current generating circuit 32 will output a second current to adjust the charging current of the charge pump. In this way, the current generating circuit 32 can dynamically adjust the charge and discharge current of the charge pump according to the cumulative effect of the error signal, thereby realizing precise control of the PLL loop bandwidth.
[0116] It can be seen that this embodiment provides a driving circuit implementation method for integrating the error signal and driving the current generating circuit 32 to adjust the current value through the integrating circuit 31. This design helps to smooth the high-frequency noise in the error signal and provide a more stable and reliable signal to guide the operation of the current generating circuit 32.
[0117] like Figure 5 As shown, the first switch tube to the fourteenth switch tube are Figure 5 Respectively represented as M1~M 14 .
[0118] In one embodiment, the charge pump includes a first switch tube and a second switch tube; the first output end of the current generating circuit 32 is connected to the first end of the first switch tube, the second output end of the current generating circuit 32 is connected to the second end of the second switch tube, the second end of the first switch tube is connected to the first end of the second switch tube and is connected to the input end of the filter as the output end of the charge pump;
[0119] A first switch tube, used for being turned on when the charge pump is discharging;
[0120] A second switch tube, used for being turned on when the charge pump is charging;
[0121] The current generating circuit 32 is specifically used to output a first current through its own first output terminal when the integral value is positive, and to superimpose the first current on the first switch tube to adjust the discharge current of the charge pump; and to output a second current through its own second output terminal when the integral value is negative, and to superimpose the second current on the second switch tube to adjust the charging current of the charge pump.
[0122] In this embodiment, the charge pump is embodied as a structure including a first switch tube and a second switch tube. The two switch tubes play a key role in the charge and discharge process of the charge pump. By controlling their on and off, the charge and discharge current of the charge pump can be adjusted.
[0123] Specifically, when the charge pump is in the discharging state, the first switch tube is turned on, which means that the first switch tube allows current to flow from the output end of the charge pump to the filter (or other load), thereby realizing the control of the discharge current of the charge pump. When the charge pump is in the charging state, the second switch tube is turned on, at this time, the current flows from the power supply to the output end of the charge pump, and the charging current of the charge pump is controlled by the second switch tube.
[0124] The current generating circuit 32 is connected to the first switch tube and the second switch tube respectively through its two output terminals (the first output terminal and the second output terminal). According to the positive and negative integral values output by the integrating circuit 31, the current generating circuit 32 will output different current values, which will be superimposed on the corresponding switch tubes, thereby adjusting the charge pump charging and discharging current.
[0125] Specifically, when the integral value is positive, it means that the current voltage control voltage is higher than the expected voltage control voltage, and the discharge current of the charge pump needs to be reduced. At this time, the current generating circuit 32 outputs the first current through its first output terminal, and the current is superimposed on the first switch tube, so that the current in the discharge process increases (that is, increases I DN ). When the integral value is negative, it means that the current voltage control voltage is lower than the expected voltage control voltage, and the charging current of the charge pump needs to be increased. At this time, the current generating circuit 32 outputs the second current through its second output terminal, and the current is superimposed on the second switch tube, so that the current in the charging process is reduced (that is, by reducing I UP ).
[0126] In summary, this embodiment provides a specific charge pump implementation method, which achieves precise control of the charge and discharge current of the charge pump by introducing the first switch tube and the second switch tube and combining the output of the current generating circuit 32.
[0127] In one embodiment, the current generating circuit 32 includes a third switch tube, a fourth switch tube, a fifth switch tube and a sixth switch tube;
[0128] The first end of the third switch tube is respectively connected to the first output end of the integration circuit 31, the control end of the third switch tube and the control end of the fourth switch tube, the second end of the third switch tube is respectively connected to the second end of the fourth switch tube and the ground end, and the first end of the fourth switch tube is connected to the first end of the first switch tube as the first output end of the current generating circuit 32;
[0129] The first end of the fifth switch tube is respectively connected to the second output end of the integration circuit 31, the control end of the fifth switch tube and the control end of the sixth switch tube, the second end of the fifth switch tube is respectively connected to the second end of the sixth switch tube and the power supply end, and the first end of the sixth switch tube is connected to the second end of the second switch tube as the second output end of the current generating circuit 32;
[0130] A third switch tube is used to be turned on when the integral value is positive; when the third switch tube is turned on, the current on the third switch tube is a third current;
[0131] a fourth switch tube, configured to be turned on when the third switch tube is turned on, wherein when the fourth switch tube is turned on, a current on the fourth switch tube is a first current, and the first current is a preset multiple of the third current;
[0132] A fifth switch tube, used to be turned on when the integral value is negative; when the fifth switch tube is turned on, the current on the fifth switch tube is a fourth current;
[0133] The sixth switch tube is used to be turned on when the fifth switch tube is turned on. When the sixth switch tube is turned on, the current on the sixth switch tube is the second current, and the second current is a preset multiple of the fourth current.
[0134] This embodiment describes in detail a specific implementation of the current generating circuit 32, which includes a third switch tube, a fourth switch tube, a fifth switch tube and a sixth switch tube. These switch tubes are connected in a specific manner to achieve the function of dynamically adjusting the output current according to the integral value output by the integration circuit 31.
[0135] Specifically, the current generating circuit 32 receives the integral values from the two output ends of the integration circuit 31. The two integral values represent the positive and negative aspects of the cumulative effect of the error signal over a period of time, respectively. According to the positive and negative integral values received, the current generating circuit 32 determines whether the discharge current or the charging current of the charge pump needs to be adjusted. Specifically, when the integral value is positive (i.e., the discharge current needs to be increased): the third switch tube is turned on, so that the fourth switch tube is also turned on. At this time, the current on the fourth switch tube (i.e., the first current) is a preset multiple of the third current, and this current will be superimposed on the first switch tube, thereby reducing the discharge current of the charge pump. When the integral value is negative (i.e., the charging current needs to be reduced): the fifth switch tube is turned on, so that the sixth switch tube is also turned on. At this time, the current on the sixth switch tube (i.e., the second current) is a preset multiple of the fourth current, and this current will be superimposed on the second switch tube, thereby increasing the charging current of the charge pump.
[0136] Specifically, the third switch tube to the sixth switch tube form a proportional mirror circuit, which implements I cp (charge and discharge current of the current pump) and I BP The sixth switch tube and the fourth switch tube of the MOS tube provide mirror currents for the second switch tube and the first switch tube, that is, the charging current I UP and the discharge current I DN The first switch tube and the second switch tube are controlled by the previous phase detector circuit. When the second switch tube is turned on, the first switch tube is turned off, and the mirror charging current I UP becomes the charge pump I cp In order to achieve I cp and I BP The ratio relationship between the fifth switch tube and the sixth switch tube and the third switch tube and the fourth switch tube is 1:A, which requires that the size ratio of the fifth switch tube and the sixth switch tube, and the size ratio of the third switch tube and the fourth switch tube is A:1.
[0137] Through the above process, the current generating circuit 32 dynamically adjusts its output current according to the integral value output by the integrating circuit 31, thereby realizing accurate control of the charge pump charging and discharging current. This control method is a closed loop, because the current adjustment will further affect the output frequency of the voltage controlled oscillator and the calculation result of the error circuit 21, thereby forming a feedback loop, so that the PLL system can work continuously and stably.
[0138] In one embodiment, the driving circuit includes eight switch tubes and a constant current source, wherein the first end of the seventh switch tube, the first end of the eighth switch tube, the first end of the ninth switch tube, and the first end of the tenth switch tube are all connected to the power supply end; the second end of the seventh switch tube is respectively connected to the first end of the eleventh switch tube, the control end of the eleventh switch tube, and the control end of the twelfth switch tube, the second end of the eleventh switch tube and the second end of the twelfth switch tube are both grounded, the first end of the twelfth switch tube as the second output end of the driving circuit is connected to the current generating circuit 32, the control end of the seventh switch tube is respectively connected to the control end and the second end of the eighth switch tube and the first end of the thirteenth switch tube, the control end of the ninth switch tube is respectively connected to the second end of itself, the first end of the fourteenth switch tube, and the control end of the tenth switch tube, the second end of the tenth switch tube as the first output end of the driving circuit is connected to the current generating circuit 32; the second end of the thirteenth switch tube is grounded through the constant current source, and the second end of the fourteenth switch tube is grounded through the constant current source; the control end of the thirteenth switch tube is connected to the negative output end of the error circuit 21, and the control end of the fourteenth switch tube is connected to the positive output end of the error circuit 21;
[0139] The thirteenth switch tube, the ninth switch tube and the tenth switch tube are turned on when the positive output terminal of the error circuit 21 outputs a high level, so as to drive the current generating circuit 32 to generate a first current to adjust the discharge current of the charge pump;
[0140] The twelfth switch tube, the eighth switch tube, the seventh switch tube, the eleventh switch tube and the twelfth switch tube are turned on when the negative output terminal of the error circuit 21 outputs a high level to drive the current generating circuit 32 to generate a second current to adjust the charging current of the charge pump.
[0141] In the integration circuit 31, the thirteenth switch tube, the fourteenth switch tube, the eighth switch tube, the ninth switch tube and the constant current source ISS form a differential amplifier with an active resistor as a load, which constitutes the first stage of the integration circuit 31. The seventh switch tube, the tenth switch tube, the eleventh switch tube and the twelfth switch tube form a common source amplifier, which constitutes the second stage of the integration circuit 31 and is used to drive the subsequent current generating circuit 32. The input signal V of the integration circuit 31 is s (V s+ ,V s- ) from the output of the multiplier,
[0142] In one embodiment, the control circuit 22 also includes a zero-pole adjustment circuit; the input end of the zero-pole adjustment circuit is connected to the output end of the error circuit 21, and the output end of the zero-pole adjustment circuit is connected to the control end of the filter; the zero-pole adjustment circuit is used to adjust the resistance value of the resistor element in the filter to adjust the zero pole of the filter.
[0143] The zero-pole adjustment circuit can change the response characteristics of the filter in the frequency domain by adjusting the resistance value of the resistor element. Specifically, the zero point and the pole are important parameters of the filter frequency response, which determine the degree of amplification or attenuation of the filter to different frequency signals. The zero-pole adjustment circuit is based on this principle and dynamically adjusts the performance of the filter according to the error signal.
[0144] Zero-pole adaptation can realize variable resistance by utilizing the characteristics of active MOS tubes, ensuring a certain phase margin while achieving bandwidth adaptation, and automatically changing the thermal noise of the resistor itself, further optimizing system performance and thus broadening the application scenarios of the phase-locked loop.
[0145] like Figure 6 As shown, C1 is the first capacitor, C2 is the second capacitor, V c Connect the control terminal of the linear device.
[0146] In one embodiment, the filter includes a linear device, a first capacitor and a second capacitor; the control end of the linear device serves as the control end of the filter, the first end of the linear device is respectively connected to the control end of the linear device and the first end of the second capacitor, the second end of the linear device is grounded through the first capacitor, and the second end of the second capacitor is grounded.
[0147] In one embodiment, the linear device includes a transistor, the control end of the transistor serves as the control end of the linear device, the first end of the transistor is the first end of the linear device, and the second end of the transistor is the second end of the linear device; the control end of the transistor is respectively connected to the second end of the first switch tube and the first end of the second switch tube in the charge pump.
[0148] The filter includes a linear device (such as a transistor), a first capacitor and a second capacitor. The first end of the linear device is connected to the first end of the second capacitor and to its control end to form a self-feedback loop; the second end of the linear device is grounded through the first capacitor; the second end of the second capacitor is also grounded. The design of the filter is based on the different frequency response characteristics of capacitors and inductors (linear devices represented by transistors here) to current and voltage. Capacitors and inductors can generate impedance to high-frequency and low-frequency signals respectively, thereby achieving a filtering function. Linear devices (such as transistors) play the role of adjusting filter parameters here, and their working state (such as on or off) is controlled by the zero-pole adjustment circuit, thereby changing the performance of the filter.
[0149] The transistor receives the signal from the zero-pole adjustment circuit through its control terminal, thereby changing its working state (such as the current size). Due to the position and function of the transistor in the circuit, the change of its working state will directly affect the performance of the filter. Specifically, the change of the working state of the transistor will change the zero and pole positions of the filter, thereby changing the response characteristics of the filter to signals of different frequencies.
[0150] In a second aspect, the present application provides a phase-locked loop circuit, including the above-mentioned bandwidth adjustment circuit, and also including a charge pump, a filter and a voltage-controlled oscillator connected in sequence, and the bandwidth adjustment circuit is respectively connected to the voltage-controlled oscillator, the charge pump and / or the filter.
[0151] Thirdly, Figure 7 As shown, the present application provides a bandwidth adjustment method, which is applied to the above-mentioned bandwidth adjustment circuit, and the bandwidth control method includes:
[0152] S11: Acquire the desired voltage-controlled voltage input by the user and the current voltage-controlled voltage at the input end of the voltage-controlled oscillator in the phase-locked loop;
[0153] S12: adjusting the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage;
[0154] The expected voltage-controlled voltage is determined according to a characteristic curve of the voltage-controlled voltage and output frequency of the voltage-controlled oscillator. The charge-discharge current and the bandwidth of the phase-locked loop have a first preset relationship, and the zero-pole and the bandwidth of the phase-locked loop have a second preset relationship.
[0155] In one embodiment, the charge and discharge current of the charge pump is adjusted according to the current voltage-controlled voltage and the expected voltage-controlled voltage, including: calculating the difference between the current voltage-controlled voltage and the expected voltage-controlled voltage; generating a first current according to the difference to adjust the discharge current of the charge pump, or generating a second current according to the difference to adjust the charging current of the charge pump.
[0156] In one embodiment, a first current is generated according to the difference to adjust the discharge current of the charge pump, or a second current is generated according to the difference to adjust the charging current of the charge pump, including: when the difference is positive, a first current is generated and superimposed on the discharge current of the charge pump to adjust the discharge current of the charge pump; when the difference is negative, a second current is generated and superimposed on the charging current of the charge pump to adjust the charging current of the charge pump.
[0157] In one embodiment, the resistance element in the filter is a linear device, and the zero poles of the filter are adjusted according to the current voltage-controlled voltage and the expected voltage-controlled voltage, including: adjusting the control signal of the linear device according to the current voltage-controlled voltage and the expected voltage-controlled voltage; adjusting the conduction degree of the linear device according to the control signal to adjust the resistance of the linear device; there is a third preset relationship between the resistance of the linear device and the zero poles of the filter.
[0158] For the description of the bandwidth adjustment method, please refer to the above embodiment, and this application will not go into details here.
[0159] In a fourth aspect, the present application provides a bandwidth adjustment device, including:
[0160] Memory for storing computer programs;
[0161] The processor is used to implement the steps of the above-mentioned bandwidth adjustment method when executing the computer program.
[0162] For the description of the bandwidth adjustment device, please refer to the above embodiments, and this application will not go into details here.
[0163] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned bandwidth adjustment method when executed by a processor.
[0164] For the description of the computer program product, please refer to the above embodiments, and this application will not go into details here.
[0165] In a sixth aspect, the present application provides a non-volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned bandwidth adjustment method are implemented.
[0166] For the description of the non-volatile storage medium, please refer to the above embodiments, and this application will not go into details here.
[0167] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0168] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A bandwidth adjustment circuit, characterized in that: Applied to a phase-locked loop circuit, the phase-locked loop circuit further comprising a charge pump, a filter and a voltage-controlled oscillator connected in sequence; The bandwidth adjustment circuit comprises an adaptive adjustment circuit, the input end of the adaptive adjustment circuit is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the adaptive adjustment circuit is respectively connected to the control end of the charge pump and / or the control end of the filter; The adaptive adjustment circuit is used to adjust the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator; The desired voltage-controlled voltage is determined according to a characteristic curve of the voltage-controlled voltage and the output frequency of the voltage-controlled oscillator, the charge-discharge current and the bandwidth of the phase-locked loop have a first preset relationship, and the zero-pole and the bandwidth of the phase-locked loop have a second preset relationship; The adaptive adjustment circuit includes an error circuit and a control circuit; The input end of the error circuit is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the error circuit is respectively connected to the control end of the charge pump and / or the control end of the filter through the control circuit; The error circuit is used to calculate the difference between the current voltage-controlled voltage and the expected voltage-controlled voltage according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator; The control circuit is used to adjust the state of its own switching circuit according to the difference, so as to output a first control signal to the control end of the charge pump to adjust the charge and discharge current of the charge pump, and / or output a second control signal to the control end of the filter to adjust the zero poles of the filter.
2. The bandwidth adjustment circuit according to claim 1, characterized in that: The error circuit includes a subtractor and a multiplier; The input end of the subtractor is respectively connected to the input end of the voltage-controlled oscillator, the output end of the filter, the first input end of the multiplier, and the device for outputting the desired voltage-controlled voltage; the output end of the subtractor is connected to the second input end of the multiplier; and the output end of the multiplier is connected to the control circuit.
3. The bandwidth adjustment circuit according to claim 1, characterized in that: The control circuit includes a current generating circuit; The input end of the current generating circuit is connected to the output end of the error circuit, and the output end of the current generating circuit is connected to the control end of the charge pump; The current generating circuit is used to adjust the current value outputted by itself according to the difference value outputted by the error circuit, and to superimpose the current value on the charge and discharge current of the charge pump to adjust the charge and discharge current of the charge pump.
4. The bandwidth adjustment circuit according to claim 3, characterized in that: The control circuit also includes a drive circuit; The input end of the driving circuit is connected to the output end of the error circuit, and the output end of the driving circuit is connected to the current generating circuit; The driving circuit is used to generate a driving signal according to the difference output by the error circuit, so as to drive the current generating circuit to adjust the current value outputted by the current generating circuit.
5. The bandwidth adjustment circuit according to claim 4, characterized in that: The driving circuit includes an integrating circuit; The input end of the integration circuit is connected to the output end of the error circuit, and the output end of the integration circuit is connected to the current generating circuit; The integration circuit is used to integrate the difference output by the error circuit to obtain an integrated value; The current generating circuit is specifically used to output a first current according to the integrated value to adjust the discharge current of the charge pump when the integrated value is positive, and to output a second current according to the integrated value to adjust the charging current of the charge pump when the integrated value is negative.
6. The bandwidth adjustment circuit according to claim 5, characterized in that: The charge pump comprises a first switch tube and a second switch tube; The first output end of the current generating circuit is connected to the first end of the first switch tube, the second output end of the current generating circuit is connected to the second end of the second switch tube, the second end of the first switch tube is connected to the first end of the second switch tube and is connected to the input end of the filter as the output end of the charge pump; The first switch tube is used to be turned on when the charge pump is discharging; The second switch tube is used to be turned on when the charge pump is charging; The current generating circuit is specifically used to output the first current through its own first output terminal when the integral value is positive, and to add the first current to the first switch tube to adjust the discharge current of the charge pump; when the integral value is negative, the current generating circuit is specifically used to output the second current through its own second output terminal when the integral value is positive, and to add the second current to the second switch tube to adjust the charging current of the charge pump.
7. The bandwidth adjustment circuit according to claim 6, characterized in that: The current generating circuit includes a third switch tube, a fourth switch tube, a fifth switch tube and a sixth switch tube; The first end of the third switch tube is respectively connected to the first output end of the integration circuit, the control end of the third switch tube and the control end of the fourth switch tube, the second end of the third switch tube is respectively connected to the second end of the fourth switch tube and the ground end, and the first end of the fourth switch tube is connected to the first end of the first switch tube as the first output end of the current generating circuit; The first end of the fifth switch tube is respectively connected to the second output end of the integration circuit, the control end of the fifth switch tube and the control end of the sixth switch tube, the second end of the fifth switch tube is respectively connected to the second end of the sixth switch tube and the power supply end, and the first end of the sixth switch tube is connected to the second end of the second switch tube as the second output end of the current generating circuit; The third switch tube is used to be turned on when the integral value is positive; when the third switch tube is turned on, the current on the third switch tube is a third current; The fourth switch tube is used to be turned on when the third switch tube is turned on. When the fourth switch tube is turned on, the current on the fourth switch tube is the first current, and the first current is a preset multiple of the third current; The fifth switch tube is used to be turned on when the integral value is negative; when the fifth switch tube is turned on, the current on the fifth switch tube is a fourth current; The sixth switch tube is used to be turned on when the fifth switch tube is turned on. When the sixth switch tube is turned on, the current on the sixth switch tube is the second current, and the second current is a preset multiple of the fourth current.
8. The bandwidth adjustment circuit according to claim 6, characterized in that: The driving circuit comprises eight switch tubes and a constant current source, wherein the first end of the seventh switch tube, the first end of the eighth switch tube, the first end of the ninth switch tube and the first end of the tenth switch tube are all connected to the power supply end; the second end of the seventh switch tube is respectively connected to the first end of the eleventh switch tube, the control end of the eleventh switch tube and the control end of the twelfth switch tube, the second end of the eleventh switch tube and the second end of the twelfth switch tube are both grounded, the first end of the twelfth switch tube as the second output end of the driving circuit is connected to the current generating circuit, the control end of the seventh switch tube is respectively connected to the control end and the second end of the eighth switch tube and the first end of the thirteenth switch tube, the control end of the ninth switch tube is respectively connected to the second end of itself, the first end of the fourteenth switch tube and the control end of the tenth switch tube, the second end of the tenth switch tube as the first output end of the driving circuit is connected to the current generating circuit; the second end of the thirteenth switch tube is grounded through the constant current source, and the second end of the fourteenth switch tube is grounded through the constant current source; the control end of the thirteenth switch tube is connected to the negative output end of the error circuit, and the control end of the fourteenth switch tube is connected to the positive output end of the error circuit; The thirteenth switch tube, the ninth switch tube and the tenth switch tube are turned on when the positive output terminal of the error circuit outputs a high level, so as to drive the current generating circuit to generate a first current, so as to adjust the discharge current of the charge pump; The twelfth switch tube, the eighth switch tube, the seventh switch tube, the eleventh switch tube and the twelfth switch tube are turned on when the negative output terminal of the error circuit outputs a high level to drive the current generating circuit to generate a second current to adjust the charging current of the charge pump.
9. The bandwidth adjustment circuit according to any one of claims 6 to 8, characterized in that: The control circuit also includes a zero-pole adjustment circuit; The input end of the zero-pole adjustment circuit is connected to the output end of the error circuit, and the output end of the zero-pole adjustment circuit is connected to the control end of the filter; The zero-pole adjustment circuit is used to adjust the resistance value of the resistor element in the filter to adjust the zero-pole of the filter.
10. The bandwidth adjustment circuit according to claim 9, characterized in that: The filter comprises a linear device, a first capacitor and a second capacitor; The control end of the linear device serves as the control end of the filter, the first end of the linear device is respectively connected to the control end of the linear device and the first end of the second capacitor, the second end of the linear device is grounded through the first capacitor, and the second end of the second capacitor is grounded.
11. The bandwidth adjustment circuit according to claim 10, characterized in that: The linear device comprises a transistor, the control end of the transistor serves as the control end of the linear device, the first end of the transistor serves as the first end of the linear device, and the second end of the transistor serves as the second end of the linear device; The control end of the transistor is respectively connected to the second end of the first switch tube and the first end of the second switch tube in the charge pump.
12. A phase-locked loop circuit, characterized in that: The bandwidth adjustment circuit comprises the bandwidth adjustment circuit as described in any one of claims 1 to 11, and further comprises a charge pump, a filter and a voltage-controlled oscillator connected in sequence, wherein the bandwidth adjustment circuit is connected to the voltage-controlled oscillator, the charge pump and / or the filter respectively.
13. A bandwidth adjustment method, characterized in that: Applied to the bandwidth adjustment circuit according to any one of claims 1 to 11, the bandwidth control method comprises: Obtaining a desired voltage-controlled voltage input by a user and a current voltage-controlled voltage at an input end of a voltage-controlled oscillator in a phase-locked loop; Adjusting the charge and discharge current of the charge pump and / or the zero poles of the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage; The desired voltage-controlled voltage is determined according to a characteristic curve of the voltage-controlled voltage and the output frequency of the voltage-controlled oscillator, the charge-discharge current and the bandwidth of the phase-locked loop have a first preset relationship, and the zero-pole and the bandwidth of the phase-locked loop have a second preset relationship; The adaptive adjustment circuit comprises an error circuit and a control circuit; the input end of the error circuit is respectively connected to the input end of the voltage-controlled oscillator and the output end of the filter, and the output end of the error circuit is respectively connected to the control end of the charge pump and / or the control end of the filter through the control circuit; Adjusting the charge and discharge current of the charge pump and / or the zero poles and / or the filter according to the current voltage-controlled voltage and the expected voltage-controlled voltage includes: Calculating a difference between the current voltage-controlled voltage and the expected voltage-controlled voltage according to the current voltage-controlled voltage and the expected voltage-controlled voltage at the input end of the voltage-controlled oscillator; The state of the switch circuit in the control circuit is adjusted according to the difference to output a first control signal to the control end of the charge pump to adjust the charge and discharge current of the charge pump, and / or output a second control signal to the control end of the filter to adjust the zero poles of the filter.
14. The bandwidth adjustment method according to claim 13, characterized in that: Adjusting the charge and discharge current of the charge pump according to the current voltage-controlled voltage and the expected voltage-controlled voltage includes: Calculating a difference between the current voltage-controlled voltage and the desired voltage-controlled voltage; A first current is generated according to the difference to adjust the discharge current of the charge pump, or a second current is generated according to the difference to adjust the charge current of the charge pump.
15. The bandwidth adjustment method according to claim 14, characterized in that: Generating a first current according to the difference to adjust the discharge current of the charge pump, or generating a second current according to the difference to adjust the charge current of the charge pump, comprising: When the difference is positive, generating the first current and superimposing it on the discharge current of the charge pump to adjust the discharge current of the charge pump; When the difference is negative, the second current is generated and superimposed on the charging current of the charge pump to adjust the charging current of the charge pump.
16. The bandwidth adjustment method according to any one of claims 13 to 15, characterized in that: The resistance element in the filter is a linear device, and the zero poles of the filter are adjusted according to the current voltage-controlled voltage and the expected voltage-controlled voltage, including: Adjusting a control signal for controlling the linear device according to the current voltage-controlled voltage and the expected voltage-controlled voltage; Adjusting the conduction degree of the linear device according to the control signal to adjust the resistance value of the linear device; There is a third preset relationship between the resistance of the linear device and the zero poles of the filter.
17. A bandwidth adjustment device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the bandwidth adjustment method as described in any one of claims 13 to 16 when executing a computer program.
18. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the bandwidth adjustment method described in any one of claims 13-16 are implemented.
19. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the bandwidth adjustment method according to any one of claims 13 to 16 are implemented.
