CN205563133U - Digital PLL phase -locked loop simulation system of high Q value that rebounds - Google Patents
Digital PLL phase -locked loop simulation system of high Q value that rebounds Download PDFInfo
- Publication number
- CN205563133U CN205563133U CN201620306572.7U CN201620306572U CN205563133U CN 205563133 U CN205563133 U CN 205563133U CN 201620306572 U CN201620306572 U CN 201620306572U CN 205563133 U CN205563133 U CN 205563133U
- Authority
- CN
- China
- Prior art keywords
- frequency
- simulation
- generator
- value
- integrator
- 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.)
- Expired - Fee Related
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 80
- 230000005284 excitation Effects 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 6
- 230000006641 stabilisation Effects 0.000 claims 3
- 238000011105 stabilization Methods 0.000 claims 3
- 238000001514 detection method Methods 0.000 abstract description 21
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 abstract description 3
- 238000013461 design Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000013112 stability test Methods 0.000 abstract description 2
- 230000008859 change Effects 0.000 description 10
- 238000000034 method Methods 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000000630 rising effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 230000003595 spectral effect Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 238000005094 computer simulation Methods 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
本实用新型涉及反弹高Q值数字式PLL锁相环仿真系统,其特征在于:包括中央处理器、时间常数发生器、分频器、检波放大器、积分器、仿真激励源发生器、频稳测试仪和倍频器;与现有的技术相比,本实用新型的有益效果是:本实用新型结构简单、设计合理,能够有效提高仿真计算精度,同时采用程序控制,自动化程度较高,使用较为方便,提高仿真系统的模拟性能。
The utility model relates to a rebound high-Q value digital PLL phase-locked loop simulation system, which is characterized in that it includes a central processing unit, a time constant generator, a frequency divider, a detection amplifier, an integrator, a simulation excitation source generator, and a frequency stability test instrument and frequency multiplier; compared with the existing technology, the beneficial effects of the utility model are: the utility model is simple in structure, reasonable in design, can effectively improve the accuracy of simulation calculation, and adopts program control at the same time, with a high degree of automation and relatively easy to use Convenience, improve the simulation performance of the simulation system.
Description
技术领域technical field
本实用新型涉及仿真系统领域,尤其涉及反弹高Q值数字式PLL锁相环仿真系统。The utility model relates to the field of simulation systems, in particular to a rebound high-Q value digital PLL phase-locked loop simulation system.
背景技术Background technique
所谓系统仿真(system simulation),就是根据系统分析的目的,在分析系统各要素性质及其相互关系的基础上,建立能描述系统结构或行为过程的、且具有一定逻辑关系或数量关系的仿真模型,据此进行试验或定量分析,以获得正确决策所需的各种信息。锁相环路是一种反馈控制电路,简称锁相环(PLL,Phase-Locked Loop)。锁相环的特点是:利用外部输入的参考信号控制环路内部振荡信号的频率和相位。因锁相环可以实现输出信号频率对输入信号频率的自动跟踪,所以锁相环通常用于闭环跟踪电路。锁相环在工作的过程中,当输出信号的频率与输入信号的频率相等时,输出电压与输入电压保持固定的相位差值,即输出电压与输入电压的相位被锁住,这就是锁相环名称的由来。锁相环通常由鉴相器(PD,Phase Detector)、环路滤波器(LF,Loop Filter)和压控振荡器(VCO,VoltageControlled Oscillator)三部分组成;锁相环中的鉴相器又称为相位比较器,它的作用是检测输入信号和输出信号的相位差,并将检测出的相位差信号转换成uD(t)电压信号输出,该信号经低通滤波器滤波后形成压控振荡器的控制电压uC(t),对振荡器输出信号的频率实施控制。The so-called system simulation is to establish a simulation model that can describe the system structure or behavior process and has a certain logical or quantitative relationship based on the purpose of system analysis and on the basis of analyzing the nature and relationship of each element of the system. , based on which experiments or quantitative analysis are carried out to obtain various information required for correct decision-making. A phase-locked loop is a feedback control circuit, referred to as a phase-locked loop (PLL, Phase-Locked Loop). The characteristic of the phase-locked loop is: the frequency and phase of the internal oscillation signal of the loop are controlled by an externally input reference signal. Because the phase-locked loop can automatically track the frequency of the output signal to the frequency of the input signal, the phase-locked loop is usually used in a closed-loop tracking circuit. During the working process of the phase-locked loop, when the frequency of the output signal is equal to the frequency of the input signal, the output voltage and the input voltage maintain a fixed phase difference, that is, the phase of the output voltage and the input voltage is locked, which is phase-locked The origin of the name of the ring. A phase-locked loop is usually composed of three parts: a phase detector (PD, Phase Detector), a loop filter (LF, Loop Filter) and a voltage-controlled oscillator (VCO, Voltage Controlled Oscillator); the phase detector in the phase-locked loop is also called It is a phase comparator, its function is to detect the phase difference between the input signal and the output signal, and convert the detected phase difference signal into a uD(t) voltage signal output, which is filtered by a low-pass filter to form a voltage-controlled oscillation The control voltage uC(t) of the oscillator controls the frequency of the oscillator output signal.
现有仿真系统计算精度较低,对复杂系统进行仿真时,线路上实现的难度较大,精度不易保证;当系统中的逻辑判断环节较多时,仿真比较困难,普及率较低。The calculation accuracy of the existing simulation system is low. When simulating a complex system, it is difficult to realize it on the circuit, and the accuracy is not easy to guarantee. When there are many logical judgment links in the system, the simulation is more difficult and the penetration rate is low.
实用新型内容Utility model content
本实用新型的目的是为了克服现有技术的不足,提供了反弹高Q值数字式PLL锁相环仿真系统。The purpose of the utility model is to provide a bounce-back high-Q digital PLL phase-locked loop simulation system in order to overcome the deficiencies of the prior art.
本实用新型是通过以下技术方案实现:The utility model is realized through the following technical solutions:
反弹高Q值数字式PLL锁相环仿真系统,包括中央处理器、时间常数发生器、分频器、检波放大器、积分器、仿真激励源发生器、频稳测试仪和倍频器;所述分频器连接有检波放大器,所述检波放大器连接有积分器,所述积分器连接有中央控制器;所述中央控制器连接有仿真激励源发生器、倍频器、频稳测试仪和时间常数发生器;所述仿真激励源发生器连接有频稳测试仪,所述倍频器连接有仿真激励源发生器和分频器;所述时间常数发生器分别和检波放大器、积分器连通。A rebound high-Q digital PLL phase-locked loop simulation system includes a central processing unit, a time constant generator, a frequency divider, a detection amplifier, an integrator, a simulation excitation source generator, a frequency stability tester and a frequency multiplier; The frequency divider is connected with a detection amplifier, and the detection amplifier is connected with an integrator, and the integrator is connected with a central controller; the central controller is connected with a simulation excitation source generator, a frequency multiplier, a frequency stability tester and a time A constant generator; the simulation excitation source generator is connected with a frequency stability tester, and the frequency multiplier is connected with a simulation excitation source generator and a frequency divider; the time constant generator is connected with a detection amplifier and an integrator respectively.
进一步地,仿真系统信号传递图中F0为高稳参考源的原始频率、,分别为高稳参考源分频频率与仿真激励发生器输出频率。,,,,分别为高稳参考源、检波放大器、积分器、仿真激励发生器和倍频器输出端的误差。M为倍频系数, 为检波放大器鉴频斜率,为仿真激励发生器的压控斜率。1/(1+STh)为等效RC滤波器的环路传递函数,其中S为复数傅立叶频率,Th为RC时间常数。A和Ti分别为积分器的放大倍数与时间常数,在这里,为实现图1的仿真,我们加入了时间常数发生器模块,它由电阻与电容式多级串并联回路构成,用以产生不同的RC时间常数,并应用于图1中检波放大器的Th及积分器的Ti。Furthermore, F0 in the simulation system signal transfer diagram is the original frequency of the high stability reference source, , Respectively, the frequency division frequency of the high stability reference source and the output frequency of the simulation excitation generator. , , , , are the errors of the high-stable reference source, the detection amplifier, the integrator, the simulated excitation generator and the output of the frequency multiplier, respectively. M is the multiplication factor, is the frequency discrimination slope of the detector amplifier, is the voltage-controlled slope of the simulated excitation generator. 1/(1+STh) is the loop transfer function of the equivalent RC filter, where S is the complex Fourier frequency , Th is the RC time constant. A and Ti are the magnification factor and time constant of the integrator respectively. Here, in order to realize the simulation in Figure 1, we added a time constant generator module, which is composed of resistance and capacitance multi-stage series-parallel circuits to generate different The RC time constant of , and applied to Th of the detection amplifier and Ti of the integrator in Figure 1.
在图1的积分器中,为简化仿真情况,我们有意设置积分器的放大倍数A为无穷大,当A很大时可以近似认识积分器的传递函数为1/STi。定义:In the integrator in Figure 1, in order to simplify the simulation situation, we intentionally set the magnification factor A of the integrator to infinity, and when A is very large, we can approximately know that the transfer function of the integrator is 1/STi. definition:
(1) (1)
则图1的仿真系统开环增益为:Then the open-loop gain of the simulation system in Figure 1 is:
(2) (2)
仿真激励源发生器的稳态输出频率可表示为: The steady-state output frequency of the simulated excitation source generator can be expressed as:
(3) (3)
系统在环路工作达到稳态后,通常有G(s)》1,所以 (3)式可写出为:After the system reaches a steady state in the loop, it usually has G(s)>1, so formula (3) can be written as:
(4) (4)
从(4)式可见,在理想状态下仿真激励源发生器的稳态输出频率应等于高稳定参考源分频后频It can be seen from formula (4) that in an ideal state, the steady-state output frequency of the simulation excitation source generator should be equal to the high-stable reference source after frequency division
率值有一倍数关系:Rate values have a doubling relationship:
(5) (5)
本实用新型中的具体参数为:Concrete parameter among the utility model is:
1、倍数关系1. Multiple relationship
为实现图1及公式(5)中理论表达的仿真激励源发生器的稳态输出频率应与高稳定参考源频率值间的倍数关系,并且上述关系是一个动态平衡的,我们需要通过图1中的中央处理器来协调整个系统的工作,在此暂时定义此项任务参数为X,后面会详细阐述。In order to realize the multiple relationship between the steady-state output frequency of the simulated excitation source generator and the high-stable reference source frequency value theoretically expressed in Figure 1 and formula (5), and the above relationship is a dynamic balance, we need to pass Figure 1 The central processing unit in the system is used to coordinate the work of the whole system. Here, the parameter of this task is temporarily defined as X, which will be elaborated later.
2、时间常数2. Time constant
公式(5)及上述X参数的设定是理论的,因为在实际的图1构成的PLL锁相环路中,由于高稳参考源自身的频差和PLL环路中各部分的误差存在,图1的输出频率与其标称值总有一定偏差。仿真激励发生器端的偏离和老化、积分器零点漂移、倍频器相位变化等都可能产生这种偏差。所有项的长期漂移都可能造成输出频率的老化现象,成为附加噪声。Formula (5) and the setting of the above X parameters are theoretical, because in the actual PLL phase-locked loop formed in Figure 1, due to the frequency difference of the high-stable reference source itself and the errors of each part of the PLL loop, There is always a certain deviation between the output frequency of Figure 1 and its nominal value. This deviation may be caused by the deviation and aging of the simulation excitation generator end, the zero point drift of the integrator, and the phase change of the frequency multiplier. all The long-term drift of the item may cause the aging phenomenon of the output frequency and become additional noise.
为减小上述电子线路部分的误差应尽量提高开环增益G(s)。为仿真方便起见,我们在专利中统一的将图1中的,,,,各项误差设为固定值。为提高图1仿真系统的性能,理论上讲应尽可能使开环增益G(s)变大,使公式(2)中的分子变大,但实际上G0应有极限。一般认为系统的阻尼系数不应小于0.5,那么In order to reduce the error of the above-mentioned electronic circuit part, the open-loop gain G(s) should be increased as much as possible. For the convenience of simulation, we unified the , , , , Each error is set to a fixed value. In order to improve the performance of the simulation system in Figure 1, theoretically speaking, the open-loop gain G(s) should be made as large as possible, so that the numerator in formula (2) becomes larger, but in fact G0 should have a limit. It is generally believed that the damping coefficient of the system should not be less than 0.5, then
(6) (6)
那么方便起见,我们设定G0=1,同时使Th=Ti。实现的方法是:So for the sake of convenience, we set G0=1 and make Th=Ti at the same time. The way to do it is:
(1)、通过图1中的中央控制器分别设置检波放大器、仿真激励发生器、倍频器的、、M,使等于1;(1) Set the detection amplifier, simulation excitation generator and frequency multiplier separately through the central controller in Figure 1 , , M, make equal to 1;
(2)、通过图1中的中央控制器分别设置检波放大器、积分器对应的时间常数Th=Ti。(2) Set the time constant Th=Ti corresponding to the detection amplifier and the integrator respectively through the central controller in Fig. 1 .
通过上述设置后,公式(2)表述的图1仿真系统的开环增益为:After the above settings, the open-loop gain of the simulation system in Figure 1 expressed by formula (2) is:
(7) (7)
3、仿真系统Q值3. Q value of simulation system
减小时间常数Th,按照式(7)确实增大了仿真系统的开环增益,这是有利于系统性能的,这也同时增大环路滤波器带宽fh。图1高稳参考源相当于一个鉴频器,当其长期漂移可以忽略时,我们假定其幂律谱噪声公式为:Decreasing the time constant Th, according to formula (7) does increase the open-loop gain of the simulation system, which is beneficial to the system performance, which also increases the loop filter bandwidth fh at the same time. Figure 1. The high-stable reference source is equivalent to a frequency discriminator. When its long-term drift can be ignored, we assume that its power-law spectral noise formula is:
(8) (8)
理论情况下的图1环路工作在线性状态,若可以认为仿真激励发生器与高稳参考源功率谱密度(Sy(f)OSC与Sy(f)REF)完全不相关,则图1系统输出功率谱密度可以表示为:In theory, the loop in Figure 1 works in a linear state. If it can be considered that the simulated excitation generator is completely uncorrelated with the power spectral density of the high-stable reference source (Sy(f)OSC and Sy(f)REF), the system output in Figure 1 The power spectral density can be expressed as:
(9) (9)
根据定义,我们有,因此,把(8)式代入(9)式就可以看到,当仿真的平均周期很短时,,有By definition, we have , therefore, substituting (8) into (9), we can see , when the averaging period of the simulation is very short, ,Have
(10) (10)
当仿真的平均周期极长时,有When the averaging period of the simulation is extremely long ,Have
(11) (11)
显然,整个环路对仿真激励发生器而言是一个高通滤波器;对与高稳参考源而言是一个低通滤波器;其滤波特性由环路滤波器的高端截止频率fh决定。(10)式的极端情况是,(11)式的极端情况是。可以看出,fh过大将使图1的仿真系统输出信号短期稳定度变差;fh过小将使图1的仿真系统输出信号长期稳定度变差。在图1系统闭环后,我们是无法得知系统的环路带宽即高端截止频率fh的,我们用Q值来表征图1的仿真系统输出信号的稳定信号,并通过图1中的频稳测试仪来测量得出表征系统Q值的仿真测试结果,从而间接的反应环路带宽即高端截止频率fh的值选择好坏。Obviously, the entire loop is a high-pass filter for the simulation excitation generator; it is a low-pass filter for the high-stable reference source; its filtering characteristics are determined by the high-end cut-off frequency fh of the loop filter. The extreme case of (10) is , the extreme case of (11) is . It can be seen that if fh is too large, the short-term stability of the output signal of the simulation system in Figure 1 will deteriorate; if fh is too small, the long-term stability of the output signal of the simulation system in Figure 1 will deteriorate. After the system in Figure 1 is closed-loop, we cannot know the loop bandwidth of the system, that is, the high-end cutoff frequency fh. We use the Q value to characterize the stable signal of the output signal of the simulation system in Figure 1, and pass the frequency stability test in Figure 1 The simulation test results that characterize the Q value of the system can be obtained by measuring with an instrument, so as to indirectly reflect the selection of the loop bandwidth, that is, the value of the high-end cut-off frequency fh.
与现有的技术相比,本实用新型的有益效果是:本实用新型结构简单、设计合理,能够有效提高仿真计算精度,同时采用程序控制,自动化程度较高,使用较为方便,提高仿真系统的模拟性能。Compared with the existing technology, the beneficial effects of the utility model are: the utility model is simple in structure, reasonable in design, can effectively improve the simulation calculation accuracy, and adopts program control at the same time, has a higher degree of automation, is more convenient to use, and improves the performance of the simulation system. Analog performance.
附图说明Description of drawings
图1为本实用新型的结构示意图;Fig. 1 is the structural representation of the utility model;
图2为本实用新型仿真系统电路图;Fig. 2 is the utility model simulation system circuit diagram;
图3为本实用新型中仿真系统信号判断图;Fig. 3 is the judgment figure of simulation system signal in the utility model;
图4为本实用新型实施例中仿真系统策略预判趋势图;Fig. 4 is the simulation system strategy pre-judgment trend figure in the utility model embodiment;
图5为本实用新型另一实施例中仿真系统策略预判趋势图。Fig. 5 is a trend diagram of strategy prediction of the simulation system in another embodiment of the present invention.
具体实施方式detailed description
为了使本实用新型的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本实用新型进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本实用新型,并不用于限定本实用新型。In order to make the purpose, technical solution and advantages of the utility model clearer, the utility model will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the utility model, and are not intended to limit the utility model.
请参阅图1-5,图1为本实用新型的结构示意图,图2为本实用新型仿真系统电路图,图3为本实用新型中仿真系统信号判断图,图4为本实用新型实施例中仿真系统策略预判趋势图,图5为本实用新型另一实施例中光频移-光强测试曲线。Please refer to Fig. 1-5, Fig. 1 is the structure diagram of the present utility model, Fig. 2 is the circuit diagram of the emulation system of the present utility model, Fig. 3 is the signal judgment diagram of the emulation system in the present utility model, Fig. 4 is the simulation in the embodiment of the present utility model The system strategy prediction trend diagram, Fig. 5 is the optical frequency shift-light intensity test curve in another embodiment of the present utility model.
反弹高Q值数字式PLL锁相环仿真系统,包括中央处理器、时间常数发生器、分频器、检波放大器、积分器、仿真激励源发生器、频稳测试仪和倍频器;所述分频器连接有检波放大器,所述检波放大器连接有积分器,所述积分器连接有中央控制器;所述中央控制器连接有仿真激励源发生器、倍频器、频稳测试仪和时间常数发生器;所述仿真激励源发生器连接有频稳测试仪,所述倍频器连接有仿真激励源发生器和分频器;所述时间常数发生器分别和检波放大器、积分器连通。A rebound high-Q digital PLL phase-locked loop simulation system includes a central processing unit, a time constant generator, a frequency divider, a detection amplifier, an integrator, a simulation excitation source generator, a frequency stability tester and a frequency multiplier; The frequency divider is connected with a detection amplifier, and the detection amplifier is connected with an integrator, and the integrator is connected with a central controller; the central controller is connected with a simulation excitation source generator, a frequency multiplier, a frequency stability tester and a time A constant generator; the simulation excitation source generator is connected with a frequency stability tester, and the frequency multiplier is connected with a simulation excitation source generator and a frequency divider; the time constant generator is connected with a detection amplifier and an integrator respectively.
本实用新型中实现各个参数采用的方式为:The mode that realizes each parameter adopts in the utility model is:
倍数关系策略:Multiple relationship strategy:
图1系统中,我们的仿真系统模型预设置的频段如下所示:In the system in Figure 1, the preset frequency bands of our simulation system model are as follows:
(1)、为实现高频段的仿真响应,我们选择频率较高的高稳参考源,经图1的分频处理后获得的信号频率为50.****MHz。其中小数位的****(保留到四位)是随机的,为方便说明起见,在本专利实施中我们取****=1234,即图1中的为50.1234MHz;(1) In order to realize the simulation response of the high frequency band, we choose a high frequency and high stability reference source, and the signal frequency obtained after the frequency division processing in Figure 1 is 50.****MHz. The **** of the decimal places (reserved to four digits) is random. For the convenience of explanation, we take ****=1234 in the implementation of this patent, that is, in Figure 1 is 50.1234MHz;
(2)、中央控制器设置的初始化仿真激励发生器输出10MHz频率信号;(2) The initialization simulation excitation generator set by the central controller outputs a 10MHz frequency signal;
(3)、中央控制器设置的初始化倍频器输出信号频率与理论值相同,即也为50.1234MHz;(3), the initial frequency multiplier output signal frequency set by the central controller and The theoretical value is the same, that is, also 50.1234MHz;
(4)、仿真激励发生器输出信号频率与倍频器输出信号频率有联动关连。(4) The output signal frequency of the simulation excitation generator is linked to the output signal frequency of the frequency multiplier.
实现上述模型的电路结构如图2所示:The circuit structure to realize the above model is shown in Figure 2:
其中处理器位于图1中的中央控制器模块中,并且处理器XTAL端与图2中的DDS1、DDS2的RefClk端接入同一时钟源的频率信号,以保证时离同步。处理器在外部时钟输入端(XTAL)作为工作时的时钟参考基础上,分别产生三路相位关系可调整的方波信号,其中一路键控调频信号送至DDS1的FSK键控调频输入端口实现调频、一路同步参考信号用作同步鉴相、一路判断用信号用作图1锁相环的锁定检测。DDS1在外部时钟基准输入端(RefClk)作为工作时的参考时钟基础上,通过处理器与DDS1间的串行时序通讯,DDS1根据FSK端处理器送来的方波键控调频方波信号的高、低电平状态分别选取内部频率控制寄存器(F1、F0)中处理器输入的倍频调制数值预置频率作为输出,从而产生带调制的频率信号50.1234MHz±△f输出。预置的频率差值△f由两个频率控制寄存器F1、F0中的数值决定,具体的考虑到射频信号为50.1234MHz(小数点后第4位精密),我们取△f=100Hz。与上述处理器控制DDS1产生倍频调制信号的原理类似,处理器通过串行通讯时序,将同样的分频数值传递给DDS2,产生不带调制的50.1234MHz频率信号输出。将DDS2得到的50.1234MHz频率信号送入DDS3的外部时钟基准输入端(RefClk),用作DDS3工作时的参考时钟。处理器根据串行时序通讯,将相应的初始化输出频率(10MHz)数值传递给DDS3,从而得到仿真激励源发生器频率信号输出。由于DDS3的外部参考时基采用DDS2产生的倍频信号,故在本方案中,当图1中的闭合环路中的中央控制器得到相应的鉴相信号信息后,会修改相应的DDS2的倍频调制信号的频率,这样亦会引起DDS3输出信号的频率发生变化,即替代了传统的通过D/A压控晶振的方式来改变本振的输出频率值,进而改变系统输出频率的方法。值得注意的是,对于输出频率信号采用了直接数字合成的方式,使得在一定应用范围内充当了一个稳定度较高的综合器角色。用户可以根据实际应用中的要求,通过图2中用户输入端口,方便地修改DDS3的整机输出信号的频率值。The processor is located in the central controller module in Figure 1, and the XTAL terminal of the processor is connected to the frequency signal of the same clock source as the RefClk terminal of DDS1 and DDS2 in Figure 2 to ensure time synchronization. On the basis of the external clock input terminal (XTAL) as the clock reference during operation, the processor generates three square wave signals with adjustable phase relationship, one of which is sent to the FSK key frequency modulation input port of DDS1 to realize frequency modulation 1. One channel of synchronous reference signal is used for synchronous phase detection, and one channel of judgment signal is used for lock detection of the phase locked loop in FIG. 1 . Based on the external clock reference input terminal (RefClk) of DDS1 as the reference clock during operation, through the serial timing communication between the processor and DDS1, DDS1 controls the high and low of the FM square wave signal according to the square wave key sent by the processor at the FSK end. The level state selects the multiplier modulation value preset frequency input by the processor in the internal frequency control register (F1, F0) as the output, thereby generating a modulated frequency signal 50.1234MHz±△f output. The preset frequency difference △f is determined by the values in the two frequency control registers F1 and F0. Specifically, considering that the radio frequency signal is 50.1234MHz (the 4th decimal place is precise), we take △f=100Hz. Similar to the above-mentioned principle of the processor controlling DDS1 to generate frequency multiplication modulation signals, the processor transmits the same frequency division value to DDS2 through the serial communication sequence to generate a 50.1234MHz frequency signal output without modulation. The 50.1234MHz frequency signal obtained by DDS2 is sent to the external clock reference input terminal (RefClk) of DDS3, which is used as the reference clock when DDS3 works. According to the serial timing communication, the processor transmits the corresponding initialization output frequency (10MHz) value to DDS3, so as to obtain the frequency signal output of the simulation excitation source generator. Since the external reference time base of DDS3 adopts the frequency multiplication signal generated by DDS2, in this scheme, when the central controller in the closed loop in Figure 1 obtains the corresponding phase detection signal information, it will modify the corresponding DDS2 multiplier The frequency of the frequency modulation signal will also cause the frequency of the DDS3 output signal to change, which replaces the traditional method of changing the output frequency value of the local oscillator through the D/A voltage-controlled crystal oscillator, and then changing the system output frequency. It is worth noting that the direct digital synthesis method is adopted for the output frequency signal, which makes it act as a synthesizer with high stability in a certain application range. Users can easily modify the frequency value of the DDS3 output signal through the user input port in Figure 2 according to the requirements in practical applications.
时间常数设置策略Time constant setting strategy
由前述方案可知,我们设定等于1,同时使Th=Ti。按照上述倍数关系策略,我们使仿真激励源发生器输出的信号频率为10MHz、高稳参考源分频后的频率选择为50.1234MHz,根据公式(5),可以得到M=5。由上述倍数关系策略可知,我们在设计图1的仿真系统中并未采用传统的通过D/A压控晶振的方式来改变系统输出频率值方法,所以图1中的仿真激励发生器的压控斜率是无法知道的,我们只能通过等于1并通过M=5获得*=1/5的结论。具体的实施过程中,按照图1我们只能通过中央控制器对检波放大器进行值的设定。由于仿真系统中的时间常数只由Th决定,所以按照图1我们通过中央控制器对时间常数发生器的控制实现对检波放大器、积分器的检波时间常数Th和积分时间常数Ti的设置,并且使Th=Ti。From the foregoing scheme, we can see that we set Equal to 1, while making Th=Ti. According to the multiple relationship strategy above, we make the signal frequency output by the simulation excitation source generator 10MHz, and the frequency after frequency division of the high stability reference source is selected as 50.1234MHz, according to the formula (5) , you can get M=5. It can be seen from the above multiple relationship strategy that we did not use the traditional method of changing the system output frequency value through the D/A voltage-controlled crystal oscillator in the design of the simulation system in Figure 1, so in Figure 1 The voltage control slope of the simulation excitation generator is unknown, we can only use is equal to 1 and obtained by M=5 * =1/5 conclusion. In the specific implementation process, according to Figure 1, we can only perform detection amplifiers through the central controller. value setting. Since the time constant in the simulation system is only determined by Th, according to Figure 1, we realize the setting of the detection time constant Th and integration time constant Ti of the detection amplifier and integrator through the control of the central controller to the time constant generator, and make Th=Ti.
仿真系统Q值策略Simulation system Q value strategy
我们在图2中通过处理器产生三路方波信号:同步参考信号、键控调频信号、判断用信号,使同步参考信号频率等于键控调频信号频率,并有一定的相位延时差;同时使判断用信号频率N(N取值可在8至20之间)倍于同步参考信号频率或者键控调频信号频率,并有一定的相位延时差。这里具体的我们取同步参考信号频率等于键控调频信号频率为169Hz,且两者相位差为160度;同时取判断用信号频率N值为8倍,且与同步参考信号相位差为90度。In Figure 2, we generate three-way square wave signals through the processor: synchronous reference signal, keyed FM signal, and judgment signal, so that the frequency of the synchronous reference signal is equal to the frequency of the keyed FM signal, and there is a certain phase delay difference; at the same time Make the judgment signal frequency N (the value of N can be between 8 and 20) times the frequency of the synchronization reference signal or the frequency of the keying FM signal, and have a certain phase delay difference. Specifically, we take the frequency of the synchronous reference signal to be equal to the frequency of the keyed FM signal to be 169 Hz, and the phase difference between the two is 160 degrees; at the same time, we take the frequency N of the judgment signal to be 8 times, and the phase difference with the synchronous reference signal is 90 degrees.
具体的判定依据如图3所示:The specific judgment basis is shown in Figure 3:
图3中判断用信号、同步参考信号、键控调频信号是有固定频率及相位关系的方波数字信号;使能信号要么是1、要么是0,故可以看作是无固定频率的方波数字信号;鉴相信号由图1中的积分器产生,它是一个变化的直流信号,故可以看作是无固定频率的模拟信号。In Figure 3, the judging signal, synchronous reference signal, and keyed FM signal are square wave digital signals with a fixed frequency and phase relationship; the enable signal is either 1 or 0, so it can be regarded as a square wave without a fixed frequency Digital signal; the phase detection signal is generated by the integrator in Figure 1, which is a changing DC signal, so it can be regarded as an analog signal without a fixed frequency.
按照图3的原理结合图1,我们设定判断用信号的某一上升沿作为触发判断开始,在下一上升沿到来之前完成10次判断,然后下一上升沿到来时,又触发下一组10次判断。由于我们事先知道图3中判断用信号的频率,即我们知道相邻两个上升沿之间的时间T,故可以平均分配一组10次判断的时间间隔。According to the principle of Figure 3 combined with Figure 1, we set a certain rising edge of the judgment signal as the trigger judgment start, complete 10 judgments before the arrival of the next rising edge, and then trigger the next group of 10 times when the next rising edge arrives. second judgment. Since we know the frequency of the judgment signal in Figure 3 in advance, that is, we know the time T between two adjacent rising edges, a group of 10 time intervals for judgment can be evenly distributed.
图1中中央控制器按照上述触发判断条件,对由积分器输送的鉴相信号进行判断,当其模拟直流信号大小位于图3所示的非使能带状区内时,中央控制器输出图3中的使能信号为0,图1中的频稳测量仪不工作;当其模拟直流信号大小位于图3所示的非使能带状区外时,中央控制器输出图3中的使能信号为1,图1中的频稳测量仪开始工作;仿真Q值实际上就是图1中频稳测量仪工作时输出的仿真测试结果值,它反映了图1仿真系统输出信号的性能,In Fig. 1, the central controller judges the phase detection signal delivered by the integrator according to the above-mentioned trigger judgment conditions, and when the magnitude of the analog DC signal is in the non-enabled strip area shown in Fig. 3, the central controller outputs the The enabling signal in Figure 3 is 0, and the frequency stability measuring instrument in Figure 1 does not work; when the magnitude of its analog DC signal is outside the non-enabled band area shown in Figure 3, the central controller outputs the enabling signal in Figure 3 The energy signal is 1, and the frequency stability measuring instrument in Figure 1 starts to work; the simulation Q value is actually the simulation test result value output by the frequency stability measuring instrument in Figure 1 when it is working, and it reflects the performance of the output signal of the simulation system in Figure 1.
在整个仿真的过程中,中央控制器在开始时,初始化所有的欲设置值,这些参数就不再变化了,动态仿真时只有检波放大器参数值、检波放大器时间常数Th值须由中央控制器模块进行动态设置,而判断这两个参数是否合理的判断标准则是仿真Q值。我们给值取个范围1-10,同样Th我们亦取个1-10。在图1系统一开始仿真时,除了设定各路初始化设置值外,我们会在值及Th值全范围仿真一遍得到对应的Q值,Q值位于L与H之间,定义为L=1至H=100(Q值越大越好),我们定义这段仿真时间内的Q值数据为“建模区”。During the entire simulation process, the central controller initializes all the desired setting values at the beginning, and these parameters will no longer change. During dynamic simulation, only the detector amplifier parameters The value of the time constant Th of the detector amplifier must be dynamically set by the central controller module, and the criterion for judging whether these two parameters are reasonable is the simulated Q value. we give The value takes a range of 1-10, and we also take a value of 1-10 for Th. At the beginning of the simulation of the system in Figure 1, in addition to setting the initial setting values of each channel, we will The corresponding Q value is obtained by simulating the full range of Th value and Th value. The Q value is between L and H, defined as L=1 to H=100 (the larger the Q value, the better), we define the Q value during this simulation time The data is the "modeled area".
在动态仿真过程中,大多数情况下系统按照图3所原理进行着。另外我们实施以下二个策略评判系统的“反弹”性和“高Q”性,首先我们压缩上述获得的Q值,取Q值范围在(L=25至L=50)定义为策略值区Q1,中央控制器设置值和Th值,及采样Q值的时间是同步的,并且使设置值和Th值的变化方向相反:During the dynamic simulation process, the system is carried out according to the principle shown in Figure 3 in most cases. In addition, we implement the "rebound" and "high Q" properties of the following two strategy evaluation systems. First, we compress the Q value obtained above, and take the Q value range (L=25 to L=50) to define it as the strategy value area Q1 , central controller setting value and Th value, and the time of sampling Q value are synchronized, and make setting Values and Th values change in opposite directions:
第一种情况:下一次设置值(记为K2)较本次值(记为K1)是增加的(即K2>K1),那么下一次设置Th值(记为T2)则较本次Th值(记为T1)是减小的(即T2<T1)。The first case: the next setting value (denoted as K2) compared with this time The value (denoted as K1) is increased (that is, K2>K1), then the next time the Th value (denoted as T2) is set to be smaller than the current Th value (denoted as T1) (that is, T2<T1).
第二种情况:下一次设置值(记为K2)较本次值(记为K1)是减小的(即K2<K1),那么下一次设置Th值(记为T2)则较本次Th值(记为T1)是增加的(即T2>T1)。Second case: next time setting value (denoted as K2) compared with this time The value (denoted as K1) is reduced (that is, K2<K1), then the next time the Th value (denoted as T2) is set to increase compared with the current Th value (denoted as T1) (that is, T2>T1).
需要说明的一点是:中央控制器是随时的按照上述二种情况进行仿真的。有了上述的运行机制,我们有以下两种策略:One point that needs to be explained is: the central controller performs simulation according to the above two situations at any time. With the above operating mechanism, we have the following two strategies:
实施例一:按照上述仿真,首先获得系统Q值的“建模区”,如图4所示,然后系统随机地进入上述第一种情况或第二种情况。当系统的仿真Q值大于H时,即图4中的点O处,无论此时系统处于第一种情况还是第二种情况,我们将置系统于第一种情况状态,即增加值同时减小Th值,并且使增加趋势的参数值变化量增加为原来的2倍,即下一次设置值是上述第一种情况下变化的2*(K2-K1),同时Th值的设置变化值为原来的(T2-T1),我们定义为第三种情况。仿真系统一直按照第四种情况进行仿真,如图4所示,仿真结果理论上将沿着图中的虚拟策略预判断趋势线进行至某一H1处,直至出现Q值下降,那么我们恢复原来的设置情况,Embodiment 1: According to the above simulation, the "modeling area" of the Q value of the system is obtained first, as shown in FIG. 4 , and then the system randomly enters the above-mentioned first situation or the second situation. When the simulated Q value of the system is greater than H, that is, at point O in Figure 4, no matter whether the system is in the first situation or the second situation at this time, we will put the system in the first situation state, that is, increase value while decreasing the Th value, and making the parameter of increasing trend The value change is increased to 2 times the original value, that is, the next setting The value is 2*(K2-K1) of the change in the first case above, and the setting change value of Th value is the original (T2-T1), which we define as the third case. The simulation system has been simulating according to the fourth situation, as shown in Figure 4, the simulation result will theoretically follow the virtual strategy pre-judgment trend line in the figure to a certain H1 until the Q value drops, then we restore the original settings,
实施例二:按照上述仿真,首先获得系统Q值的“建模区”,如图5所示,然后系统随机地进入上述第一种情况或第二种情况。当系统仿真Q值出现在L1=25处时,并且连续的三次Q值出现上升,且攀升至大于33处(图5中的点O处),无论此时系统处于第一种情况还是第二种情况,我们将置系统于第二种情况状态,即减小值同时增加Th值,并且使增加趋势的参数Th值变化量增加为原来的2倍,即下一次设置Th值是上述第二种情况下变化的2*(T2-T1),同时的设置变化值为原来的(K2-K1),我们定义为第三种情况。仿真系统一直按照第三种情况进行仿真,如图5所示,仿真结果理论上将沿着图中的虚拟策略预判断趋势线进行至某一H1处,直至出现Q值下降,那么我们恢复原来的设置情况。Embodiment 2: According to the above simulation, the "modeling area" of the Q value of the system is first obtained, as shown in FIG. 5 , and then the system randomly enters the above-mentioned first situation or the second situation. When the simulated Q value of the system appears at L1=25, and the Q value rises for three consecutive times, and rises to more than 33 (point O in Figure 5), no matter the system is in the first situation or the second In the first case, we will put the system in the second case state, which reduces Increase the Th value at the same time, and increase the change of the parameter Th value of the increasing trend to double the original value, that is, the next time the Th value is set to be 2*(T2-T1) of the change in the second case above, and at the same time The setting change value of is the original (K2-K1), which we define as the third case. The simulation system has been simulating according to the third situation, as shown in Figure 5, the simulation result will theoretically follow the virtual strategy pre-judgment trend line in the figure to a certain H1 until the Q value drops, then we restore the original settings.
以上所述仅为本实用新型的较佳实施例而已,并不用以限制本实用新型,凡在本实用新型的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本实用新型的保护范围之内。The above descriptions are only preferred embodiments of the present utility model, and are not intended to limit the present utility model. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present utility model shall be included in this utility model. within the scope of protection of utility models.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620306572.7U CN205563133U (en) | 2016-04-13 | 2016-04-13 | Digital PLL phase -locked loop simulation system of high Q value that rebounds |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620306572.7U CN205563133U (en) | 2016-04-13 | 2016-04-13 | Digital PLL phase -locked loop simulation system of high Q value that rebounds |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205563133U true CN205563133U (en) | 2016-09-07 |
Family
ID=56811848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620306572.7U Expired - Fee Related CN205563133U (en) | 2016-04-13 | 2016-04-13 | Digital PLL phase -locked loop simulation system of high Q value that rebounds |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205563133U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105938330A (en) * | 2016-04-13 | 2016-09-14 | 江汉大学 | Rebounding high-Q-value digital PLL simulation system |
CN107918054A (en) * | 2017-11-01 | 2018-04-17 | 江汉大学 | A kind of time-domain signal optimization system |
-
2016
- 2016-04-13 CN CN201620306572.7U patent/CN205563133U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105938330A (en) * | 2016-04-13 | 2016-09-14 | 江汉大学 | Rebounding high-Q-value digital PLL simulation system |
CN107918054A (en) * | 2017-11-01 | 2018-04-17 | 江汉大学 | A kind of time-domain signal optimization system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10917078B2 (en) | System and method for fast converging reference clock duty cycle correction for digital to time converter (DTC)-based analog fractional-N phase-locked loop (PLL) | |
US8724765B2 (en) | Locking system and method thereof | |
CN102739246B (en) | Clock-generating device and frequency calibrating method | |
CN101640533B (en) | A Fast Locking Method of All-Digital Phase-Locked Loop | |
CN102045062B (en) | A Digital Phase Locked Loop Based on Cordic Algorithm | |
CN101640534B (en) | Full digital phase-locked loop applying rapid frequency capture method | |
KR20130110989A (en) | Clock generator | |
CN104104385A (en) | High-precision phase-locked loop and phase locking method | |
WO2007062577A1 (en) | A phase-locked loop and method of improving clock precision | |
JP2010119077A (en) | Phase comparator, pll circuit, and method of controlling phase comparator | |
CN103297047A (en) | Atomic frequency standard and servo locking method | |
CN105938330A (en) | Rebounding high-Q-value digital PLL simulation system | |
CN205563133U (en) | Digital PLL phase -locked loop simulation system of high Q value that rebounds | |
CN109560811A (en) | A kind of enhanced phaselocked loop of three-phase | |
CN107918054A (en) | A kind of time-domain signal optimization system | |
CN102185607B (en) | Phase difference detection method, device and circuit in phase-locked loop circuit | |
CN104242931A (en) | Rapidly-locked all-digital phase-locked loop and implementation method | |
CN106941353A (en) | A kind of time-domain signal optimization Simulation system | |
CN201444630U (en) | A phase-locked loop circuit with adjustable frequency band | |
TWI530102B (en) | Digital phase-locked loop and phase-frequency detector module thereof | |
CN106953635A (en) | A frequency source modeling method and system | |
Qingping et al. | ADF4350-based Frequency Modulation transmitter design | |
CN110798206A (en) | Voltage-controlled delay line-based loop compensation method for phase-locked loop frequency synthesizer | |
CN104467825A (en) | Self-adaptive rapid crystal locking method based on Clean-up digital phase-locked loop | |
JP2877185B2 (en) | Clock generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
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: 20160907 Termination date: 20170413 |