CN118573187A - Frequency dividing circuit and digital signal processing circuit - Google Patents

Frequency dividing circuit and digital signal processing circuit Download PDF

Info

Publication number
CN118573187A
CN118573187A CN202411055829.1A CN202411055829A CN118573187A CN 118573187 A CN118573187 A CN 118573187A CN 202411055829 A CN202411055829 A CN 202411055829A CN 118573187 A CN118573187 A CN 118573187A
Authority
CN
China
Prior art keywords
signal
frequency
module
frequency division
delay
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
CN202411055829.1A
Other languages
Chinese (zh)
Other versions
CN118573187B (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.)
Niuxin Semiconductor Shenzhen Co ltd
Original Assignee
Niuxin Semiconductor Shenzhen Co ltd
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 Niuxin Semiconductor Shenzhen Co ltd filed Critical Niuxin Semiconductor Shenzhen Co ltd
Priority to CN202411055829.1A priority Critical patent/CN118573187B/en
Publication of CN118573187A publication Critical patent/CN118573187A/en
Application granted granted Critical
Publication of CN118573187B publication Critical patent/CN118573187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • H03L7/197Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division
    • H03L7/1974Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division for fractional frequency division

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

本申请公开了一种分频电路及数字信号处理电路,其中,分频电路包括:锁相环,用于根据输入的时钟信号生成第一分频信号和第二分频信号;第一延时模块,所述第一延时模块的输入端与所述锁相环的输出端连接,用于根据所述第一分频信号和输入的时钟信号对应的异步时钟信号,生成所述第一分频信号对应的第一延时信号;选通模块,所述选通模块的输入端分别与所述第一延时模块的输出端和所述锁相环的输出端连接,用于根据所述第一分频信号、所述第二分频信号和所述第一延时信号,生成小数分频信号。本申请通过第一延时模块和选通模块的结构设置,与锁相环进行配合实现小数分频功能,从而减小分频电路中多个选通门的复杂电路结构对信号传输速率的影响。

The present application discloses a frequency division circuit and a digital signal processing circuit, wherein the frequency division circuit includes: a phase-locked loop, for generating a first frequency division signal and a second frequency division signal according to an input clock signal; a first delay module, the input end of the first delay module is connected to the output end of the phase-locked loop, for generating a first delay signal corresponding to the first frequency division signal according to the asynchronous clock signal corresponding to the first frequency division signal and the input clock signal; a gating module, the input end of the gating module is respectively connected to the output end of the first delay module and the output end of the phase-locked loop, for generating a fractional frequency division signal according to the first frequency division signal, the second frequency division signal and the first delay signal. The present application realizes the fractional frequency division function by cooperating with the phase-locked loop through the structural setting of the first delay module and the gating module, thereby reducing the influence of the complex circuit structure of multiple gating gates in the frequency division circuit on the signal transmission rate.

Description

一种分频电路及数字信号处理电路A frequency division circuit and a digital signal processing circuit

技术领域Technical Field

本申请涉及数字电路设计的技术领域,尤其涉及一种分频电路及数字信号处理电路。The present application relates to the technical field of digital circuit design, and in particular to a frequency division circuit and a digital signal processing circuit.

背景技术Background Art

分频电路是一种在电子领域中广泛应用的电路,其主要功能是将输入信号的频率按照特定比例分配到输出端口。这种电路在多种电子设备中发挥着重要作用,如电子钟、频率合成器、音频系统、数字系统和通信系统等。Frequency divider circuit is a circuit widely used in the field of electronics. Its main function is to distribute the frequency of the input signal to the output port according to a specific ratio. This circuit plays an important role in many electronic devices, such as electronic clocks, frequency synthesizers, audio systems, digital systems and communication systems.

在光通信中以及16Gbps及以上传输速率的接口中,往往需要使用到小数分频,由于16Gbps及以上的传输速率为高传输速率,必须由选通门和触发器等模块相互配合来完成对信号的分频。但在现有的小数分频电路中,往往需要多个选通门协同工作来实现小数分频,从而导致电路的结构复杂高,同时,较多选通门也会影响电路的信号传输速率。Fractional frequency division is often required in optical communications and interfaces with transmission rates of 16Gbps and above. Since the transmission rate of 16Gbps and above is a high transmission rate, the signal frequency division must be completed by the cooperation of modules such as gates and triggers. However, in existing fractional frequency division circuits, multiple gates are often required to work together to achieve fractional frequency division, which leads to a complex circuit structure. At the same time, more gates will also affect the signal transmission rate of the circuit.

因此,亟需要一种相对简单,且能够实现小数分频的电路来解决上述技术问题。Therefore, there is an urgent need for a relatively simple circuit that can implement fractional frequency division to solve the above technical problems.

发明内容Summary of the invention

为解决上述技术问题,本申请的实施例提供了一种分频电路及数字信号处理电路。In order to solve the above technical problems, the embodiments of the present application provide a frequency division circuit and a digital signal processing circuit.

根据本申请实施例的一个方面,提供了一种分频电路,包括:锁相环,用于根据输入的时钟信号生成第一分频信号和第二分频信号;第一延时模块,所述第一延时模块的输入端分别与所述锁相环的输出端连接,用于根据所述第一分频信号和输入的时钟信号对应的异步时钟信号,生成所述第一分频信号对应的第一延时信号;选通模块,所述选通模块的输入端分别与所述第一延时模块的输出端和所述锁相环的输出端连接,用于根据所述第一分频信号、所述第二分频信号和所述第一延时信号,生成小数分频信号。According to one aspect of an embodiment of the present application, a frequency division circuit is provided, including: a phase-locked loop, for generating a first frequency division signal and a second frequency division signal according to an input clock signal; a first delay module, the input end of the first delay module is respectively connected to the output end of the phase-locked loop, and is used to generate a first delay signal corresponding to the first frequency division signal according to the first frequency division signal and an asynchronous clock signal corresponding to the input clock signal; a gating module, the input end of the gating module is respectively connected to the output end of the first delay module and the output end of the phase-locked loop, and is used to generate a fractional frequency division signal according to the first frequency division signal, the second frequency division signal and the first delay signal.

在本申请的一些实施例中,所述锁相环包括:调频模块,用于根据输入的目标信号生成第一分频信号和第二分频信号;脉冲模块,所述脉冲模块的输入端与所述调频模块的输出端连接,所述脉冲模块的输出端与所述调频模块的输入端连接,用于根据所述第一分频信号、所述第二分频信号和输入的时钟信号,生成脉冲信号,并根据所述脉冲信号和所述时钟信号生成所述目标信号,并将所述目标信号输入至所述调频模块。In some embodiments of the present application, the phase-locked loop includes: a frequency modulation module, which is used to generate a first frequency-divided signal and a second frequency-divided signal according to an input target signal; a pulse module, wherein the input end of the pulse module is connected to the output end of the frequency modulation module, and the output end of the pulse module is connected to the input end of the frequency modulation module, and is used to generate a pulse signal according to the first frequency-divided signal, the second frequency-divided signal and an input clock signal, and generate the target signal according to the pulse signal and the clock signal, and input the target signal to the frequency modulation module.

