Digital phase-locked loop, signal processing method of digital phase-locked loop and electronic equipment

By forming a closed-loop circuit for feedback adjustment in a digital phase-locked loop, using a loop filter to judge the error signal and modulate the phase of the oscillating signal, the problem of insufficient phase adjustment accuracy of the oscillating signal in the prior art is solved, and high precision and high Stability synchronization effect.

CN119070810APending Publication Date: 2024-12-03SUZHOU HUAXING YUANCHUANG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411087783.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing digital phase lock loops are difficult to achieve fine adjustment of the oscillating signal phase based on the hardware cost, resulting in limited synchronization accuracy.

Method used

Design a digital phase-locked loop, including an oscillator, phase detector, loop filter and phase offset module, by forming a closed loop circuit for feedback adjustment, the loop filter is used to continuously determine whether the error signal is in the preset stable interval. The phase of the oscillation signal is modulated according to the detection results to achieve fine phase adjustment.

Benefits of technology

It achieves synchronization effects of high precision, high stability, high flexibility and high integration, reduces system complexity and power consumption, and is suitable for a wide range of wireless communication devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070810A_ABST
    Figure CN119070810A_ABST
Patent Text Reader

Abstract

The invention discloses a digital phase-locked loop, which comprises an oscillator for generating an oscillation signal; the phase offset module is used for offsetting the phase of the oscillation signal; the phase discriminator is used for receiving the oscillation signal after phase shift, calculating to obtain phase difference information of the oscillation signal after phase shift and a reference signal, and generating an error signal according to the phase difference information; the loop filter is used for outputting an adjusting signal according to the error signal so as to adjust the phase in the oscillation signal; wherein the loop filter is configured to continuously judge whether the error signal is located in a preset stable interval or not, and if the error signal is not located in the preset stable interval, an adjusting signal is output to control the oscillation signal in the oscillator to deviate by a preset phase value. According to the invention, the phase of the oscillation signal can be adjusted to be synchronized with the reference signal; moreover, the loop filter is configured to detect the error signal, continuously adjusts the phase of the oscillation signal according to the detection result, and has the advantages of high precision, high stability, high flexibility, high integration level, wide application range and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital phase-locked loops, and in particular to a digital phase-locked loop, a signal processing method of the digital phase-locked loop, and electronic equipment. Background Art

[0002] In modern wireless communication systems, the digital phase-locked loop (DPLL) is a key analog circuit that is widely used in various wireless communication devices, such as mobile phones, wireless LAN devices, etc. The main function of the digital phase-locked loop is to achieve signal synchronization by extracting the phase information of the received signal, thereby improving the stability and reliability of the demodulated data. The digital phase-locked loop is mainly composed of three parts: an oscillator, a phase detector, and a loop filter. Among them, the digital oscillator is responsible for generating a stable oscillation signal, the phase detector is responsible for comparing the phase difference between the input signal and the oscillation signal, and the loop filter adjusts the frequency phase of the digital oscillator according to the output result of the phase detector to achieve signal synchronization.

[0003] In the prior art, the configuration of digital phase-locked loops often relies on open-loop control or simple feedback mechanisms, which makes it difficult to achieve fine adjustment of the phase of the oscillation signal, resulting in limited synchronization accuracy. Or it relies on complex hardware design to achieve accuracy improvement, which undoubtedly increases the complexity and power consumption of the system. Therefore, how to design a simple, efficient and stable digital phase-locked loop is an urgent problem to be solved in the current design of wireless communication equipment. Summary of the invention

[0004] The purpose of the present invention is to provide a digital phase-locked loop, a signal processing method of a digital phase-locked loop and an electronic device to solve the problem that the digital phase-locked loop in the prior art is difficult to achieve fine adjustment of the phase of an oscillation signal while controlling its hardware cost, resulting in limited synchronization accuracy.

[0005] To achieve one of the above-mentioned objects of the invention, an embodiment of the present invention provides a digital phase-locked loop, the digital phase-locked loop comprising: an oscillator, generating an oscillation signal;

[0006] A phase shift module, shifting the phase of the oscillation signal;

