CN103346874A - Digital communication clock synchronization system based on DDS - Google Patents

Digital communication clock synchronization system based on DDS Download PDF

Info

Publication number
CN103346874A
CN103346874A CN2013102461474A CN201310246147A CN103346874A CN 103346874 A CN103346874 A CN 103346874A CN 2013102461474 A CN2013102461474 A CN 2013102461474A CN 201310246147 A CN201310246147 A CN 201310246147A CN 103346874 A CN103346874 A CN 103346874A
Authority
CN
China
Prior art keywords
module
control word
frequency
frequency control
dds
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013102461474A
Other languages
Chinese (zh)
Other versions
CN103346874B (en
Inventor
覃远年
覃鹏飞
田柯
孙丽真
陈皓
崔更申
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201310246147.4A priority Critical patent/CN103346874B/en
Publication of CN103346874A publication Critical patent/CN103346874A/en
Application granted granted Critical
Publication of CN103346874B publication Critical patent/CN103346874B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本发明公开了一种基于DDS的数字通信时钟同步系统,包括波形预处理器,鉴相器,前置滤波器,系统数据处理模块,DDS波形产生模块;波形预处理器连接鉴相器的一个输入端,鉴相器输出端连接前置滤波器的输入端,前置滤波器输出端连接系统数据处理模块的输入端,系统数据处理模块输出端连接DDS波形产生模块的频率控制字输入端,DDS波形产生模块输出端连接鉴相器的另一个输入端,同时输出同步时钟信号。本发明通过带有频率最高、最低门限值的控制算法来控制DDS的输出,充分利用DDS覆盖频率范围宽,输出频率控制灵活,分辨率高的特性,实现了没有可调元件、调试难度低、设置工作频率容易,适于多速率工作的数字通信时钟同步系统。

Figure 201310246147

The invention discloses a DDS-based digital communication clock synchronization system, comprising a waveform preprocessor, a phase detector, a pre-filter, a system data processing module, and a DDS waveform generation module; the waveform preprocessor is connected to one of the phase detectors The input terminal, the output terminal of the phase detector is connected to the input terminal of the pre-filter, the output terminal of the pre-filter is connected to the input terminal of the system data processing module, the output terminal of the system data processing module is connected to the frequency control word input terminal of the DDS waveform generation module, The output end of the DDS waveform generation module is connected to the other input end of the phase detector, and simultaneously outputs a synchronous clock signal. The invention controls the output of DDS through the control algorithm with the highest frequency and the lowest threshold value, fully utilizes the characteristics of wide frequency range covered by DDS, flexible output frequency control, and high resolution, and realizes no adjustable components and low debugging difficulty , It is easy to set the working frequency, and it is suitable for digital communication clock synchronization system with multi-rate work.

Figure 201310246147

Description

一种基于DDS的数字通信时钟同步系统A Digital Communication Clock Synchronization System Based on DDS

技术领域 technical field

本发明涉及数据传输系统中的时钟同步技术领域,具体涉及一种基于DDS的数字通信时钟同步系统。 The invention relates to the technical field of clock synchronization in a data transmission system, in particular to a digital communication clock synchronization system based on DDS.

背景技术 Background technique

当前通信系统正朝着多体制、多模式的方向发展,对于兼容多体制的通信系统,其信息传输速率多种多样,接收端实现时钟恢复的时钟同步系统就要适应多种多样的速率。当前通信系统中时钟同步技术主要有利用模拟锁相环的时钟同步技术、利用加扣脉冲、变模分频等方法实现的全数字锁相环时钟同步技术,这些技术要在多种通信传输速率下实现时钟同步都有相应的难度。 The current communication system is developing in the direction of multi-system and multi-mode. For a communication system compatible with multi-system, its information transmission rate is various, and the clock synchronization system for clock recovery at the receiving end must adapt to various rates. The clock synchronization technology in the current communication system mainly includes the clock synchronization technology using the analog phase-locked loop, the all-digital phase-locked loop clock synchronization technology realized by methods such as buckle pulse, variable mode frequency division, etc. There are corresponding difficulties in realizing clock synchronization under the circumstances.

模拟锁相环(PLL)时钟同步提取电路使用到压控振荡器(VCO),图1为PLL电路实现时钟同步提取的原理框图。锁相环路控制VCO的频率和相位变化,使VCO输出的时钟与到接收数据的码元速率同步。但是VCO的中心频率、频率范围受元件参数影响很大,受温度、湿度等环境因素的影响也较大,调试难度较大。VCO也较难做到宽范围的频率覆盖,模拟锁相环时钟同步电路难以适应多种传输速率时钟同步的任务。 The analog phase-locked loop (PLL) clock synchronization extraction circuit uses a voltage-controlled oscillator (VCO). Figure 1 is a functional block diagram of the PLL circuit for clock synchronization extraction. The phase-locked loop controls the frequency and phase changes of the VCO, so that the clock output by the VCO is synchronized with the symbol rate of the received data. However, the center frequency and frequency range of the VCO are greatly affected by component parameters, and are also greatly affected by environmental factors such as temperature and humidity, making debugging difficult. It is also difficult for the VCO to cover a wide range of frequencies, and the analog phase-locked loop clock synchronization circuit is difficult to adapt to the task of clock synchronization at various transmission rates.

全数字锁相环时钟同步提取电路使用到数控振荡器,图2为全数字锁相环实现时钟同步提取的原理图框图。数控振荡器常用的方式有高频时钟加扣脉冲式数控振荡器、或者是高频时钟变模分频式数控振荡器。鉴相器在每一个周期内得到输入信号的相位与本地信号相位超前或滞后的信息,进行加扣脉冲控制,或者进行变模分频控制,改变输出的时钟相位状态,使本地时钟与接收的数据同步。由于用到高频时钟进行分频,要产生多种不同频率的高频时钟有一定的复杂度;同样,要让时钟同步电路输出的时钟满足多种传输速率的需求,要进行分数比例分频、灵活地控制分频系数才能实现,所以此方法也有较大的复杂度。 The all-digital phase-locked loop clock synchronization extraction circuit uses a numerically controlled oscillator. Figure 2 is a schematic block diagram of an all-digital phase-locked loop for clock synchronization extraction. The commonly used methods of numerically controlled oscillators are high-frequency clock plus pulse type numerically controlled oscillators, or high-frequency clock variable mode frequency division type numerically controlled oscillators. The phase detector obtains the information that the phase of the input signal is ahead or behind the phase of the local signal in each cycle, and performs pulse addition control, or performs modulus frequency division control, changes the phase state of the output clock, and makes the local clock and the received data synchronization. Due to the use of high-frequency clocks for frequency division, it is complex to generate a variety of high-frequency clocks with different frequencies; similarly, to make the clock output by the clock synchronization circuit meet the needs of various transmission rates, fractional ratio frequency division is required , Flexible control of the frequency division coefficient can be realized, so this method also has greater complexity.

发明内容 Contents of the invention

针对现有技术的不足,本发明提供一种利用直接数字式频率合成器(DDS)模块实现时钟同步锁相环路的系统。将DDS作为可控频率源,并通过带有频率最高、最低门限值的控制算法来控制DDS的输出,充分利用DDS覆盖频率范围宽,输出频率控制灵活,分辨率高的特性,实现了没有可调元件、调试难度低、设置工作频率容易,适于多速率工作的数字通信时钟同步系统。 Aiming at the deficiencies of the prior art, the present invention provides a system that utilizes a direct digital frequency synthesizer (DDS) module to realize a clock synchronous phase-locked loop. DDS is used as a controllable frequency source, and the output of DDS is controlled by a control algorithm with the highest frequency and the lowest threshold value, making full use of the characteristics of wide frequency coverage, flexible output frequency control, and high resolution of DDS to achieve no Adjustable components, low debugging difficulty, easy to set operating frequency, suitable for multi-rate digital communication clock synchronization system.

本发明通过下述技术方案实现: The present invention realizes through following technical scheme:

一种基于DDS的数字通信时钟同步系统,包括波形预处理器,鉴相器,DDS波形产生模块;波形预处理器输出端连接鉴相器的一个输入端,鉴相器输出端连接DDS波形产生模块的频率控制字输入端,DDS波形产生模块输出端连接鉴相器的另一个输入端,同时输出同步时钟信号。 A digital communication clock synchronization system based on DDS, including a waveform preprocessor, a phase detector, and a DDS waveform generation module; the output terminal of the waveform preprocessor is connected to an input terminal of the phase detector, and the output terminal of the phase detector is connected to the DDS waveform generator The input terminal of the frequency control word of the module and the output terminal of the DDS waveform generation module are connected to the other input terminal of the phase detector, and a synchronous clock signal is output at the same time.

为有利于数据处理,在鉴相器和DDS波形产生模块之间插接了前置滤波器;鉴相器输出端连接前置滤波器的输入端,前置滤波器输出端连接DDS波形产生模块的频率控制字输入端。 In order to facilitate data processing, a pre-filter is inserted between the phase detector and the DDS waveform generation module; the output of the phase detector is connected to the input of the pre-filter, and the output of the pre-filter is connected to the DDS waveform generation module The frequency control word input terminal.

为了得到更好的技术效果,在前置滤波器输出端和DDS波形产生模块输入端之间插接了系统数据处理模块;前置滤波器输出端连接系统数据处理模块的输入端,系统数据处理模块输出端连接DDS波形产生模块的频率控制字输入端。 In order to obtain a better technical effect, a system data processing module is inserted between the output end of the pre-filter and the input end of the DDS waveform generation module; the output end of the pre-filter is connected to the input end of the system data processing module, and the system data processing module The module output terminal is connected to the frequency control word input terminal of the DDS waveform generation module.

所述系统数据处理模块包括取值模块、差值计算模块、环路滤波模块、频率调整量计算模块、频率控制字计算模块、频率超限判决模块和频率控制字设置模块,上述各模块依顺序连接。数据处理模块的数据处理过程包括如下步骤: The system data processing module includes a value acquisition module, a difference calculation module, a loop filter module, a frequency adjustment calculation module, a frequency control word calculation module, a frequency overrun judgment module and a frequency control word setting module. The above-mentioned modules are in order connect. The data processing process of the data processing module includes the following steps:

(1)DDS初始化模块连接到频率超限判断模块、频率控制字设置模块,向频率超限判断模块送入预置频率控制字的最高、最低门限值,向频率控制字设置模块送入频率初始值                                                

Figure 2013102461474100002DEST_PATH_IMAGE001
对应的频率控制字; (1) The DDS initialization module is connected to the frequency overrun judgment module and the frequency control word setting module, and sends the highest and lowest threshold values of the preset frequency control word to the frequency overrun judgment module, and sends the frequency to the frequency control word setting module initial value
Figure 2013102461474100002DEST_PATH_IMAGE001
Corresponding frequency control word;

    (2)由取值模块获得前置滤波器电压输出值,将其与基准数值在差值计算模块中进行差值运算;其中的基准数值为前置滤波器输出的最高、最低电压值的算术平均值; (2) Obtain the voltage output value of the pre-filter from the value-taking module, and perform difference calculation between it and the reference value in the difference calculation module; the reference value is the arithmetic of the highest and lowest voltage values output by the pre-filter average value;

(3)差值数据送入环路滤波模块进行积分运算,其运算结果送入频率调整量计算模块; (3) The difference data is sent to the loop filter module for integral calculation, and the calculation result is sent to the frequency adjustment calculation module;

(4)频率调整量计算模块将结果数据乘以压控系数

Figure 226928DEST_PATH_IMAGE002
,计算得到DDS输出信号频率需要的变量,然后送人频率控制字计算模块; (4) The frequency adjustment calculation module multiplies the result data by the voltage control coefficient
Figure 226928DEST_PATH_IMAGE002
, calculate the variables required by the DDS output signal frequency, and then send it to the frequency control word calculation module;

(5)频率控制字计算模块进行频率控制字的计算,计算后输出的频率控制字送入频率超限判决模块进行高低门限的判决; (5) The frequency control word calculation module calculates the frequency control word, and the frequency control word output after calculation is sent to the frequency overrun judgment module for high and low threshold judgment;

(6)当频率控制字没有超过预置的最高、最低门限值时,频率超限判决模块将输入频率控制字直接送到频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整; (6) When the frequency control word does not exceed the preset maximum and minimum threshold values, the frequency overrun judgment module sends the input frequency control word directly to the frequency control word setting module to adjust the output signal frequency of the DDS waveform generator ;

(7)当频率控制字超过了预置的最高、最低门限值时,将频率控制字只取相应的最高、最低门限值,去掉超出部分,输出到到频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整。 (7) When the frequency control word exceeds the preset maximum and minimum threshold values, the frequency control word only takes the corresponding maximum and minimum threshold values, removes the excess part, and outputs it to the frequency control word setting module. The output signal frequency of the waveform generator is adjusted.

其中,步骤(5)中所述的频率控制字计算模块的计算方法可以选用以下两种之一: Among them, the calculation method of the frequency control word calculation module described in step (5) can choose one of the following two:

(1)

Figure 2013102461474100002DEST_PATH_IMAGE003
; (1)
Figure 2013102461474100002DEST_PATH_IMAGE003
;

(2)

Figure 214476DEST_PATH_IMAGE004
。 (2)
Figure 214476DEST_PATH_IMAGE004
.

附图说明 Description of drawings

图1为模拟锁相环位同步提取电路结构框图。 Figure 1 is a block diagram of the analog phase-locked loop bit synchronization extraction circuit.

图2为数字锁相环位同步提取电路结构框图。 Figure 2 is a block diagram of the digital phase-locked loop bit synchronization extraction circuit.

图3为基于DDS的数字通信时钟同步系统电路结构框图。 Figure 3 is a block diagram of the circuit structure of the digital communication clock synchronization system based on DDS.

图4为图3中的系统数据处理模块流程框图。 FIG. 4 is a flow diagram of the system data processing module in FIG. 3 .

图5为用单片机做控制的基于DDS的数字通信时钟同步系统电路结构框图。 Figure 5 is a block diagram of the circuit structure of the DDS-based digital communication clock synchronization system controlled by a single-chip microcomputer.

图6为图5中的单片机数据处理流程框图。 FIG. 6 is a block diagram of the data processing flow of the single-chip microcomputer in FIG. 5 .

具体实施方式 Detailed ways

    下面结合附图和实施例对本发明作进一步的详细说明。 Below in conjunction with accompanying drawing and embodiment the present invention is described in further detail.

实施例1: Example 1:

参照图3,基带信号输入到信号预处理模块,信号预处理模块进行信号的整形、非线性变换处理,整形、处理后的信号输入到鉴相器的一个输入端,鉴相器比较输入的整形、处理后的基带信号与从DDS波形产生模块反馈回来信号它们两者之间的相位差别,鉴相器的输出信号大小对应于这两个输入信号相位差。前置滤波器的作用是将鉴相器输出信号中的高频分量滤掉,有利于之后的数据处理。前置滤波器输出的信号经过数据处理模块处理后,生成DDS的频率控制字对DDS波形产生模块进行控制, DDS波形产生器的输出信号又反馈到鉴相器的另一个输入端,实现闭环的反馈控制,不断调整DDS波形产生模块输出信号的频率,使得输出信号的频率和相位与输入的基带信号同步,恢复出同步的时钟信号并输出。 Referring to Figure 3, the baseband signal is input to the signal preprocessing module, and the signal preprocessing module performs signal shaping and nonlinear transformation processing, and the shaping and processed signal is input to an input terminal of the phase detector, and the phase detector compares the input shaping 1. The phase difference between the processed baseband signal and the signal fed back from the DDS waveform generation module. The output signal of the phase detector corresponds to the phase difference between the two input signals. The function of the pre-filter is to filter out the high-frequency components in the output signal of the phase detector, which is beneficial to the subsequent data processing. After the signal output by the pre-filter is processed by the data processing module, the DDS frequency control word is generated to control the DDS waveform generation module, and the output signal of the DDS waveform generator is fed back to the other input terminal of the phase detector to realize the closed-loop Feedback control continuously adjusts the frequency of the output signal of the DDS waveform generation module, so that the frequency and phase of the output signal are synchronized with the input baseband signal, and a synchronized clock signal is recovered and output.

通过外接键盘或者I/O装置可以设置DDS初始值,以及预置频率控制字的最高、最低门限值(

Figure 363928DEST_PATH_IMAGE001
及最高、最低门限值均决定于DDS模块参数),使得系统能够非常方便的工作于不同的通信数据率,完成多种传输速率下的时钟同步任务。 DDS initial value can be set through an external keyboard or I/O device , and the highest and lowest thresholds of the preset frequency control word (
Figure 363928DEST_PATH_IMAGE001
And the highest and lowest thresholds are determined by the DDS module parameters), which makes the system very convenient to work at different communication data rates, and complete clock synchronization tasks under various transmission rates.

图4是系统数据处理模块的框图。初始化模块连接到频率超限判断模块、频率控制字设置模块,向频率超限判断模块送入预置频率控制字的最高、最低门限值,向频率控制字设置模块送入频率初始值,让DDS模块输出频率与系统数据传输速率的标称值相同。初始化后系统进入正常工作模式。由取值模块获得前置滤波器的输出值,并输入到差值计算模块,差值计算模块将前置滤波器的输出值与基准数值相减,得到它们的差值。差值计算模块的输出信号送入环路滤波模块,进行积分运算。环路滤波器输出经过积分处理的信号,此信号再送入到频率调整量计算模块。频率调整量计算模块将输入信号乘以压控系数K,计算得到DDS输出信号频率需要变化的数值,压控系数K即为等效的压控增益。频率调整量计算模块的输出信号送入频率控制字计算模块,选用下述计算式进行频率控制字的计算: Figure 4 is a block diagram of the system data processing module. The initialization module is connected to the frequency overrun judging module and the frequency control word setting module, and sends the highest and lowest threshold values of the preset frequency control word to the frequency overrun judging module, and sends the frequency initial value to the frequency control word setting module , so that the output frequency of the DDS module is the same as the nominal value of the system data transmission rate. After initialization, the system enters the normal working mode. The output value of the pre-filter is obtained by the value acquisition module, and is input to the difference calculation module, and the difference calculation module subtracts the output value of the pre-filter from the reference value to obtain their difference. The output signal of the difference calculation module is sent to the loop filter module for integral operation. The loop filter outputs the integrated signal, which is then sent to the frequency adjustment calculation module. The frequency adjustment calculation module multiplies the input signal by the voltage control coefficient K to calculate the value that the DDS output signal frequency needs to change, and the voltage control coefficient K is the equivalent voltage control gain. The output signal of the frequency adjustment calculation module is sent to the frequency control word calculation module, and the following calculation formula is used to calculate the frequency control word:

.

频率控制字计算模块输出的频率控制字送入频率超限判决模块进行高低门限的判决,当频率控制字没有超过预置的最高、最低门限值的时候,频率超限判决模块将输入频率控制字直接送到DDS频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整,当频率控制字超过了预置的最高、最低门限值,将频率控制字只取相应的最高、最低门限值,去掉超出部分,输出到到DDS频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整。 The frequency control word output by the frequency control word calculation module is sent to the frequency overrun judgment module to judge the high and low thresholds. When the frequency control word does not exceed the preset maximum and minimum thresholds, the frequency overrun judgment module will input the frequency control The word is directly sent to the DDS frequency control word setting module to adjust the output signal frequency of the DDS waveform generator. When the frequency control word exceeds the preset highest and lowest threshold values, the frequency control word only takes the corresponding highest and lowest Threshold value, remove the excess part, output to the DDS frequency control word setting module, and adjust the output signal frequency of the DDS waveform generator.

实施例2: Example 2:

图5、图6是使用了带模数转换器的单片机做控制的基于DDS的数字通信时钟同步系统电路结构框图和数据处理流程框图。与实施例1实现的系统对比,其区别在于环路滤波模块用电路实现,同样完成积分的功能,而且鉴相器输出端连接环路滤波模块的输入端,环路滤波模块输出端连接单片机的模数转换器输入端,该模数转换器作为取值模块完成取值。 Figure 5 and Figure 6 are a block diagram of the circuit structure and a data processing flow diagram of a DDS-based digital communication clock synchronization system controlled by a single-chip microcomputer with an analog-to-digital converter. Compared with the system realized in embodiment 1, the difference is that the loop filter module is implemented with a circuit, which also completes the function of integration, and the output end of the phase detector is connected to the input end of the loop filter module, and the output end of the loop filter module is connected to the single chip microcomputer. The input terminal of the analog-to-digital converter, the analog-to-digital converter is used as a value acquisition module to complete the value acquisition.

单片机的数据处理过程包括如下步骤: The data processing process of the single-chip microcomputer includes the following steps:

(1)DDS初始化模块连接到频率超限判断模块、频率控制字设置模块,向频率超限判断模块送入预置频率控制字的最高、最低门限值,向频率控制字设置模块送入频率初始值对应的频率控制字; (1) The DDS initialization module is connected to the frequency overrun judgment module and the frequency control word setting module, and sends the highest and lowest threshold values of the preset frequency control word to the frequency overrun judgment module, and sends the frequency to the frequency control word setting module initial value Corresponding frequency control word;

(2)模数转换器取出环路滤波模块的电压输出值,将其与基准数值在差值计算模块中进行差值运算,其运算结果送人频率调整量计算模块;其中的基准数值为环路滤波器输出的最高、最低电压值的算术平均值; (2) The analog-to-digital converter takes out the voltage output value of the loop filter module, and performs difference calculation between it and the reference value in the difference calculation module, and the calculation result is sent to the frequency adjustment calculation module; the reference value is the loop The arithmetic mean of the highest and lowest voltage values output by the filter;

(3)频率调整量计算模块将结果数据乘以压控系数

Figure 958803DEST_PATH_IMAGE002
,计算得到DDS输出信号频率需要的变量,然后送人频率控制字计算模块; (3) The frequency adjustment amount calculation module multiplies the result data by the voltage control coefficient
Figure 958803DEST_PATH_IMAGE002
, calculate the variables required by the DDS output signal frequency, and then send it to the frequency control word calculation module;

(4)频率控制字计算模块进行频率控制字的计算,计算式为: (4) The frequency control word calculation module calculates the frequency control word, and the calculation formula is:

Figure 210792DEST_PATH_IMAGE004
Figure 210792DEST_PATH_IMAGE004
,

计算后输出的频率控制字送入频率超限判决模块进行高低门限的判决; The frequency control word output after calculation is sent to the frequency overrun judgment module to judge the high and low thresholds;

(5)当频率控制字没有超过预置的最高、最低门限值时,频率超限判决模块将输入频率控制字直接送到频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整; (5) When the frequency control word does not exceed the preset maximum and minimum thresholds, the frequency overrun judgment module sends the input frequency control word directly to the frequency control word setting module to adjust the output signal frequency of the DDS waveform generator ;

(6)当频率控制字超过了预置的最高、最低门限值时,将频率控制字只取相应的最高、最低门限值,去掉超出部分,输出到到频率控制字设置模块,对DDS波形产生器的输出信号频率进行调整。 (6) When the frequency control word exceeds the preset maximum and minimum threshold values, the frequency control word only takes the corresponding maximum and minimum threshold values, removes the excess part, and outputs it to the frequency control word setting module. For DDS The output signal frequency of the waveform generator is adjusted.

Claims (8)

1. the digital communication clock system based on DDS comprises the waveform preprocessor, and phase discriminator is characterized in that: also comprise the DDS waveform generation module; Waveform preprocessor output connects an input of phase discriminator, and the phase discriminator output connects the frequency control word input of DDS waveform generation module, and DDS waveform generation module output connects another input of phase discriminator, exports synchronizing clock signals simultaneously.
2. clock system according to claim 1 is characterized in that: the prefilter of having pegged graft between phase discriminator and DDS waveform generation module; The phase discriminator output connects the input of prefilter, and the prefilter output connects the frequency control word input of DDS waveform generation module.
3. clock system according to claim 2 is characterized in that: the system data processing module of having pegged graft between prefilter and DDS waveform generation module; The input of prefilter output connected system data processing module, system data processing module output connects the frequency control word input of DDS waveform generation module.
4. clock system according to claim 3 is characterized in that described system data processing module comprises that according to the order of connection transfinite judging module and frequency control word of value module, difference calculating module, loop filtering module, frequency adjustment amount computing module, frequency control word computing module, frequency arranges module; The data handling procedure of system data processing module comprises the steps:
(1) the DDS initialization module is connected to transfinite judge module, frequency control word of frequency module is set, and sends into the highest, the minimum threshold of predetermined frequency control word to the frequency judge module that transfinites, and to frequency control word module is set and sends into the frequency initial value
Figure 2013102461474100001DEST_PATH_IMAGE001
Corresponding frequency control word;
(2) obtain the prefilter voltage output value by the value module, itself and benchmark numerical value are carried out the difference computing in difference calculating module; Benchmark numerical value wherein is the arithmetic mean of the highest, the minimum voltage value of prefilter output;
(3) difference data is sent into the loop filtering module and is carried out integral operation, and its operation result is sent into frequency adjustment amount computing module;
(4) frequency adjustment amount computing module multiply by voltage-controlled coefficient with result data
Figure 202991DEST_PATH_IMAGE002
, calculate the variable that the DDS output signal frequency needs, the frequency control word computing module of making a gift to someone then;
(5) the frequency control word computing module carries out the calculating of frequency control word, and the frequency control word that calculates back output is sent into the frequency judging module that transfinites and carried out the judgement of high low threshold;
(6) when frequency control word does not surpass preset the highest, minimum threshold, the frequency judging module that transfinites is directly delivered to frequency control word with the incoming frequency control word module is set, and the output signal frequency of DDS waveform generator is adjusted;
(7) when frequency control word has surpassed preset the highest, minimum threshold, frequency control word is only got the highest, minimum threshold accordingly, remove and exceed part, output to frequency control word module is set, the output signal frequency of DDS waveform generator is adjusted.
5. clock system according to claim 4, the computational methods that it is characterized in that the frequency control word computing module described in the step (5) are one of following two kinds:
(1)
Figure 2013102461474100001DEST_PATH_IMAGE003
(2)
Figure 566102DEST_PATH_IMAGE004
6. clock system according to claim 1 is characterized in that: the loop filtering module of having pegged graft between phase discriminator and DDS waveform generation module and the single-chip microcomputer that carries analog to digital converter; The input of phase discriminator output linkloop filtration module, loop filtering module output connects the analog to digital converter input of single-chip microcomputer, and the single-chip microcomputer output connects the frequency control word input of DDS waveform generation module.
7. clock system according to claim 6 is characterized in that the data handling procedure of single-chip microcomputer comprises the steps:
(1) the DDS initialization module is connected to transfinite judge module, frequency control word of frequency module is set, and sends into the highest, the minimum threshold of predetermined frequency control word to the frequency judge module that transfinites, and to frequency control word module is set and sends into the frequency initial value Corresponding frequency control word;
(2) analog to digital converter takes out the voltage output value of loop filter, and itself and benchmark numerical value are carried out the difference computing in difference calculating module, its operation result frequency adjustment amount computing module of making a gift to someone; Benchmark numerical value wherein is the arithmetic mean of the highest, the minimum voltage value of loop filter output;
(3) frequency adjustment amount computing module multiply by voltage-controlled coefficient with result data , calculate the variable that the DDS output signal frequency needs, the frequency control word computing module of making a gift to someone then;
(4) the frequency control word computing module carries out the calculating of frequency control word, and the frequency control word that calculates back output is sent into the frequency judging module that transfinites and carried out the judgement of high low threshold;
(5) when frequency control word does not surpass preset the highest, minimum threshold, the frequency judging module that transfinites is directly delivered to frequency control word with the incoming frequency control word module is set, and the output signal frequency of DDS waveform generator is adjusted;
(6) when frequency control word has surpassed preset the highest, minimum threshold, frequency control word is only got the highest, minimum threshold accordingly, remove and exceed part, output to frequency control word module is set, the output signal frequency of DDS waveform generator is adjusted.
8. clock system according to claim 7, the computational methods that it is characterized in that the frequency control word computing module described in the step (4) are one of following two kinds:
(1)
Figure 885591DEST_PATH_IMAGE003
(2)
Figure 2013102461474100001DEST_PATH_IMAGE005
CN201310246147.4A 2013-06-20 2013-06-20 Digital communication clock synchronization system based on DDS Expired - Fee Related CN103346874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310246147.4A CN103346874B (en) 2013-06-20 2013-06-20 Digital communication clock synchronization system based on DDS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310246147.4A CN103346874B (en) 2013-06-20 2013-06-20 Digital communication clock synchronization system based on DDS

Publications (2)

Publication Number Publication Date
CN103346874A true CN103346874A (en) 2013-10-09
CN103346874B CN103346874B (en) 2017-04-19

Family

ID=49281650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310246147.4A Expired - Fee Related CN103346874B (en) 2013-06-20 2013-06-20 Digital communication clock synchronization system based on DDS

Country Status (1)

Country Link
CN (1) CN103346874B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811139A (en) * 2015-04-20 2015-07-29 浙江科技学院 Vector network analysis method based on DDS spurious frequency application
CN106301658A (en) * 2016-09-26 2017-01-04 湖南基石通信技术有限公司 A kind of Extraction of Bit Synchronization Signal method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847992A (en) * 2009-12-31 2010-09-29 南京国睿安泰信科技股份有限公司 Frequency synthesis system for enhancing spectrum purity of direct digital frequency synthesizer
CN102201819A (en) * 2011-03-07 2011-09-28 武汉理工大学 Frequency synthesis source applied by DDS short-wave transmitter based on CPLD design
CN203340091U (en) * 2013-06-20 2013-12-11 桂林电子科技大学 A Digital Communication Clock Synchronization System Based on DDS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847992A (en) * 2009-12-31 2010-09-29 南京国睿安泰信科技股份有限公司 Frequency synthesis system for enhancing spectrum purity of direct digital frequency synthesizer
CN102201819A (en) * 2011-03-07 2011-09-28 武汉理工大学 Frequency synthesis source applied by DDS short-wave transmitter based on CPLD design
CN203340091U (en) * 2013-06-20 2013-12-11 桂林电子科技大学 A Digital Communication Clock Synchronization System Based on DDS

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811139A (en) * 2015-04-20 2015-07-29 浙江科技学院 Vector network analysis method based on DDS spurious frequency application
CN104811139B (en) * 2015-04-20 2018-06-05 浙江科技学院 Vector network analysis method based on the application of DDS spurious frequencies
CN106301658A (en) * 2016-09-26 2017-01-04 湖南基石通信技术有限公司 A kind of Extraction of Bit Synchronization Signal method and device
CN106301658B (en) * 2016-09-26 2018-11-09 湖南基石通信技术有限公司 A kind of Extraction of Bit Synchronization Signal method and device

Also Published As

Publication number Publication date
CN103346874B (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US8451971B2 (en) Communication systems, clock generation circuits thereof, and method for generating clock signal
CN101170399B (en) A clock synchronization method in distributed base station and the distributed base station
CN100521597C (en) Clock data recovery circuit
CA2246146C (en) Direct digital phase synthesis
CN105680851A (en) Clock data recovery system
CN207399510U (en) Hearing instrument and system
US20110084768A1 (en) Dual reference oscillator phase-lock loop
CN206149242U (en) Second order improper integral ware circuit and phase -locked loop
CN104521175B (en) For the clock recovery of multichannel, receiver and communication system
CN101420294B (en) Time clock phase locking loop controlling method and apparatus
CN106656168B (en) Clock data recovery device and method
CN103346874B (en) Digital communication clock synchronization system based on DDS
CN203340091U (en) A Digital Communication Clock Synchronization System Based on DDS
WO2009090448A2 (en) Proportional phase comparator and method for phase-aligning digital signals
CN109314520A (en) Method and circuit for phaselocked loop
CN106059572A (en) Frequency source module of adjusting frequency output based on programmable control circuit
CN105306048A (en) Phase-locked loop circuit used for spurious suppression and spurious suppression method thereof
CN118199621A (en) Clock data recovery circuit and clock data recovery method based on phase-locked loop
CN101114179A (en) Phase adjusting method and device thereof
CN207150565U (en) A kind of high speed delay phase-locked loop
CN201444630U (en) Phase-locked loop circuit with adjustable frequency range
CN114826539B (en) Clock data recovery device and method without reference clock
CN105337591A (en) Circuit structure and method for realizing clock recovery on the basis of USB device
CN107017879A (en) A kind of system and method that subcarrier decoding is carried out to the high-frequency signal modulated with subcarrier
CN103823996A (en) Interpolation method suitable for high-speed sampling calculation of electric system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170419