在本申请的一些实施例中,所述调频模块包括依次连接的第一分频器、第二分频器和第三分频器;所述第一分频器用于对输入的目标信号进行分频,以得到初始分频信号;所述第二分频器用于对所述初始分频信号进行分频,以得到所述第一分频信号;所述第三分频器用于对所述第一分频信号进行分频,以得到所述第二分频信号。In some embodiments of the present application, the frequency modulation module includes a first frequency divider, a second frequency divider and a third frequency divider connected in sequence; the first frequency divider is used to divide the input target signal to obtain an initial frequency divided signal; the second frequency divider is used to divide the initial frequency divided signal to obtain the first frequency divided signal; the third frequency divider is used to divide the first frequency divided signal to obtain the second frequency divided signal.

在本申请的一些实施例中,所述第一分频器与所述第二分频器的分频倍数相同,所述第三分频器与所述第二分频器的分频倍数不同。In some embodiments of the present application, the first frequency divider has the same frequency division multiple as the second frequency divider, and the third frequency divider has a different frequency division multiple than the second frequency divider.

在本申请的一些实施例中,所述脉冲模块包括第二延时模块,所述第二延时模块用于根据所述第一分频信号和所述时钟信号,生成第二延时信号,以使所述脉冲模块根据所述第二延时信号、所述第一分频信号和所述第二分频信号生成所述脉冲信号。In some embodiments of the present application, the pulse module includes a second delay module, which is used to generate a second delay signal based on the first frequency division signal and the clock signal, so that the pulse module generates the pulse signal based on the second delay signal, the first frequency division signal and the second frequency division signal.

在本申请的一些实施例中,所述脉冲模块还包括或非运算模块和与运算模块;所述或非运算模块用于将输入所述或非运算模块的第二延时信号和第二分频信号进行或非运算,以得到补充分频信号;所述与运算模块用于将输入到所述与运算模块的补充分频信号和第一分频信号进行与运算,以得到所述脉冲信号。In some embodiments of the present application, the pulse module also includes an OR-NOT operation module and an AND-NOT operation module; the OR-NOT operation module is used to perform an OR-NOT operation on the second delayed signal and the second frequency-divided signal input into the OR-NOT operation module to obtain a supplementary frequency-divided signal; the AND-operation module is used to perform an AND-operation on the supplementary frequency-divided signal and the first frequency-divided signal input into the AND-operation module to obtain the pulse signal.

在本申请的一些实施例中,分频电路包括非运算模块,用于对输入的时钟信号进行非运算,以得到所述异步时钟信号,并将所述异步时钟信号输出至所述第一延时模块。In some embodiments of the present application, the frequency division circuit includes a negation module for performing a negation operation on an input clock signal to obtain the asynchronous clock signal, and outputting the asynchronous clock signal to the first delay module.

在本申请的一些实施例中,分频电路包括或运算模块,用于将输入到所述或运算模块的脉冲信号和时钟信号进行或运算,以得到目标信号。In some embodiments of the present application, the frequency division circuit includes an OR operation module, which is used to perform an OR operation on a pulse signal and a clock signal input to the OR operation module to obtain a target signal.

在本申请的一些实施例中,所述选通模块包括多路选择器,用于在所述第一分频信号和所述第一延时信号中,基于所述第二分频信号的控制输出所述小数分频信号。In some embodiments of the present application, the gating module includes a multiplexer for outputting the fractional frequency-divided signal based on the control of the second frequency-divided signal among the first frequency-divided signal and the first delayed signal.

根据本申请实施例的另一个方面,提供了一种数字信号处理电路,包括如上述内容所述的分频电路。According to another aspect of an embodiment of the present application, a digital signal processing circuit is provided, comprising the frequency division circuit as described above.

在上述实施例中,基于初始化的皮带张力,提高了对应校正频次在对传动组件进行校正时的校正效果。In the above embodiment, based on the initialized belt tension, the correction effect of the corresponding correction frequency when calibrating the transmission component is improved.

本申请实施例的技术方案中,通过上述发明内容至少可以带来如下有益效果:将通过锁相环生成的第一分频信号和第二分频信号,与第一延时模块生成的第一延时信号进行结合,以作为选通模块的输入,并基于选通模块得到对应的小数分频信号;通过设置第一延时模块和选通模块的数字电路结构,并将其与锁相环进行配合即可实现小数分频信号的生成,从而减小分频电路中复杂的数字电路结构对信号传输速率的影响。In the technical solution of the embodiment of the present application, the above invention content can at least bring the following beneficial effects: the first frequency division signal and the second frequency division signal generated by the phase-locked loop are combined with the first delay signal generated by the first delay module as the input of the gating module, and the corresponding fractional frequency division signal is obtained based on the gating module; by setting the digital circuit structure of the first delay module and the gating module, and coordinating it with the phase-locked loop, the fractional frequency division signal can be generated, thereby reducing the influence of the complex digital circuit structure in the frequency division circuit on the signal transmission rate.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术者来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

图1为本申请示例性实施例示出的一种分频电路的整体电路框架示意图。FIG. 1 is a schematic diagram of an overall circuit framework of a frequency division circuit shown in an exemplary embodiment of the present application.

图2为本申请示例性实施例示出的第一延时模块的电路结构示意图。FIG. 2 is a schematic diagram of the circuit structure of a first delay module shown in an exemplary embodiment of the present application.

图3为本申请示例性实施例示出的选通模块的电路结构示意图。FIG. 3 is a schematic diagram of a circuit structure of a gating module according to an exemplary embodiment of the present application.

图4为本申请示例性实施例示出的锁相环的电路结构示意图。FIG. 4 is a schematic diagram of a circuit structure of a phase-locked loop according to an exemplary embodiment of the present application.

图5为本申请示例性实施例示出的调频模块的电路结构示意图。FIG. 5 is a schematic diagram of a circuit structure of a frequency modulation module according to an exemplary embodiment of the present application.

图6为本申请另一示例性实施例示出的调频模块的电路结构示意图。FIG6 is a schematic diagram of a circuit structure of a frequency modulation module according to another exemplary embodiment of the present application.

图7为本申请示例性实施例示出的脉冲模块的电路结构示意图。FIG. 7 is a schematic diagram of a circuit structure of a pulse module according to an exemplary embodiment of the present application.

图8为本申请另一示例性实施例示出的脉冲模块的电路结构示意图。FIG8 is a schematic diagram of a circuit structure of a pulse module according to another exemplary embodiment of the present application.

图9为本申请另一示例性实施例示出的锁相环的电路结构示意图。FIG. 9 is a schematic diagram of a circuit structure of a phase-locked loop according to another exemplary embodiment of the present application.

图10为本申请示例性实施例示出的一种分频电路的整体电路结构示意图。FIG. 10 is a schematic diagram of the overall circuit structure of a frequency division circuit shown in an exemplary embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为使本申请的目的和实施方式更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明。应该理解这样使用的用语在适当情况下可以互换。The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的所有组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

需要说明的是:在本文中提及的“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be noted that the "multiple" mentioned in this article refers to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.

图1为本申请示例性实施例示出的一种分频电路的整体电路框架示意图。如图1所示,本申请的分频电路100包括锁相环110、第一延时模块120和选通模块130,并通过一下实施例对各个部分逐个进行详细介绍。Fig. 1 is a schematic diagram of the overall circuit framework of a frequency division circuit shown in an exemplary embodiment of the present application. As shown in Fig. 1, the frequency division circuit 100 of the present application includes a phase-locked loop 110, a first delay module 120 and a gating module 130, and each part is introduced in detail one by one through the following embodiments.

锁相环110,用于根据输入的时钟信号生成第一分频信号和第二分频信号。The phase-locked loop 110 is used to generate a first frequency-divided signal and a second frequency-divided signal according to an input clock signal.