[0007] A phase detector receives the oscillating signal after phase shift, calculates and obtains phase difference information between the oscillating signal after phase shift and a reference signal, and generates an error signal according to the phase difference information;

[0008] A loop filter outputs an adjustment signal according to the error signal to adjust the phase of the oscillation signal; wherein the loop filter is configured to continuously determine whether the error signal is within a preset stable interval, and if not, output an adjustment signal to control the oscillation signal in the oscillator to offset a preset phase value.

[0009] As a further improvement of the present invention, the digital phase-locked loop also includes: the loop filter is also configured to, if the error signal is in a preset stable interval, determine whether the polarities of the oscillation signal and the reference signal are opposite, and if so, output an adjustment signal to control the phase flip of the oscillation signal in the oscillator.

[0010] As a further improvement of the present invention, the digital phase-locked loop further includes: the loop filter is further configured to control the oscillator to maintain the output of the oscillation signal if the polarity of the oscillation signal is the same as that of the reference signal.

[0011] As a further improvement of the present invention, the digital phase-locked loop further includes: the oscillation signal processed by the phase shift module and the oscillation signal generated by the oscillator are orthogonal signals.

[0012] As a further improvement of the present invention, the digital phase-locked loop also includes: the phase detector includes a multiplier and a low-pass filter, the multiplier is used to calculate the phase difference information between the offset oscillation signal and the reference signal, and the low-pass filter is used to filter the high-frequency components in the phase difference information.

[0013] As a further improvement of the present invention, the digital phase-locked loop also includes: the loop filter is also configured to obtain multiple latched error signals and perform mean filtering on the multiple error signals before determining whether the error signal is in a preset stable interval.

[0014] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a signal processing method based on a digital phase-locked loop, the signal processing method comprising: obtaining a shifted oscillation signal;

[0015] Acquire an error signal, wherein the error signal is generated according to the phase difference information between the offset oscillation signal and the reference signal; continuously determine whether the error signal is in a preset stable interval, and if not, output an adjustment signal to control the oscillation signal to offset a preset phase value to adjust the phase of the oscillation signal.

[0016] As a further improvement of the present invention, the signal processing method also includes: if the error signal is in a preset stable interval, determining whether the polarities of the oscillation signal and the reference signal are the same; if they are different, outputting an adjustment signal to control the phase flip of the oscillation signal in the oscillator; if they are the same, controlling the oscillator to maintain the output of the oscillation signal.

[0017] As a further improvement of the present invention, the signal processing method further includes: before determining whether the error signal is located in a preset stable interval, acquiring a plurality of latched error signals, and performing mean filtering on the plurality of error signals.

[0018] The present invention also provides an electronic device, which includes: an acquisition module, used to acquire a signal to be demodulated and convert it into a reference signal through analog-to-digital conversion; a digital phase-locked loop, used to execute the signal processing method described in any of the above embodiments; a demodulation module, used to obtain an adjusted oscillation signal output by the digital phase-locked loop, and use the oscillation signal as a coherent carrier for demodulation to demodulate the reference signal; and a modulation module, used to obtain the adjusted oscillation signal output by the digital phase-locked loop, and use the oscillation signal as a modulated carrier signal to ensure synchronous processing of the modulation and demodulation signals.

[0019] Compared with the prior art, the present invention has the following beneficial effects: a closed-loop circuit of feedback regulation is formed by an oscillator, a phase detector, a loop filter and a phase shift module, so that the phase of the oscillation signal can be adjusted to achieve synchronization with a reference signal; moreover, the loop filter is configured to detect the error signal, modulate the phase of the oscillation signal according to the detection result, and further continue to detect after each phase adjustment and finally output the oscillation signal when a stable range is reached, which has the advantages of high precision, high stability, high flexibility, high integration and a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a structural diagram of a digital phase-locked loop in one embodiment of the present invention.

[0021] Figure 2 is a flowchart of a signal processing method in one embodiment of the present invention.

[0022] Figure 3 is a structural diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION

[0023] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0024] The present invention provides a digital phase-locked loop B, a signal processing method based on the digital phase-locked loop B, and an electronic device applying the digital phase-locked loop B.

[0025] It should be noted that the digital phase-locked loop B (DPLL) is a phase-locked system implemented using digital technology, which is used to generate an oscillation signal U0 that is synchronized with the reference signal U1 in frequency and phase, thereby achieving signal synchronization.

[0026] Among them, the reference signal U1 refers to an external signal used by the digital phase-locked loop B for phase detection and synchronization. The specific properties of the reference signal U1 depend on the application scenario and purpose of the digital phase-locked loop B. In one embodiment, in the field of communication and signal processing, the reference signal U1 is often a sine wave or a similar sine waveform. These waveforms have clear frequency and phase characteristics, which facilitates the digital phase-locked loop B to perform phase locking. In another embodiment, in digital circuits and computer systems, the reference signal U1 may be a clock signal. A clock signal is a periodic pulse signal used to synchronize various parts of a circuit.

[0027] The oscillation signal U0 refers to the output signal generated inside the digital phase-locked loop B with the same frequency and phase as the reference signal U1. This signal is used as the carrier signal for modulation and demodulation to ensure its synchronization.

[0028] To explain further, modulation is the use of a baseband signal (an effective signal containing transmitted information) to control the change of one or several parameters of a carrier signal (usually a high-frequency sine or cosine wave), thereby loading the information on it to form a modulated signal for transmission.

[0029] Demodulation is the reverse process of modulation, which uses a specific method to restore the original baseband signal from the parameter changes of the modulated signal. At the receiving end, the demodulator needs to receive the modulated signal and perform operations using the same carrier signal or a similar carrier signal as the transmitting end to restore the original baseband signal.

[0030] Before demodulation, the oscillation signal U0 is phase-locked with the reference signal U1 through a digital phase-locked loop B, so that the purpose of demodulating the oscillation signal U0 to obtain the information in the reference signal U1 can be achieved.

[0031] In one embodiment of the present invention, a digital phase-locked loop B is provided, such as Figure 1As shown, it specifically includes an oscillator 1, a phase detector 2, a loop filter 3 and a phase shift module 4. Among them, the oscillator 1 is used to generate an oscillation signal U0; the phase shift module 4 shifts the phase of the oscillation signal U0 to obtain a shifted oscillation signal U0'; the phase detector 2 receives the shifted oscillation signal U0', calculates the phase difference information between the shifted oscillation signal U0' and the reference signal U1 and generates an error signal according to the phase difference information; the loop filter 3 outputs an adjustment signal U2 according to the error signal to adjust the phase in the oscillation signal U0; wherein the loop filter 3 is configured to continuously determine whether the error signal is in a preset stable interval, and if not, output the adjustment signal U2 to control the oscillation signal U0 in the oscillator 1 to shift to a preset phase value.

[0032] In this way, a closed-loop circuit of feedback regulation is formed by the oscillator 1, the phase detector 2, the loop filter 3 and the phase shift module 4, and the phase of the oscillation signal U0 can be adjusted to achieve synchronization with the reference signal U1; moreover, the loop filter 3 is configured to detect the error signal, modulate the phase of the oscillation signal U0 according to the detection result, and further continue to detect after each phase adjustment and finally output the oscillation signal U0 when the stable range is reached, which has the advantages of high precision, high stability, high flexibility, high integration and a wide range of applications.

[0033] Furthermore, the length of the stable interval and the size of the preset phase value determine the resolution of the phase information adjusted by the digital phase-locked loop B. The smaller the stable interval and the shorter the length of the preset phase value of each offset, the higher the phase accuracy locked by the digital phase-locked loop B, and vice versa.

[0034] In one embodiment of the above implementation, the oscillation signal U0' processed by the phase shift module 4 is an orthogonal signal to the oscillation signal U0 generated by the oscillator. That is, the phase shift module 4 is set as a 90-degree phase shifter, so that the oscillation signal U0' processed by the phase shift module maintains an orthogonal relationship with the original oscillation signal U0, and the phase difference between the two is 90 degrees.

[0035] After being processed by the phase shift module 4, the phases of the signals before and after the shift differ by 90°. Therefore, after the shifted oscillation signal U0' and the reference signal U1 are processed by the phase detector 2, the phase difference between the oscillation signal U0 and the reference signal U1 is obtained, that is, the error signal. It is determined whether the error signal is in the stable interval (-1, 1). If not, the phase of the oscillation signal U0 is increased and the processing is continued. If so, it is determined whether the polarity of the oscillation signal U0 is the same as that of the reference signal U1. If they are different, the phase of the oscillation signal U0 is flipped 180 degrees and then output. If they are the same, the oscillator output is maintained and the phase is locked. Through this setting, the output result of the phase detector 2 is continuously adjusted and judged until the oscillation signal U0 and the reference signal U1 are completely synchronized, which reduces the complexity of the processing of the digital phase-locked loop B and improves the stability and reliability of the digital phase-locked loop B. Among them, the range of the stable interval can be set according to actual needs.

[0036] In one embodiment, the error signal is characterized as an electrical signal; the adjustment signal U2 is characterized as a control signal for controlling the adjustment of the oscillation signal U0, and the adjustment includes but is not limited to the offset and flipping of the oscillation signal U0.

[0037] In one embodiment, the preset phase value may be set to a phase deviation of 1°, that is, a phase shift of 1° each time. It is understandable that the preset phase value may be set according to the user's requirements for the accuracy of the digital phase-locked loop output signal.

[0038] In one embodiment of the present invention, the oscillator 1 can use a direct digital frequency synthesizer (Direct Digital Synthesizer, referred to as DDS) to generate a fixed frequency carrier signal, which is the oscillation signal U0, and the frequency is the same as the frequency of the reference signal U1. For example, in the NFC system, the operating frequency is 13.56MHz, and the oscillator 1 generates an oscillation signal U0 with a frequency of 13.56MHz by means of DDS.

[0039] It should be noted that the DDS can generate oscillation signals U0 with different phases by setting different phase control words. The bit width of the phase control word is 16 bits, and the maximum phase change that can be achieved is about one hundredth of a degree.

[0040] In one embodiment of the present invention, the loop filter 3 is further configured to, if the error signal is in a preset stable interval, determine whether the polarities of the oscillation signal U0 and the reference signal U1 are opposite, and if so, output an adjustment signal U2 to control the phase flip of the oscillation signal U0 in the oscillator 1.

[0041] It should be noted that the opposite polarity of the oscillation signal U0 and the reference signal U1 means that there is usually a non-zero phase difference, which may be π (i.e. 180 degrees) or an odd multiple thereof. This means that at a certain moment, when the reference signal U1 reaches a positive peak, the oscillation signal U0 may reach a negative peak, and vice versa.

[0042] The phase flip is represented by adding 180° of phase information, so that the oscillation signal U0 maintains the same phase as the reference signal U1, avoiding distortion of the output waveform and improving the reliability of the system.

[0043] In one embodiment of the present invention, the loop filter 3 is further configured to control the oscillator 1 to maintain the output of the oscillation signal U0 if the polarity of the oscillation signal U0 is the same as that of the reference signal U1.

[0044] The polarity of the oscillation signal U0 and the reference signal U1 is the same, which means that the phases of the two are synchronized or differ by an integer multiple of the period. In this way, the oscillator 1 can oscillate continuously and stably, avoiding the occurrence of signal attenuation or phase distortion.

[0045] In one embodiment of the present invention, the phase detector 2 includes a multiplier and a low-pass filter, the multiplier is used to calculate the phase difference information between the shifted oscillation signal U0' and the reference signal U1, and the low-pass filter is used to filter the high-frequency component in the phase difference information.

[0046] The multiplier is responsible for receiving and processing the offset oscillation signal U0' and the reference signal U1. Specifically, the multiplier performs a multiplication operation to multiply the offset oscillation signal U0' and the instantaneous value of the reference signal U1, thereby generating a product signal. This product signal contains the phase difference information between the offset oscillation signal U0' and the reference signal U1, because the product of the two sine wave signals will produce a composite signal containing a DC component, a twice-frequency component, and higher-order harmonics, where the size of the DC component is directly related to the phase difference between the two signals.

[0047] The low-pass filter module follows the multiplier, and its main function is to extract the DC component containing the phase difference information from the composite signal output by the multiplier. By filtering out high-frequency components (such as twice the frequency component and higher harmonics), the low-pass filter ensures that the output signal contains only low-frequency components directly related to the phase difference, thereby achieving accurate extraction of phase information.

[0048] In one embodiment, the low-pass filter is a FIR filter. The low-pass filter is a cascade of multiple low-pass filters, the order of the filter is 33, and the cut-off frequency is 1 MHz. The stop-band attenuation at 27.12 MHz is -40 dB, which can completely filter out the double frequency carrier signal.

[0049] In one embodiment, the multiplier may be a digital multiplier.

[0050] In one embodiment of the present invention, the loop filter 3 is further configured to obtain a plurality of latched error signals and perform mean filtering on the plurality of error signals before determining whether the error signal is within a preset stable interval.

[0051] In one embodiment, the latched error signals are from an external circuit or an external device that collects and latches the error signal output by the phase detector 2 .

[0052] In another embodiment, the loop filter 3 is configured with an error signal latching mechanism, which can continuously capture and store a certain number (e.g., N) of error signals. The acquisition of these error signals can be real-time or triggered based on a specific time interval or system state. By designing a parameter-configurable mechanism, the user is allowed to adjust the number N of latched samples according to a specific application scenario, thereby increasing the flexibility and adaptability of the loop filter 3.

[0053] The filter calculates the arithmetic mean of N error signal samples as the basis for subsequent stability judgment. By performing mean filtering on these error signals, the fluctuation of the error signal is smoothed and noise interference is reduced, thereby more accurately reflecting the actual deviation of the system.

[0054] In one embodiment of the present invention, Figure 2 As shown, a signal processing method based on a digital phase-locked loop B is provided. The method is applied to the digital phase-locked loop B configured in the above embodiment, and is used to process a signal, specifically, to process an oscillation signal U0 generated by the digital phase-locked loop B according to an externally input reference signal U1, including phase processing of the oscillation signal U0.

[0055] Step S1: Obtain the shifted oscillation signal U0'.

[0056] Step S2: Generate an error signal according to the phase difference information between the shifted oscillation signal U0 ′ and the reference signal U1 .

[0057] Step S3: Acquire the latched multiple error signals and perform mean filtering on the multiple error signals.

[0058] Step S4: Continue to determine whether the error signal is in a preset stable interval. If not, jump to step S5: output an adjustment signal U2 to control the oscillation signal U0 to shift a preset phase value to adjust the phase of the oscillation signal U0.

[0059] If the error signal is in the preset stable interval, jump to step S6: determine whether the polarities of the oscillation signal U0 and the reference signal U1 are opposite. If so, jump to step S7: output the adjustment signal U2 to control the phase flip of the oscillation signal U0 in the oscillator 1.

[0060] If the polarities of the oscillation signal U0 and the reference signal U1 are the same, the process jumps to step S8: controlling the oscillator 1 to maintain the output of the oscillation signal U0.

[0061] The method is applied to a digital phase-locked loop B, which generates an oscillation signal U0 through the built-in parameters of an oscillator 1, including frequency parameters and phase parameters, etc. These parameters can be preset according to the known characteristics of a reference signal U1. The oscillation signal U0 can be a periodic oscillation waveform, such as a sine wave.

[0062] The oscillation signal U0 is shifted by ninety degrees by the phase shift module 4 , thereby forming a shifted oscillation signal U0 ′.

[0063] In step S2, the error signal is obtained from the phase difference information between the offset oscillation signal U0' and the reference signal U1, which is used to represent the phase difference between the oscillation signal U0 output by the oscillator 1 and the reference signal U1. The size and sign of the error signal reflect the size and direction of the phase difference between the oscillation signal U0 and the reference signal U1.

[0064] In step S3, these signals are processed by mean filtering to help obtain a more stable and accurate error signal average value. The window size of the latch and mean filtering can be adjusted according to the dynamic response requirements of the system. A larger window can provide better noise suppression effect.

[0065] In step S4, the selection of the preset stability interval depends on the specific requirements of the application, such as synchronization accuracy, system stability, etc.

[0066] In step S6 , the polarity indicates the direction of the phases of the oscillation signal U0 and the reference signal U1 .

[0067] In one embodiment of step S7 , the phase is flipped by changing the initial condition or the control signal of the oscillator 1 .

[0068] One embodiment of the present invention, as Figure 3 As shown, an electronic device is provided. In one embodiment, the electronic device can be used in a wireless communication device. The electronic device can be used to receive and demodulate radio frequency signals from a base station, and modulate a locally generated signal and send it back to the base station to achieve two-way communication.

[0069] In one embodiment, the electronic device may be used in an audio player or a recording device to demodulate an audio signal and perform necessary modulation processing to improve sound quality or achieve a specific sound effect.

[0070] In one embodiment, the electronic device may be used in radar signal processing. The device may be used to demodulate received radar echo signals and generate synchronized transmission signals to improve the accuracy of radar ranging and speed measurement.

[0071] Specifically, the electronic device includes an acquisition module A, a digital phase-locked loop B, a demodulation module C, a modulation module D, and a driving module E. The acquisition module A is used to acquire the signal to be demodulated and convert it into a reference signal U1 through analog-to-digital conversion. The digital phase-locked loop B is used to execute the signal processing method based on the digital phase-locked loop B in any of the above embodiments. The demodulation module C is used to obtain the adjusted oscillation signal U0 output by the digital phase-locked loop B, and use the oscillation signal U0 as a coherent carrier for demodulation to demodulate the reference signal U1 formed by the acquisition module through analog-to-digital conversion. The modulation module D is used to obtain the adjusted oscillation signal U0 output by the digital phase-locked loop B, and use the oscillation signal U0 as a modulated carrier signal to ensure synchronous processing of the modulation and demodulation signals. The driving module E is used to receive the modulation signal, perform digital-to-analog conversion, and complete the transmission of the modulation signal.

[0072] Furthermore, an analog-to-digital converter is provided in the acquisition module A to ensure that the acquired signal to be demodulated can be accurately converted into a digital reference signal U1, thereby reducing the impact of quantization errors on subsequent processing.

[0073] In addition, before analog-to-digital conversion, a filter (such as a low-pass filter or a band-pass filter) can be integrated to filter out noise and interference and improve signal quality.

[0074] The digital phase-locked loop B receives the reference signal U1 and generates an oscillation signal U0 through a built-in DDS, uses a phase shift module 4 to generate an offset oscillation signal U0', calculates the phase difference information between the offset oscillation signal U0' and the reference signal U1, and generates an error signal according to the phase difference information.

[0075] The error signal represents the phase difference between the oscillation signal U0 and the reference signal U1.

[0076] The error signal is used to adjust the phase of the oscillation signal U0 so that the oscillation signal U0 and the reference signal U1 have the same phase and the same polarity.

[0077] The demodulation module C and the modulation module D can share the adjusted oscillation signal U0 output by the digital phase-locked loop B, thereby reducing repeated resource configuration and improving system efficiency.

[0078] In one embodiment, the demodulation module C can adopt a coherent demodulation algorithm to use the oscillation signal U0 output by the digital phase-locked loop B as the demodulated carrier signal to coherently demodulate the digital signal output by the acquisition module A, and recover the baseband information in the signal to be demodulated, which is the valid information transmitted.

[0079] The modulation module D uses the synchronous oscillation signal U0 provided by the digital phase-locked loop B to synchronize the oscillation signal U0 with the signal to be demodulated by frequency modulation or phase modulation, and controls the oscillation signal U0 and the signal to be demodulated to be strictly aligned in time, thereby reducing the degradation of demodulation performance caused by synchronization errors and ensuring the accuracy and efficiency of transmission.

[0080] In one embodiment of the present invention, a processor is provided, which is arranged in an electronic device and is used to execute the signal processing method in any of the above embodiments.

[0081] In summary, in order to solve the technical problem that the accuracy and cost of the traditional digital phase-locked loop are difficult to be taken into account at the same time, the present invention designs a digital phase-locked loop, the oscillator 1, the phase detector 2, the loop filter 3 and the phase shift module 4 form a closed-loop circuit for feedback regulation, the loop filter 3 is configured to perform mean filtering on the error signal, and then detect whether the error signal is in a preset stable interval, and then control the oscillation signal to offset the preset phase value each time, and finally make the oscillation signal consistent with the reference signal phase size and direction through polarity judgment. In this way, fine adjustment of the phase of the oscillation signal is achieved, which has the advantages of high precision, high stability, high flexibility and high integration without increasing the hardware cost.

[0082] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0083] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A digital phase-locked loop, characterized in that: include: an oscillator, generating an oscillation signal; A phase shift module, shifting the phase of the oscillation signal; A phase detector receives the oscillating signal after phase shift, calculates and obtains phase difference information between the oscillating signal after phase shift and a reference signal, and generates an error signal according to the phase difference information; A loop filter outputs an adjustment signal according to the error signal to adjust the phase of the oscillation signal; wherein the loop filter is configured to continuously determine whether the error signal is within a preset stable interval, and if not, output an adjustment signal to control the oscillation signal in the oscillator to offset a preset phase value.

2. The digital phase-locked loop according to claim 1, characterized in that: The loop filter is further configured to, if the error signal is in a preset stable interval, determine whether the polarities of the oscillation signal and the reference signal are opposite, and if so, output an adjustment signal to control the phase flip of the oscillation signal in the oscillator.

3. The digital phase-locked loop according to claim 2, characterized in that: The loop filter is further configured to control the oscillator to maintain output of the oscillation signal if the oscillation signal and the reference signal have the same polarity.

4. A digital phase-locked loop according to any one of claims 1 to 3, characterized in that: The oscillation signal processed by the phase shift module and the oscillation signal generated by the oscillator are orthogonal signals.

5. The digital phase-locked loop according to claim 4, characterized in that: The phase detector includes a multiplier and a low-pass filter. The multiplier is used to calculate the phase difference information between the shifted oscillation signal and the reference signal. The low-pass filter is used to filter the high-frequency component in the phase difference information.

6. The digital phase-locked loop according to claim 4, characterized in that: The loop filter is further configured to, before determining whether the error signal is located in a preset stable interval, obtain a plurality of latched error signals and perform mean filtering on the plurality of error signals.

7. A signal processing method based on a digital phase-locked loop, characterized in that: include: Obtain the shifted oscillation signal; Acquire an error signal, wherein the error signal is generated according to phase difference information between the shifted oscillation signal and a reference signal; It is continuously determined whether the error signal is in a preset stable interval. If not, an adjustment signal is output to control the oscillation signal to shift a preset phase value to adjust the phase of the oscillation signal.

8. The signal processing method based on a digital phase-locked loop according to claim 7, characterized in that: If the error signal is within a preset stable interval, it is determined whether the polarities of the oscillation signal and the reference signal are the same; if they are different, an adjustment signal is output to control the phase of the oscillation signal in the oscillator to flip; if they are the same, the oscillator is controlled to maintain the output of the oscillation signal.

9. The signal processing method based on a digital phase-locked loop according to claim 7, characterized in that: Before determining whether the error signal is in a preset stable interval, a plurality of latched error signals are acquired, and a mean filtering process is performed on the plurality of error signals.

10. An electronic device, characterized in that: include: An acquisition module is used to acquire the signal to be demodulated and convert it into a reference signal; A digital phase-locked loop, used to execute the signal processing method according to any one of claims 7 to 9; A demodulation module, used to obtain the adjusted oscillation signal output by the digital phase-locked loop, and use the oscillation signal as a demodulated coherent carrier to demodulate the reference signal; The modulation module is used to obtain the adjusted oscillation signal output by the digital phase-locked loop, and use the oscillation signal as a modulated carrier signal to ensure synchronous processing of the modulation and demodulation signals.

Citation Information

Cited By

  • Signal loop adjusting method and device, electronic equipment and storage medium

    CN119845311A