需要说明的是,对于输入的时钟信号,可以通过预设的时钟发生器生成,时钟发生器是用一个可以提供方波输出的振荡器来生成时钟信号的。振荡器电路始终使用反馈的方式来使振荡器振荡。通过反馈相应的参数,使得振荡器工作在一个特定频率。以保证相关的电子组件得以同步运作。It should be noted that the input clock signal can be generated by a preset clock generator, which uses an oscillator that can provide a square wave output to generate the clock signal. The oscillator circuit always uses feedback to make the oscillator oscillate. By feeding back the corresponding parameters, the oscillator works at a specific frequency to ensure that the related electronic components can operate synchronously.

而锁相环110可以根据输入的时钟信号生成第一分频信号和第二分频信号,可视为锁相环110对应电路结构中设有用于实现信号分频的数字分频电路100,例如,数字分频电路100为电子钟,利用分频电路100将高频率的晶体振荡器信号分频为低频率的时钟信号。The phase-locked loop 110 can generate a first frequency-divided signal and a second frequency-divided signal according to the input clock signal. It can be regarded that a digital frequency-dividing circuit 100 for realizing signal frequency division is provided in the corresponding circuit structure of the phase-locked loop 110. For example, the digital frequency-dividing circuit 100 is an electronic clock, and the frequency-dividing circuit 100 is used to divide a high-frequency crystal oscillator signal into a low-frequency clock signal.

通过锁相环110的设置,可以确保不同模块或设备之间的时钟信号保持一致,避免数据漂移和通信错误。By setting the phase-locked loop 110, it is possible to ensure that the clock signals between different modules or devices remain consistent, thereby avoiding data drift and communication errors.

第一延时模块120,第一延时模块120的输入端与锁相环110的输出端连接,用于根据第一分频信号和输入的时钟信号对应的异步时钟信号,生成第一分频信号对应的第一延时信号。The first delay module 120 has an input end connected to the output end of the phase-locked loop 110 and is used to generate a first delay signal corresponding to the first frequency-divided signal according to the first frequency-divided signal and an asynchronous clock signal corresponding to the input clock signal.

需要说明的是,在本申请的分频电路100中,由于时钟信号的一致性,第一延时模块120的输入端不但可以与锁相环110的输出端连接,还可以与锁相环110的输入端连接,以使得锁相环110输入端的异步时钟信号所对应的时钟信号与第一延时模块120输入端的时钟信号一致。It should be noted that in the frequency division circuit 100 of the present application, due to the consistency of the clock signal, the input end of the first delay module 120 can not only be connected to the output end of the phase-locked loop 110, but also can be connected to the input end of the phase-locked loop 110, so that the clock signal corresponding to the asynchronous clock signal at the input end of the phase-locked loop 110 is consistent with the clock signal at the input end of the first delay module 120.

其中,第一延时模块120可以为D触发器,并基于D触发器的延时功能生成第一延时信号,主要体现在D触发器对输入信号的采样和输出信号的保持上。具体来说,D触发器在时钟信号的上升沿(或下降沿,取决于触发器的类型和设计)对输入信号进行采样,并将采样到的数据在时钟信号的下一个周期内保持不变,从而实现了一个时钟周期的延时。The first delay module 120 may be a D flip-flop, and generates a first delay signal based on the delay function of the D flip-flop, which is mainly reflected in the sampling of the input signal and the retention of the output signal by the D flip-flop. Specifically, the D flip-flop samples the input signal at the rising edge (or falling edge, depending on the type and design of the flip-flop) of the clock signal, and keeps the sampled data unchanged in the next cycle of the clock signal, thereby achieving a delay of one clock cycle.

示例性地进行说明,图2为本申请示例性实施例示出的第一延时模块的电路结构示意图。如图2所示,当时钟信号CLK的上升沿(或下降沿)到来时,D触发器会采样D输入端的数据。采样到的数据会被存储在触发器内部,并在时钟信号的下一个周期内保持不变。因此,从D输入端到Q输出端(或输出端)的信号传输会存在一个时钟周期的延时。For example, FIG2 is a schematic diagram of the circuit structure of the first delay module shown in the exemplary embodiment of the present application. As shown in FIG2, when the rising edge (or falling edge) of the clock signal CLK arrives, the D flip-flop samples the data at the D input terminal. The sampled data will be stored inside the flip-flop and remain unchanged in the next cycle of the clock signal. Therefore, from the D input terminal to the Q output terminal (or There will be a delay of one clock cycle in the signal transmission of the output end.

当然,对于第一延时模块120的延时功能还可以为通过其它电路结构进行实现。Of course, the delay function of the first delay module 120 can also be implemented through other circuit structures.

例如,锁存器,在使能信号或时钟信号的控制下,锁存器能够存储输入数据并在一定时间内保持该数据,这与D触发器在时钟沿更新数据并保持新状态的功能相似。因此,可基于锁存器与适配电路对上述示例中的D触发器做相应的替换。For example, a latch can store input data and keep the data for a certain period of time under the control of an enable signal or a clock signal, which is similar to the function of a D flip-flop updating data at the clock edge and keeping the new state. Therefore, the D flip-flop in the above example can be replaced accordingly based on a latch and an adaptation circuit.

再例如,寄存器,寄存器通过其内部的触发器(如D触发器)来实现数据的存储和延时。在时钟信号的控制下,寄存器可以接收输入数据,并在时钟沿将其存储在内部的触发器中,从而实现数据的延时处理。同理,可基于寄存器与适配电路也可以对上述示例中的D触发器做相应的替换。Another example is a register. The register uses its internal trigger (such as a D trigger) to achieve data storage and delay. Under the control of the clock signal, the register can receive input data and store it in the internal trigger at the clock edge, thereby achieving data delay processing. Similarly, the D trigger in the above example can be replaced accordingly based on the register and the adaptation circuit.

还例如,移位寄存器,移位寄存器通过其内部的触发器实现了数据的存储和传输。在时钟信号的驱动下,数据可以在触发器之间依次传递,从而实现数据的延时和移位处理。这种延时特性与D触发器的延时功能在本质上是相似的,都是基于时钟信号的同步和数据的存储与传输。同理,可基于移位寄存器与适配电路也可以对上述示例中的D触发器做相应的替换。Another example is a shift register. The shift register realizes data storage and transmission through its internal trigger. Driven by the clock signal, data can be transmitted in sequence between the triggers, thereby realizing data delay and shift processing. This delay characteristic is essentially similar to the delay function of the D trigger, both of which are based on the synchronization of the clock signal and the storage and transmission of data. Similarly, the D trigger in the above example can be replaced accordingly based on the shift register and the adaptation circuit.

除此之外,还可以使用在功能和作用上与D触发器的延时特性有着一定的相似性的电路进行代替,此处仅做示例性说明,不做具体限制。且本申请主要以D触发器实现上述延时功能,在其它实施例中若无具体说明,对于其使用的延时模块也可以通过D触发器来实现对应功能。In addition, a circuit having a certain similarity in function and effect to the delay characteristics of a D flip-flop can also be used as a replacement, which is only an exemplary description and is not specifically limited. In addition, this application mainly uses a D flip-flop to implement the above delay function. In other embodiments, if there is no specific description, the delay module used therein can also use a D flip-flop to implement the corresponding function.

使用时,基于D触发器实现原理,将第一分频信号和输入的时钟信号对应的异步时钟信号作为D触发器的输入,以生成第一分频信号对应的第一延时信号。When in use, based on the implementation principle of the D flip-flop, the first frequency-divided signal and the asynchronous clock signal corresponding to the input clock signal are used as inputs of the D flip-flop to generate a first delayed signal corresponding to the first frequency-divided signal.

选通模块130,选通模块130的输入端分别与第一延时模块120的输出端和锁相环110的输出端连接,用于根据第一分频信号、第二分频信号和第一延时信号,生成小数分频信号。The gating module 130 has an input end connected to the output end of the first delay module 120 and the output end of the phase-locked loop 110 respectively, and is used to generate a fractional frequency-divided signal according to the first frequency-divided signal, the second frequency-divided signal and the first delay signal.

具体的,选通模块130可以为多路选择器,用于在第一分频信号和第一延时信号中,基于第二分频信号的控制输出小数分频信号。Specifically, the gating module 130 may be a multiplexer configured to output a fractional frequency-divided signal based on the control of the second frequency-divided signal among the first frequency-divided signal and the first delayed signal.

以FPGA(Field Programmable Gate Array)中的多路选择器为例,FPGA器件中包含了可编程逻辑块CLB(Configurable Logic Blocks)、布线资源和可编程输入/输出模块等基本资源。其中,可编程逻辑块是实现用户功能的基本单元,它包含了互连开关矩阵和多个组成单元。每个组成单元又包含了查找表LUT(Look-Up-Table)、触发器和多路选择器等组件。在FPGA中,多路选择器作为连接各布线轨道和可编程逻辑块的桥梁,对FPGA的性能和功耗都有较大的影响。Taking the multiplexer in FPGA (Field Programmable Gate Array) as an example, FPGA devices contain basic resources such as programmable logic blocks CLB (Configurable Logic Blocks), wiring resources and programmable input/output modules. Among them, the programmable logic block is the basic unit for realizing user functions, which includes an interconnected switch matrix and multiple components. Each component unit also includes components such as look-up table LUT (Look-Up-Table), trigger and multiplexer. In FPGA, the multiplexer serves as a bridge connecting various wiring tracks and programmable logic blocks, and has a great impact on the performance and power consumption of FPGA.

示例性地进行说明,图3为本申请示例性实施例示出的选通模块的电路结构示意图。如图3所示,本申请的多路选择器可以为2选1多路选择器,2选1多路选择器具有两个输入端和一个输出端,通过一个选择信号线控制,选择其中一个输入信号传递到输出端。这种多路选择器适用于简单的数据选择和信号切换。其中,两个输入端所输入的信号可以为第一分频信号和第一延时信号,选择信号线输入的信号为第二分频信号。输出端用于输出小数分频信号。Explanation is made exemplarily, FIG3 is a schematic diagram of the circuit structure of the gating module shown in the exemplary embodiment of the present application. As shown in FIG3, the multiplexer of the present application can be a 2-to-1 multiplexer, and the 2-to-1 multiplexer has two input terminals and an output terminal, and is controlled by a selection signal line to select one of the input signals to be transmitted to the output terminal. This multiplexer is suitable for simple data selection and signal switching. Among them, the signals input by the two input terminals can be a first frequency division signal and a first delay signal, and the signal input by the selection signal line is a second frequency division signal. The output terminal is used to output a fractional frequency division signal.

通过上述实施方式,本申请的技术方案将锁相环110生成的第一分频信号和第二分频信号,与第一延时模块120生成的第一延时信号进行结合,以作为选通模块130的输入,并基于选通模块130得到对应的小数分频信号;通过第一延时模块120和选通模块130的结构设置,即可与锁相环110进行配合实现小数分频功能,从而减小电路中多个选通门的复杂电路结构对信号传输速率影响。Through the above-mentioned implementation mode, the technical solution of the present application combines the first frequency division signal and the second frequency division signal generated by the phase-locked loop 110 with the first delay signal generated by the first delay module 120 as the input of the selection module 130, and obtains the corresponding fractional frequency division signal based on the selection module 130; through the structural setting of the first delay module 120 and the selection module 130, it can cooperate with the phase-locked loop 110 to realize the fractional frequency division function, thereby reducing the influence of the complex circuit structure of multiple selection gates in the circuit on the signal transmission rate.

在本申请的一些实施例中,对于时钟信号对应的异步时钟信号,可以是通过在分频电路100中设置非运算模块进行计算得到的。In some embodiments of the present application, an asynchronous clock signal corresponding to the clock signal may be obtained by setting a non-operation module in the frequency division circuit 100 for calculation.

具体的,分频电路100还可以包括非运算模块,非运算模块的输出端与第一时钟模块的输入端连接,用于对输入的时钟信号进行非运算,以得到异步时钟信号,并将异步时钟信号输出至第一延时模块120。Specifically, the frequency division circuit 100 may further include a non-operation module, the output end of the non-operation module is connected to the input end of the first clock module, and is used to perform a non-operation on the input clock signal to obtain an asynchronous clock signal, and output the asynchronous clock signal to the first delay module 120.

为了保证时钟信号的一致性,非运算模块的输入端与锁相环110输入端用于输入时钟信号的端口连接。In order to ensure the consistency of the clock signal, the input end of the non-operation module is connected to the input port of the phase-locked loop 110 for inputting the clock signal.

在本申请的一些实施例中,图4为本申请示例性实施例示出的锁相环的电路结构示意图。如图4所示,锁相环110可以包括调频模块140和脉冲模块150,并使得调频模块140和脉冲模块150首尾相连形成环路。In some embodiments of the present application, Fig. 4 is a schematic diagram of a circuit structure of a phase-locked loop shown in an exemplary embodiment of the present application. As shown in Fig. 4, the phase-locked loop 110 may include a frequency modulation module 140 and a pulse module 150, and the frequency modulation module 140 and the pulse module 150 are connected end to end to form a loop.

具体的,调频模块140,用于根据输入的目标信号生成第一分频信号和第二分频信号。Specifically, the frequency modulation module 140 is used to generate a first frequency-divided signal and a second frequency-divided signal according to an input target signal.

脉冲模块150,脉冲模块150的输入端与调频模块140的输出端连接,脉冲模块150的输出端与调频模块140的输入端连接,用于根据第一分频信号、第二分频信号和输入的时钟信号,生成脉冲信号,并根据脉冲信号和时钟信号生成目标信号,并将目标信号输入至调频模块140。The pulse module 150, the input end of the pulse module 150 is connected to the output end of the frequency modulation module 140, and the output end of the pulse module 150 is connected to the input end of the frequency modulation module 140, and is used to generate a pulse signal according to the first frequency division signal, the second frequency division signal and the input clock signal, and generate a target signal according to the pulse signal and the clock signal, and input the target signal to the frequency modulation module 140.

其中,调频模块140即为能过实现分频功能的电路结构,其主要功能是将输入信号的频率进行变换,产生具有特定频率的输出信号。这些输出信号的频率可以是输入信号频率的整数倍或分数。例如,在时钟信号的产生、无线通信、数字信号处理、音频系统、视频处理等多个使用场景下所应用的分频电路100。The frequency modulation module 140 is a circuit structure that can realize the frequency division function, and its main function is to transform the frequency of the input signal to generate an output signal with a specific frequency. The frequency of these output signals can be an integer multiple or fraction of the frequency of the input signal. For example, the frequency division circuit 100 is used in multiple usage scenarios such as clock signal generation, wireless communication, digital signal processing, audio system, video processing, etc.

在一些使用场景下,调频模块140的输出频率是输入频率的整数分之一,例如,2分频、4分频等。在另一些使用场景下,调频模块140的输出频率还可以是输入频率的非整数分数,例如,3/4分频、5/9分频等。而对于具体的使用场景下,选择整数分频还是分数分频,需根据小数分频信号的实际需求做适应性的调整。同时,也可以结合硬件成本做适应性的调整。In some usage scenarios, the output frequency of the frequency modulation module 140 is an integer fraction of the input frequency, for example, 2-division, 4-division, etc. In other usage scenarios, the output frequency of the frequency modulation module 140 can also be a non-integer fraction of the input frequency, for example, 3/4-division, 5/9-division, etc. For specific usage scenarios, whether integer division or fractional division is selected needs to be adaptively adjusted according to the actual needs of the fractional division signal. At the same time, adaptive adjustments can also be made in combination with hardware costs.

示例性地进行说明,在数字电路中,实现分频的一种常见方法是使用D触发器或计数器。例如,通过D触发器级联可以实现偶数分频;对于奇数分频,则可以通过状态机或计数器结合逻辑门电路来实现。此外,还可以使用可编程逻辑器件(如FPGA)来实现更复杂的分频电路100。本申请的调频模块140可以采用D触发器级联实现偶数分频。For example, in a digital circuit, a common method for implementing frequency division is to use a D flip-flop or a counter. For example, even frequency division can be implemented by cascading D flip-flops; for odd frequency division, it can be implemented by a state machine or a counter combined with a logic gate circuit. In addition, a programmable logic device (such as an FPGA) can also be used to implement a more complex frequency division circuit 100. The frequency modulation module 140 of the present application can use a cascade of D flip-flops to implement even frequency division.

由于调频模块140与脉冲模块150相互配合形成一个环路,使用过程中,对于脉冲模块150而言,根据输入的第一分频信号、第二分频信号和时钟信号,生成脉冲信号,其中,第一分频信号和第二分频信号由调频模块140生成。同时,将生成的脉冲信号与时钟信号结合指定的逻辑门进行计算,以得到目标信号,并将生成的目标信号输入调频模块140,即形成锁相环110。Since the frequency modulation module 140 and the pulse module 150 cooperate with each other to form a loop, during use, the pulse module 150 generates a pulse signal according to the input first frequency division signal, the second frequency division signal and the clock signal, wherein the first frequency division signal and the second frequency division signal are generated by the frequency modulation module 140. At the same time, the generated pulse signal and the clock signal are combined with the specified logic gate for calculation to obtain the target signal, and the generated target signal is input into the frequency modulation module 140, that is, the phase-locked loop 110 is formed.

通过上述实施方式,基于调频模块140与脉冲模块150形成的锁相环110,能够自动调整输出信号的频率和相位,使之与输入信号的频率和相位保持同步或锁定状态,从而使得本申请的脉冲信号可以通过自动调整输出信号的频率和相位来确保信号的稳定性和一致性。Through the above-mentioned implementation, the phase-locked loop 110 formed based on the frequency modulation module 140 and the pulse module 150 can automatically adjust the frequency and phase of the output signal so as to keep it synchronized or locked with the frequency and phase of the input signal, so that the pulse signal of the present application can ensure the stability and consistency of the signal by automatically adjusting the frequency and phase of the output signal.

在本申请的一些实施例中,图5为本申请示例性实施例示出的调频模块的电路结构示意图。如图5所示,进一步对调频模块140进行示例性地说明,调频模块140可以包括依次连接的第一分频器、第二分频器和第三分频器。In some embodiments of the present application, Fig. 5 is a schematic diagram of the circuit structure of the frequency modulation module shown in an exemplary embodiment of the present application. As shown in Fig. 5, the frequency modulation module 140 is further exemplarily described, and the frequency modulation module 140 may include a first frequency divider, a second frequency divider, and a third frequency divider connected in sequence.

其中,第一分频器用于对输入的目标信号进行分频,以得到初始分频信号;第二分频器用于对初始分频信号进行分频,以得到第一分频信号;第三分频器用于对第一分频信号进行分频,以得到第二分频信号。Among them, the first frequency divider is used to divide the input target signal to obtain an initial frequency divided signal; the second frequency divider is used to divide the initial frequency divided signal to obtain a first frequency divided signal; the third frequency divider is used to divide the first frequency divided signal to obtain a second frequency divided signal.

详细地说,图6为本申请另一示例性实施例示出的调频模块的电路结构示意图。如图6所示,第一分频器、第二分频器和第三分频器皆可以为D触发器,由于D触发器是具有记忆功能的数字电路元件,其输出状态Q在时钟信号CLK(Clock)的上升沿(或下降沿,取决于具体触发器类型)到来时,会根据输入信号D的值进行更新。即,如果CLK的上升沿到来时D为高电平,则Q变为高电平;如果D为低电平,则Q变为低电平。In detail, FIG6 is a schematic diagram of the circuit structure of the frequency modulation module shown in another exemplary embodiment of the present application. As shown in FIG6, the first frequency divider, the second frequency divider and the third frequency divider can all be D flip-flops. Since the D flip-flop is a digital circuit element with a memory function, its output state Q will be updated according to the value of the input signal D when the rising edge (or falling edge, depending on the specific flip-flop type) of the clock signal CLK (Clock) arrives. That is, if D is high when the rising edge of CLK arrives, Q becomes high; if D is low, Q becomes low.

基于上述D触发器的基本原理,在将D触发器作为分频器时,将输入信号的频率降低为原频率的整数分之一的电路。利用D触发器的记忆功能和时钟敏感性,可以方便地实现分频功能。Based on the basic principle of the D flip-flop mentioned above, when the D flip-flop is used as a frequency divider, the frequency of the input signal is reduced to an integer fraction of the original frequency. The frequency division function can be easily realized by utilizing the memory function and clock sensitivity of the D flip-flop.

具体来说,将D触发器的输出Q反馈到其输入D,就可以构成一个基本的二分频器。因为每当CLK的上升沿到来时,Q的值会取反,从而实现了频率减半的效果。Specifically, a basic divider can be formed by feeding back the output Q of the D flip-flop to its input D. This is because whenever the rising edge of CLK arrives, the value of Q is reversed, thus achieving the effect of halving the frequency.

例如,基本的二分频器如上所述,只需将D触发器的Q端连接到D端即可。For example, the basic divide-by-two frequency divider described above requires only the Q terminal of a D flip-flop to be connected to the D terminal.

再例如,对于更高倍数的分频,可以通过级联多个D触发器来实现。如,要实现四分频,可以将两个二分频器串联起来;要实现八分频,则再串联一个二分频器。以此类推,不再赘述。For another example, for a higher frequency division, it can be achieved by cascading multiple D flip-flops. For example, to achieve a frequency division of four, two frequency dividers can be connected in series; to achieve a frequency division of eight, another frequency divider can be connected in series. And so on, no further elaboration is given.

当然,对于通过D触发器来设置相对复杂的分频器时,例如,对于非2的幂次方倍数的分频,如三分频、五分频等,也可以结合计数器或更复杂的组合逻辑来实现。Of course, when setting a relatively complex divider through a D flip-flop, for example, for a frequency division that is not a power of 2, such as three-way frequency division, five-way frequency division, etc., it can also be implemented in combination with a counter or more complex combinational logic.

通过上述实施方式,调频模块140由多个子分频器通过级联的方式组成,使得调频模块140的实现原理相对于通过复杂电路结构设置的调频模块140更简单,同时,提高不同子分频器组合灵活性,易于拓展,以在需要调频模块140实现不同分频倍数时,便于做出适应性调节。Through the above implementation, the frequency modulation module 140 is composed of multiple sub-dividers in a cascade manner, so that the implementation principle of the frequency modulation module 140 is simpler than the frequency modulation module 140 set up by a complex circuit structure. At the same time, the flexibility of combining different sub-dividers is improved, and it is easy to expand, so as to facilitate adaptive adjustment when the frequency modulation module 140 is required to achieve different division multiples.

在本申请的一些实施例中,第一分频器与第二分频器的分频倍数相同,第三分频器与第二分频器的分频倍数不同。In some embodiments of the present application, the first frequency divider and the second frequency divider have the same frequency division multiple, and the third frequency divider and the second frequency divider have a different frequency division multiple.

示例性的进行说明,采用D触发器的级联方式实现目标倍数的分频,其中,目标倍数可以根据级联的D触发器个数,以及对应的分频倍数来确定。如图6所示,由于本申请调频模块140的目的在于,生成第一分频信号和第二分频信号,因此,本申请的第一分频器可以为四分频器,第二分频器也可以为四分频器,而第三分频器可以为二分频器。其中,对于四分频器可以是由两个二分频器串联得到,也可以通过其它数字电路的形式由D触发器、逻辑门等电子元器件构成。For example, a cascade of D flip-flops is used to achieve frequency division of a target multiple, wherein the target multiple can be determined according to the number of cascaded D flip-flops and the corresponding frequency division multiple. As shown in FIG6 , since the purpose of the frequency modulation module 140 of the present application is to generate a first frequency division signal and a second frequency division signal, the first frequency divider of the present application can be a four-frequency divider, the second frequency divider can also be a four-frequency divider, and the third frequency divider can be a two-frequency divider. Among them, the four-frequency divider can be obtained by connecting two two-frequency dividers in series, or it can be composed of electronic components such as D flip-flops and logic gates in the form of other digital circuits.

当然,对于本申请的调频模块140还可以由一个十六分频器和一个二分频器组成。Of course, the frequency modulation module 140 of the present application may also be composed of a sixteen-frequency divider and a two-frequency divider.

基于此,在实际使用过程中,可以将不同的倍数的分频器进行包装,例如,基于二分频器分别设置二分频器、四个分频器、八分频器等等,在使用过程中,如果需要使用的分频器的分频倍数为八倍,就可以直接采用八分频器,或者将一个二分频器和一个四个分频器进行级联,再或者将三个二分频器进行级联。例如,在本申请调频模块140的一种使用场景下,在使用本申请的分频电路100时,如果需要设置开关电路切换调频模块140的分频倍数,则可以基于不同的分频倍数进行组合。Based on this, in actual use, frequency dividers with different multiples can be packaged. For example, based on a two-frequency divider, a two-frequency divider, a four-frequency divider, an eight-frequency divider, etc. can be set respectively. In use, if the frequency division multiple of the frequency divider to be used is eight times, an eight-frequency divider can be directly used, or a two-frequency divider and a four-frequency divider can be cascaded, or three two-frequency dividers can be cascaded. For example, in a use scenario of the frequency modulation module 140 of the present application, when using the frequency division circuit 100 of the present application, if it is necessary to set a switch circuit to switch the frequency division multiple of the frequency modulation module 140, it can be combined based on different frequency division multiples.

通过上述实施方式,对调频模块140内部的分频器可以按照需求进行适应性地包装,可以提高产品的可靠性和设计质量,实现了产品功能的分配和隔离,‌使得问题的发现和设计的改进变得更加容易。Through the above implementation, the frequency divider inside the frequency modulation module 140 can be adaptively packaged according to needs, which can improve the reliability and design quality of the product, realize the distribution and isolation of product functions, and make it easier to discover problems and improve designs.

在本申请的一些实施例中,图7为本申请示例性实施例示出的脉冲模块的电路结构示意图。如图7所示,进一步对脉冲模块150进行示例性说明,脉冲模块150包括第二延时模块,第二延时模块用于根据第一分频信号和时钟信号,生成第二延时信号,以使脉冲模块150根据第二延时信号、第一分频信号和第二分频信号生成脉冲信号。In some embodiments of the present application, FIG7 is a schematic diagram of the circuit structure of the pulse module shown in an exemplary embodiment of the present application. As shown in FIG7, the pulse module 150 is further exemplarily described, and the pulse module 150 includes a second delay module, and the second delay module is used to generate a second delay signal according to the first frequency division signal and the clock signal, so that the pulse module 150 generates a pulse signal according to the second delay signal, the first frequency division signal and the second frequency division signal.

具体的,第二延时模块可以采用与第一延时模块120相同的D触发器。也可以采用与第一延时模块120不同的延时电路。Specifically, the second delay module may use the same D flip-flop as the first delay module 120 , or a delay circuit different from the first delay module 120 .

示例性地进行说明,在脉冲模块150中设置延时模块,以对DIV16进行延迟一个原输入时钟周期的操作,然后将延迟后的DIV16信号与DIV32信号进行或非操作,基于或非操作的输出,再与原DIV16进行与操作,最终产生一个周期为33Tclk。For example, a delay module is set in the pulse module 150 to delay DIV16 by one original input clock cycle, and then the delayed DIV16 signal is OR-NON operated with the DIV32 signal. Based on the output of the OR-NON operation, an AND operation is performed with the original DIV16, and finally a cycle of 33Tclk is generated.

其中,DIV16表示第一分频信号,可以视为十六分频信号;DIV32表示第二分频信号,可以视为三十二分频信号;33Tclk表示根据第一分频信号、第二分频信号和输入的时钟信号,生成的脉冲信号,也可视为通过延时处理的三十三分频信号。Among them, DIV16 represents the first frequency-divided signal, which can be regarded as a sixteen-frequency-divided signal; DIV32 represents the second frequency-divided signal, which can be regarded as a thirty-two-frequency-divided signal; 33Tclk represents the pulse signal generated according to the first frequency-divided signal, the second frequency-divided signal and the input clock signal, which can also be regarded as a thirty-three-frequency-divided signal through delay processing.

通过上述实施方式,在对进入调频模块140的信号进行处理时,通过第二延时摸块,在正常输入信号周期时间内插入额外一个周期时长,从而实现对调频模块140的输入分频信号增加额外的一个分频,以便于小数分频信号的生成。Through the above implementation, when processing the signal entering the frequency modulation module 140, an additional cycle length is inserted into the normal input signal cycle time through the second delay module, thereby adding an additional frequency division to the input frequency division signal of the frequency modulation module 140 to facilitate the generation of a fractional frequency division signal.

在本申请的一些实施例中,图8为本申请另一示例性实施例示出的脉冲模块的电路结构示意图。如图8所示,基于脉冲模块150根据第二延时信号、第一分频信号和第二分频信号生成脉冲信号。为了实现上述脉冲模块150中示例的数字运算过程,进一步对脉冲模块150进行说明,脉冲模块150还包括或非运算模块和与运算模块。In some embodiments of the present application, FIG8 is a schematic diagram of the circuit structure of a pulse module shown in another exemplary embodiment of the present application. As shown in FIG8, the pulse module 150 generates a pulse signal according to the second delay signal, the first frequency division signal and the second frequency division signal. In order to implement the digital operation process exemplified in the above-mentioned pulse module 150, the pulse module 150 is further described, and the pulse module 150 also includes an NOR operation module and an AND operation module.

其中,或非运算模块用于将输入或非运算模块的第二延时信号和第二分频信号进行或非运算,以得到补充分频信号;与运算模块用于将输入到与运算模块的补充分频信号和第一分频信号进行与运算,以得到脉冲信号。Among them, the NOR operation module is used to perform an NOR operation on the second delayed signal and the second frequency-divided signal input to the NOR operation module to obtain a supplementary frequency-divided signal; the AND operation module is used to perform an AND operation on the supplementary frequency-divided signal and the first frequency-divided signal input to the AND operation module to obtain a pulse signal.

具体的,或非运算模块的输入端与第二延时模块的输出端连接,或非运算模块的输出端与上述与运算模块的输入端连接。Specifically, the input end of the OR operation module is connected to the output end of the second delay module, and the output end of the OR operation module is connected to the input end of the AND operation module.

在本申请的一些实施例中,图9为本申请另一示例性实施例示出的锁相环的电路结构示意图。如图9所示,结合上述实施例中的锁相环110,根据脉冲信号和时钟信号生成目标信号,并将目标信号输入至调频模块140,至少还可以包括如下内容。In some embodiments of the present application, Fig. 9 is a schematic diagram of a circuit structure of a phase-locked loop shown in another exemplary embodiment of the present application. As shown in Fig. 9, in combination with the phase-locked loop 110 in the above embodiment, a target signal is generated according to a pulse signal and a clock signal, and the target signal is input to the frequency modulation module 140, which may at least include the following contents.

具体的,锁相环110还包括或运算模块,或运算模块的输入端与脉冲模块150的输出端连接,或运算模块的输出端与调频模块140的输入端连接,用于将输入到或运算模块的脉冲信号和时钟信号进行或运算,以得到目标信号。Specifically, the phase-locked loop 110 also includes an OR operation module, the input end of the OR operation module is connected to the output end of the pulse module 150, and the output end of the OR operation module is connected to the input end of the frequency modulation module 140, which is used to perform an OR operation on the pulse signal and the clock signal input to the OR operation module to obtain the target signal.

同理,为了保证时钟信号的一致性,或运算模块的输入端与锁相环110输入端用于输入时钟信号的端口连接。Similarly, in order to ensure the consistency of the clock signal, the input end of the OR operation module is connected to the port of the phase-locked loop 110 for inputting the clock signal.

图10为本申请示例性实施例示出的一种分频电路的整体电路结构示意图。如图10所示,为了更加清楚的对本申请的技术方案进行公开,结合上述内容中的多个实施例,通过如下内容进一步进行示例性说明。Fig. 10 is a schematic diagram of the overall circuit structure of a frequency division circuit shown in an exemplary embodiment of the present application. As shown in Fig. 10, in order to more clearly disclose the technical solution of the present application, combined with multiple embodiments in the above content, further exemplary description is given through the following content.

如图10所示,对图中的标识做出如下示例性说明:As shown in FIG10 , the symbols in the figure are described as follows:

其一:图中示意的Pulse block表示脉冲模块150;图中示意的DIV block表示调频模块140;图中示意的D触发器表示第一延时模块120;图中示意的MUX选通模块130。First, the Pulse block shown in the figure represents the pulse module 150; the DIV block shown in the figure represents the frequency modulation module 140; the D flip-flop shown in the figure represents the first delay module 120; and the MUX gating module 130 shown in the figure.

其二:图中示意的CLK表示时钟信号;图中示意的ln1和a0皆表示第一分频信号,对应十六分频信号;图中示意的ln2表示第二分频信号,对应32分频信号;图中示意的Pulse表示脉冲信号;图中示意的In表示目标信号;图中示意的a1表示第一延时信号。Second: CLK shown in the figure represents the clock signal; ln1 and a0 shown in the figure both represent the first frequency-divided signal, corresponding to the sixteen-frequency-divided signal; ln2 shown in the figure represents the second frequency-divided signal, corresponding to the 32-frequency-divided signal; Pulse shown in the figure represents the pulse signal; In shown in the figure represents the target signal; a1 shown in the figure represents the first delay signal.

在时钟信号进入调频模块140之前,基于脉冲模块150内设置的第二延时模块,将在32个正常输入信号周期时间内插入额外一个周期时长,从而实现对调频模块140的输入32分频,也就是对原信号进行33分频。Before the clock signal enters the frequency modulation module 140, an extra cycle length is inserted into the 32 normal input signal cycle times based on the second delay module set in the pulse module 150, thereby achieving 32-frequency division of the input of the frequency modulation module 140, that is, 33-frequency division of the original signal.

具体的,可以将本申请的技术方案分为三个部分进行解释。第一部分,对原输入信号进行处理,以便能对处理后的信号进行32分频时插入一个额外的原输入信号周期;第二部分,基于调频模块140内的多个级联的分频器,形成分频器链,包括4/16/32分频。第三部分,通过32分频信号对不同延时的16分频信号进行选通处理,从而得到16.5分频,以实现小数分频信号的获取。Specifically, the technical solution of the present application can be divided into three parts for explanation. In the first part, the original input signal is processed so that an additional original input signal cycle can be inserted when the processed signal is divided by 32; in the second part, a divider chain is formed based on multiple cascaded dividers in the frequency modulation module 140, including 4/16/32 division. In the third part, the 16-division signal with different delays is selected by the 32-division signal to obtain 16.5 division to achieve the acquisition of the fractional division signal.

进一步,结合内部数字运算电路进行示例性说明;Further, an exemplary description is given in conjunction with the internal digital operation circuit;

首先,对于脉冲模块150而言,对DIV16进行延迟一个原输入时钟周期的操作,然后将延迟后的DIV16信号与DIV32信号进行或非运算,或非输出进而与原DIV16进行与运算,最终产生一个周期为33Tclk,但高电平脉宽仅为一个周期的脉冲信号,此脉冲信号在与原时钟进行或运算,即可产生所需的在32个周期内额外插入一个周期时长的目标信号。First, for the pulse module 150, DIV16 is delayed by one original input clock cycle, and then the delayed DIV16 signal is OR-not operated with the DIV32 signal, and the OR-not output is then AND-operated with the original DIV16, ultimately generating a pulse signal with a cycle of 33Tclk but a high-level pulse width of only one cycle. This pulse signal, when OR-operated with the original clock, can generate the required target signal with an additional cycle length inserted within 32 cycles.

其次,将目标信号输入到调频模块140,进行4、16、和32分频。由于在脉冲模块150中进行了延时处理,此时32分频的信号,实际为33分频信号,此时16分频信号的频率为变化的,并不是真正16.5分频。Secondly, the target signal is input to the frequency modulation module 140 for frequency division by 4, 16, and 32. Due to the delay processing in the pulse module 150, the 32-frequency divided signal is actually a 33-frequency divided signal, and the frequency of the 16-frequency divided signal is changing, not a true 16.5-frequency divided signal.

最后,即通过选通模块130和DIV32对16分频信号和延迟半个时钟周期的16分频信号进行选通,即可生成真正的16.5分频信号。Finally, the 16-frequency-divided signal and the 16-frequency-divided signal delayed by half a clock cycle are gated by the gating module 130 and DIV32, so that a real 16.5-frequency-divided signal can be generated.

在本申请的一些实施例中,本申请还公开了一种数字信号处理电路,该数字信号处理电路中包含了上述任一实施例中所公开的分频电路100。In some embodiments of the present application, the present application further discloses a digital signal processing circuit, which includes the frequency division circuit 100 disclosed in any of the above embodiments.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理及实际的应用,从而使得本领域技术人员更好的使用所述实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims (10)

1. A frequency dividing circuit, comprising:
a phase-locked loop for generating a first frequency-divided signal and a second frequency-divided signal according to an input clock signal;
The input end of the first delay module is connected with the output end of the phase-locked loop and is used for generating a first delay signal corresponding to the first frequency-dividing signal according to the asynchronous clock signal corresponding to the first frequency-dividing signal and the input clock signal;
and the input end of the gating module is respectively connected with the output end of the first delay module and the output end of the phase-locked loop and is used for generating a decimal frequency division signal according to the first frequency division signal, the second frequency division signal and the first delay signal.
2. The frequency divider circuit of claim 1, wherein the phase-locked loop comprises:
the frequency modulation module is used for generating a first frequency division signal and a second frequency division signal according to an input target signal;
The input end of the pulse module is connected with the output end of the frequency modulation module, and the output end of the pulse module is connected with the input end of the frequency modulation module and is used for generating a pulse signal according to the first frequency division signal, the second frequency division signal and the input clock signal, generating the target signal according to the pulse signal and the clock signal and inputting the target signal to the frequency modulation module.
3. The frequency divider circuit of claim 2, wherein the frequency modulation module comprises a first frequency divider, a second frequency divider, and a third frequency divider connected in sequence;
The first frequency divider is used for dividing the frequency of the input target signal to obtain an initial frequency-divided signal;
the second frequency divider is used for dividing the frequency of the initial frequency division signal to obtain the first frequency division signal;
the third frequency divider is configured to divide the first frequency division signal to obtain the second frequency division signal.
4. The frequency dividing circuit of claim 3, wherein the first frequency divider is the same frequency division multiple as the second frequency divider, and wherein the third frequency divider is different from the second frequency divider.
5. The frequency divider circuit of claim 2, wherein the pulse module comprises a second delay module configured to generate a second delay signal based on the first frequency divided signal and the clock signal, such that the pulse module generates the pulse signal based on the second delay signal, the first frequency divided signal, and the second frequency divided signal.
6. The frequency divider circuit of claim 5, wherein the pulse module further comprises a nor operation module and an and operation module; the nor operation module is used for performing nor operation on the second delay signal and the second frequency division signal input into the nor operation module so as to obtain a supplementary frequency division signal; the AND operation module is used for performing AND operation on the complementary frequency division signal and the first frequency division signal which are input to the AND operation module so as to obtain the pulse signal.
7. The frequency divider circuit of claim 2, comprising a non-operation module for performing a non-operation on an input clock signal to obtain the asynchronous clock signal, and outputting the asynchronous clock signal to the first delay module.
8. The frequency dividing circuit according to claim 2, comprising an or operation module for performing an or operation on the pulse signal and the clock signal input to the or operation module to obtain the target signal.
9. The frequency dividing circuit according to any one of claims 1 to 8, wherein the gating module includes a multiplexer for outputting the fractional frequency division signal based on control of the second frequency division signal among the first frequency division signal and the first delay signal.
10. A digital signal processing circuit comprising a frequency dividing circuit as claimed in any one of claims 1 to 9.
CN202411055829.1A 2024-08-02 2024-08-02 Frequency dividing circuit and digital signal processing circuit Active CN118573187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411055829.1A CN118573187B (en) 2024-08-02 2024-08-02 Frequency dividing circuit and digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411055829.1A CN118573187B (en) 2024-08-02 2024-08-02 Frequency dividing circuit and digital signal processing circuit

Publications (2)

Publication Number Publication Date
CN118573187A true CN118573187A (en) 2024-08-30
CN118573187B CN118573187B (en) 2025-02-18

Family

ID=92469662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411055829.1A Active CN118573187B (en) 2024-08-02 2024-08-02 Frequency dividing circuit and digital signal processing circuit

Country Status (1)

Country Link
CN (1) CN118573187B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07106955A (en) * 1993-10-05 1995-04-21 Sumitomo Electric Ind Ltd Ternary counter
JPH0993081A (en) * 1995-09-22 1997-04-04 Sony Corp Digital variable delay circuit and delay quantity setting method for the same
CN205407784U (en) * 2015-10-26 2016-07-27 上海源斌电子科技有限公司 Pre divider
CN114513199A (en) * 2020-11-16 2022-05-17 长鑫存储技术有限公司 Pulse signal generating circuit and generating method, memory
CN115051687A (en) * 2021-03-09 2022-09-13 硅实验室公司 Clock generator circuit for generating a duty cycle clock signal at low power
CN116827335A (en) * 2023-08-25 2023-09-29 牛芯半导体(深圳)有限公司 Frequency divider and data processing circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07106955A (en) * 1993-10-05 1995-04-21 Sumitomo Electric Ind Ltd Ternary counter
JPH0993081A (en) * 1995-09-22 1997-04-04 Sony Corp Digital variable delay circuit and delay quantity setting method for the same
CN205407784U (en) * 2015-10-26 2016-07-27 上海源斌电子科技有限公司 Pre divider
CN114513199A (en) * 2020-11-16 2022-05-17 长鑫存储技术有限公司 Pulse signal generating circuit and generating method, memory
CN115051687A (en) * 2021-03-09 2022-09-13 硅实验室公司 Clock generator circuit for generating a duty cycle clock signal at low power
CN116827335A (en) * 2023-08-25 2023-09-29 牛芯半导体(深圳)有限公司 Frequency divider and data processing circuit

Also Published As

Publication number Publication date
CN118573187B (en) 2025-02-18

Similar Documents

Publication Publication Date Title
US7098707B2 (en) Highly configurable PLL architecture for programmable logic
US5914996A (en) Multiple clock frequency divider with fifty percent duty cycle output
US6661261B2 (en) Programmable divider with built-in programmable delay chain for high-speed/low power application
US7822168B2 (en) Frequency divider circuit
US20080297209A1 (en) Circuits and Methods for Programmable Integer Clock Division with 50% Duty Cycle
JP2004054632A (en) Multi-phase clock generating circuit
US20120313674A1 (en) High-Speed Non-Integer Frequency Divider Circuit
US6731142B1 (en) Circuit for providing clock signals with low skew
WO2019183866A1 (en) Frequency generator and frequency generation method
US7236040B2 (en) Method and apparatus for generating multiphase clocks
US6477657B1 (en) Circuit for I/O clock generation
CN118573187A (en) Frequency dividing circuit and digital signal processing circuit
JP2004056717A (en) Semiconductor device, system board and multi-phase clock generating circuit
EP1671423B1 (en) Phase-switching dual modulus prescaler
US20090243668A1 (en) Frequency divider speed booster
CN101635569B (en) Programmable frequency division device and programmable frequency division method
KR100271717B1 (en) Data transfer device of semiconductor memory including a divider device of clock frequency
Cheung et al. A 5.4-GHz 2/3/4-modulus fractional frequency divider circuit in 28-nm CMOS
US7010714B1 (en) Prescaler architecture capable of non integer division
JP2001350539A (en) Polyphase clock signal generating circuit and selecting circuit
Aguiar et al. Oscillatorless clock multiplication
CN100381968C (en) System clock pulse switching device and method for switching frequency thereof
KR100278271B1 (en) A clock frequency divider
JPH04234223A (en) Structure of frequency divider
CN119254220A (en) Delayed phase-locked loop and control method thereof, and memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant