[go: up one dir, main page]

CN102394643A - Digital pulse width modulator based on digital delayed-locked loop (DLL) - Google Patents

Digital pulse width modulator based on digital delayed-locked loop (DLL) Download PDF

Info

Publication number
CN102394643A
CN102394643A CN2011103618322A CN201110361832A CN102394643A CN 102394643 A CN102394643 A CN 102394643A CN 2011103618322 A CN2011103618322 A CN 2011103618322A CN 201110361832 A CN201110361832 A CN 201110361832A CN 102394643 A CN102394643 A CN 102394643A
Authority
CN
China
Prior art keywords
circuit
input
output
signal
flip
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
CN2011103618322A
Other languages
Chinese (zh)
Other versions
CN102394643B (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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN 201110361832 priority Critical patent/CN102394643B/en
Publication of CN102394643A publication Critical patent/CN102394643A/en
Application granted granted Critical
Publication of CN102394643B publication Critical patent/CN102394643B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pulse Circuits (AREA)

Abstract

本发明公开了一种基于数字延迟锁相环的数字脉宽调制器,包括分频电路、DLL振荡环电路、清零信号产生电路和PWM输出逻辑电路,DLL振荡环利用输入高频时钟信号fs触发振荡环震荡输出2(m-n)路信号送入清零信号产生电路,清零信号产生电路结合输入的fs和mbits的占空比命令信号产生脉冲信号PWM_clr,在后级的PWM输出逻辑电路作用下产生PWM信号作为系统的输出。其中DLL振荡环电路利用可编程延迟单元对输入信号进行实时的追踪,达到在不同工艺角、不同工作环境下都能输出非常好的脉宽调制波形的效果,本发明在很大程度上减少了芯片所需的面积,节省了芯片开发的成本。

Figure 201110361832

The invention discloses a digital pulse width modulator based on a digital delay phase-locked loop, which includes a frequency dividing circuit, a DLL oscillating loop circuit, a clearing signal generating circuit and a PWM output logic circuit, and the DLL oscillating loop utilizes an input high-frequency clock signal f s triggers the oscillating ring oscillation output 2 (mn) signals into the clear signal generation circuit, and the clear signal generation circuit combines the input f s and the mbits duty ratio command signal to generate the pulse signal PWM_clr, and the PWM output logic of the subsequent stage Under the action of the circuit, a PWM signal is generated as the output of the system. Wherein the DLL oscillating ring circuit uses a programmable delay unit to track the input signal in real time, so as to achieve the effect of outputting a very good pulse width modulation waveform under different process angles and different working environments. The present invention greatly reduces the The area required by the chip saves the cost of chip development.

Figure 201110361832

Description

一种基于数字延迟锁相环的数字脉宽调制器A Digital Pulse Width Modulator Based on Digital Delay Locked Loop

技术领域 technical field

本发明涉及数字控制开关电源的数字脉宽调制电路(DPWM),尤其是应用于输出电压实时可调的数字控制开关电源电路中的一种基于数字延迟锁相环的数字脉宽调制器,属于集成电路设计的电子技术领域。The invention relates to a digital pulse width modulation circuit (DPWM) of a digitally controlled switching power supply, in particular to a digital pulse width modulator based on a digital delay-locked loop used in a digitally controlled switching power supply circuit whose output voltage can be adjusted in real time. Electronic technology field of integrated circuit design.

背景技术 Background technique

采用数字反馈控制的开关电源,可以显着提高系统的性能,数字控制方法灵活多变,可实现复杂控制算法,且对外部条件变化的敏感度较低。因此数字控制开关电源越来越多的应用到SoC系统中,提供品质优良的电源电压,这也反过来对电源提出了更高的要求。The switching power supply with digital feedback control can significantly improve the performance of the system. The digital control method is flexible and changeable, and complex control algorithms can be realized, and the sensitivity to changes in external conditions is low. Therefore, more and more digital control switching power supplies are applied to SoC systems to provide high-quality power supply voltages, which in turn put forward higher requirements for power supplies.

要求电源纹波越来越小,意味着控制环路中量化器的量化精度越来越高,即量化器具有高分辨率。并且为了消除数字控制环路中特有的由于量化分辨率不匹配带来的输出极限环振荡,也要求DPWM量化器具有高分辨率。另外,SoC系统中常常采用动态电压调制(DVS,Dynamic Voltage Scale)技术,能够根据不同的负载情况,改变所需的电源电压和工作频率值,从而降低系统总的功耗。而对于开关电源来讲,即为能够根据外部控制命令即时的转换输出电压值的大小。这对电源的瞬时响应速度也提出了较高的要求。The smaller and smaller power supply ripple means that the quantization accuracy of the quantizer in the control loop is getting higher and higher, that is, the quantizer has high resolution. And in order to eliminate the unique output limit cycle oscillation caused by the mismatch of quantization resolution in the digital control loop, the DPWM quantizer is also required to have high resolution. In addition, dynamic voltage modulation (DVS, Dynamic Voltage Scale) technology is often used in SoC systems, which can change the required power supply voltage and operating frequency value according to different load conditions, thereby reducing the total power consumption of the system. As for the switching power supply, it means that the value of the output voltage can be converted in real time according to the external control command. This also puts forward higher requirements on the instantaneous response speed of the power supply.

现有的数字脉宽调制器方案中,高分辨率的要求往往会导致电路面积或时钟工作频率过高,通常采用计数比较-延迟线混合结构的DPWM,在电路面积和时钟频率之间进行折中。混合型DPWM电路是将需要调制的占空比命令信号分为粗调部分和精调部分,共同作用于输出端的RS触发器,控制最终的占空比信号的大小。但是当工艺和环境条件变化时,混合型的DPWM的调节震荡频率漂移和调节非线性都是其致命的缺点,此时引入了延迟锁相环(DLL)DPWM,该种结构的DPWM解决了输出频率漂移的缺点,同时使得PWM的调节线性度得到了很大程度上的提高,这也就在很大的程度上提升了系统的性能指标,DLL DPWM分为两种类型:模拟DLL DPWM和数字DLL DPWM,本设计中采用后者,数字DLL DPWM相对于模拟DLL DPWM最大的优点在于调节灵活,可以轻易的采取复杂的算法来达到更好的性能,另外还有容易更新维护、寿命长等一些列优点,原有的数字DLL DPWM中的可编程逻辑单元采用的电路结构会使得芯片的面积很大,难以满足现实应用的要求,此设计中采用了精简型的可编程延迟单元电路模型,减小了系统面积,节省了系统开发的成本。In the existing digital pulse width modulator scheme, the requirement of high resolution often leads to too high circuit area or clock operating frequency. Usually, DPWM with a counting comparison-delay line hybrid structure is used to trade off the circuit area and clock frequency. middle. The hybrid DPWM circuit divides the duty cycle command signal that needs to be modulated into a coarse adjustment part and a fine adjustment part, which work together on the RS flip-flop at the output end to control the size of the final duty cycle signal. However, when the process and environmental conditions change, the adjustment oscillation frequency drift and adjustment nonlinearity of the hybrid DPWM are fatal shortcomings. At this time, a delay-locked loop (DLL) DPWM is introduced. The DPWM of this structure solves the problem of output The disadvantage of frequency drift also greatly improves the linearity of PWM adjustment, which greatly improves the performance index of the system. DLL DPWM is divided into two types: analog DLL DPWM and digital DLL DPWM, the latter is used in this design. Compared with analog DLL DPWM, the biggest advantage of digital DLL DPWM is that it can be adjusted flexibly, and complex algorithms can be easily adopted to achieve better performance. In addition, it is easy to update and maintain, and has a long life. List advantages, the circuit structure adopted by the programmable logic unit in the original digital DLL DPWM will make the chip area very large, it is difficult to meet the requirements of practical applications, this design uses a simplified programmable delay unit circuit model, reducing The system area is small and the cost of system development is saved.

发明内容Contents of the invention

本发明提供了一种基于数字延迟锁相环的数字脉宽调制器,在保持原有数字DLL DPWM方案中无频率漂移、好的线性度等优点的基础上,采用精简的可编程延迟单元结构,解决了所需面积过大的问题。The invention provides a digital pulse width modulator based on a digital delay phase-locked loop. On the basis of maintaining the advantages of no frequency drift and good linearity in the original digital DLL DPWM scheme, a simplified programmable delay unit structure is adopted. , which solves the problem that the required area is too large.

本发明采用的技术方案为:一种基于数字延迟锁相环的数字脉宽调制器,包括分频电路、DLL振荡环电路、清零信号产生电路和PWM输出逻辑电路,其特征是:The technical scheme adopted in the present invention is: a digital pulse width modulator based on a digital delay phase-locked loop, comprising a frequency division circuit, a DLL oscillation ring circuit, a clearing signal generation circuit and a PWM output logic circuit, characterized in that:

分频电路包括计数器和比较器,计数器的时钟信号输入端与系统时钟相连、计数器的复位信号输入端与系统复位信号相连,计数器的输出与比较器的一个输入端连接,比较器的另一个输入端接地;The frequency division circuit includes a counter and a comparator. The clock signal input terminal of the counter is connected to the system clock, the reset signal input terminal of the counter is connected to the system reset signal, the output of the counter is connected to one input terminal of the comparator, and the other input terminal of the comparator terminal grounding;

清零信号产生电路包括比较器、选择器和一个二输入与门,比较器的一个输入端连接分频电路中计数器的输出,比较器的另一个输入端连接输入占空比命令信号的高位,选择器的控制信号输入端连接输入占空比命令信号的低位,系统时钟连接选择器的其中一个选择信号输入端,比较器及选择器的输出分别连接二输入与门的两个输入端;The clearing signal generation circuit includes a comparator, a selector and a two-input AND gate. One input terminal of the comparator is connected to the output of the counter in the frequency division circuit, and the other input terminal of the comparator is connected to the high bit of the input duty cycle command signal. The control signal input terminal of the selector is connected to the low bit of the input duty cycle command signal, the system clock is connected to one of the selection signal input terminals of the selector, and the outputs of the comparator and the selector are respectively connected to the two input terminals of the two-input AND gate;

PWM输出逻辑电路包括一个D触发器和一个二输入与门,D触发器的时钟端连接分频电路中比较器的输出端,D触发器的复位端连接二输入与门的输出端,D触发器的D输入端连接电源VDD,二输入与门的两个输入端分别连接系统复位信号及清零信号产生电路中二输入与门的输出端,D触发器的输出端为PWM输出逻辑电路的输出,即是系统的可调脉宽波形输出;The PWM output logic circuit includes a D flip-flop and a two-input AND gate, the clock end of the D flip-flop is connected to the output end of the comparator in the frequency division circuit, the reset end of the D flip-flop is connected to the output end of the two-input AND gate, and the D flip-flop The D input terminal of the flip-flop is connected to the power supply VDD, and the two input terminals of the two-input AND gate are respectively connected to the output terminals of the two-input AND gate in the system reset signal and clear signal generating circuit, and the output terminal of the D flip-flop is the PWM output logic circuit. Output, that is, the system's adjustable pulse width waveform output;

DLL振荡环电路包括控制电路、振荡电路和清零电路,其中:The DLL oscillating ring circuit includes a control circuit, an oscillating circuit and a clearing circuit, among which:

控制电路包括D触发器、误差处理电路、控制信号输出逻辑、比较器和计数器,D触发器的数据输入端口与系统时钟相连,D触发器的输出与误差处理电路的误差输入端相连,误差处理电路的使能端与比较器的输出以及计数器的使能端连接在一起,误差处理电路的两个命令信号输出与控制信号输出逻辑连接,计数器的时钟输入端与系统时钟相连,计数器的输出与比较器的一个输入端连接,比较器的另一个输入端连接二进制码“11111”;The control circuit includes a D flip-flop, an error processing circuit, a control signal output logic, a comparator, and a counter. The data input port of the D flip-flop is connected to the system clock, and the output of the D flip-flop is connected to the error input of the error processing circuit. The error processing The enable terminal of the circuit is connected with the output of the comparator and the enable terminal of the counter, the two command signal outputs of the error processing circuit are logically connected with the control signal output, the clock input terminal of the counter is connected with the system clock, and the output of the counter is connected with the system clock One input terminal of the comparator is connected, and the other input terminal of the comparator is connected to the binary code "11111";

振荡电路由多级PDU首尾相连组成,即前一级PDU的输出连接后一级PDU的输入,最后一级PDU的输出连接控制电路中D触发器的时钟信号输入端口,其余各级PDU的输出分别连接清零信号产生电路中选择器的各选择信号输入端,PDU的级数确定规则是:假设输入占空比命令信号宽度为m,分频电路中计数器的位数为n,那么PDU的级数为2(m-n),并且与控制电路中控制信号输出逻辑的输出端数量一致并对应,各级PDU内均设有延迟线电路、延迟信号选择器和D触发器,结构相同:延迟线电路的多路输出与延迟信号选择器的信号输入端口对应连接,延迟信号选择电路的控制信号输入端口与控制电路中控制信号输出逻辑的相应输出相连,延迟信号选择电路的输出与D触发器的时钟端口相连,除首级PDU中的延迟线电路的输入与系统时钟相连外,以后各级PDU中的延迟线电路的输入均与前一级PDU中的D触发器的输出连接,各级PDU中的D触发器的输出端即是本级PDU的输出端;The oscillation circuit is composed of multi-level PDUs connected end to end, that is, the output of the previous level of PDU is connected to the input of the next level of PDU, the output of the last level of PDU is connected to the clock signal input port of the D flip-flop in the control circuit, and the output of the other levels of PDU Connect the selection signal input terminals of the selector in the clearing signal generation circuit respectively, and the determination rule of the PDU series is: assuming that the width of the input duty cycle command signal is m, and the number of bits of the counter in the frequency division circuit is n, then the PDU The number of stages is 2 (mn) , and it is consistent with and corresponds to the number of output terminals of the control signal output logic in the control circuit. There are delay line circuits, delay signal selectors and D flip-flops in each level of PDU, and the structure is the same: delay line The multi-channel output of the circuit is correspondingly connected with the signal input port of the delay signal selector, the control signal input port of the delay signal selection circuit is connected with the corresponding output of the control signal output logic in the control circuit, and the output of the delay signal selection circuit is connected with the D flip-flop The clock port is connected, except that the input of the delay line circuit in the first-level PDU is connected with the system clock, the input of the delay line circuit in the subsequent PDUs of each level is connected with the output of the D flip-flop in the previous level of PDU, and the PDUs of all levels The output terminal of the D flip-flop in is the output terminal of the PDU of this level;

清零电路设有与振荡电路中PDU个数相等的二输入或门,所有二输入或门的一个输入端都连接系统复位信号,所有二输入或门的另外一个输入端分别对应连接振荡电路中各级PDU的输出端,所有二输入或门的输出连接到对应的PDU中D触发器的清零端。The reset circuit is provided with two-input OR gates equal to the number of PDUs in the oscillation circuit, one input terminal of all two-input OR gates is connected to the system reset signal, and the other input terminals of all two-input OR gates are respectively connected to the oscillation circuit The output ends of PDUs at all levels, and the outputs of all two-input OR gates are connected to the clearing ends of the D flip-flops in the corresponding PDUs.

本发明的优点及有益成果:本发明DLL振荡环利用输入高频时钟信号fs触发振荡环震荡输出2(m-n)路信号送入清零信号产生电路,清零信号产生电路结合输入的fs和mbits的占空比命令信号产生脉冲信号PWM_clr,在后级的PWM输出逻辑电路作用下产生PWM信号作为系统的输出。其中DLL振荡环电路利用可编程延迟单元对输入信号进行实时的追踪,达到在不同工艺角、不同工作环境下都能输出非常好的脉宽调制波形的效果,本发明在很大程度上减少了芯片所需的面积,节省了芯片开发的成本。与常规的数字DLL DPWM电路方案相比,在解决了频率漂移和PWM调节非线性问题的基础上,同时在很大程度上减小了系统所需的面积。Advantages and beneficial results of the present invention: the DLL oscillating ring of the present invention uses the input high-frequency clock signal f s to trigger the oscillating ring to oscillate and output 2 (mn) signals into the clearing signal generating circuit, and the clearing signal generating circuit combines the input f s The pulse signal PWM_clr is generated by the duty cycle command signal of mbits, and the PWM signal is generated as the output of the system under the action of the PWM output logic circuit of the subsequent stage. Wherein the DLL oscillating ring circuit uses a programmable delay unit to track the input signal in real time, so as to achieve the effect of outputting a very good pulse width modulation waveform under different process angles and different working environments. The present invention greatly reduces the The area required by the chip saves the cost of chip development. Compared with the conventional digital DLL DPWM circuit scheme, on the basis of solving the problem of frequency drift and PWM regulation non-linearity, at the same time, it reduces the area required by the system to a large extent.

1)、系统所需面积小;1) The required area of the system is small;

2)、没有频率漂移现象;2), no frequency drift phenomenon;

3)、PWM调节线性度非常好;3), PWM adjustment linearity is very good;

4)、电路结构简单,由标准门电路组成,易于实现且制备工艺简单。4) The circuit structure is simple, consisting of standard gate circuits, easy to realize and simple in preparation process.

附图说明 Description of drawings

图1是现有的基于数字延迟锁相技术的数字脉宽调制电路结构框图;Fig. 1 is an existing digital pulse width modulation circuit structure diagram based on digital delay-locked technology;

图2是现有的基于数字延迟锁相技术的数字脉宽调制电路关键信号时序图;Fig. 2 is the key signal timing diagram of the existing digital pulse width modulation circuit based on the digital delay lock technology;

图3是现有的基于数字延迟锁相技术的数字脉宽调制电路可编程延迟单元原理图;Fig. 3 is the schematic diagram of the programmable delay unit of the existing digital pulse width modulation circuit based on the digital delay lock technology;

图4是本发明的电路结构框图;Fig. 4 is a block diagram of the circuit structure of the present invention;

图5是本发明的关键信号时序图;Fig. 5 is a key signal sequence diagram of the present invention;

图6是本发明的DLL振荡环清零电路电路图;Fig. 6 is a circuit diagram of a DLL oscillating ring clearing circuit of the present invention;

图7是本发明的DLL振荡环可编程延迟单元电路图。Fig. 7 is a circuit diagram of the programmable delay unit of the DLL oscillating ring of the present invention.

具体实施方式 Detailed ways

参看图4,本发明基于数字延迟锁相环的数字脉宽调制器,包括分频电路1、DLL振荡环电路2、清零信号产生电路3和PWM输出逻辑电路4,现有技术也包含这4部分。Referring to Fig. 4, the present invention is based on the digital pulse width modulator of digital delay phase-locked loop, comprises frequency division circuit 1, DLL oscillation loop circuit 2, reset signal generation circuit 3 and PWM output logic circuit 4, and prior art also comprises this 4 parts.

分频电路1包括计数器11和比较器12,计数器11的时钟信号输入端与系统时钟相连、计数器11的复位信号输入端与系统复位信号相连,计数器11的输出与比较器12的一个输入端连接,比较器12的另一个输入端接地;The frequency division circuit 1 includes a counter 11 and a comparator 12, the clock signal input end of the counter 11 is connected with the system clock, the reset signal input end of the counter 11 is connected with the system reset signal, and the output of the counter 11 is connected with an input end of the comparator 12 , the other input terminal of the comparator 12 is grounded;

清零信号产生电路3包括比较器31、选择器32和一个二输入与门33,比较器31的一个输入端连接分频电路1中计数器11的输出,比较器31的另一个输入端连接输入占空比命令信号的高位nMSB,选择器的控制信号输入端连接输入占空比命令信号的低位(m-n)LSB,系统时钟连接选择器32的其中一个选择信号输入端,比较器31及选择器32的输出分别连接二输入与门33的两个输入端;Clearing signal generation circuit 3 comprises comparator 31, selector 32 and a two-input AND gate 33, and an input end of comparator 31 is connected the output of counter 11 in frequency division circuit 1, and the other input end of comparator 31 is connected input The high nMSB of the duty cycle command signal, the control signal input terminal of the selector is connected to the low (m-n) LSB of the input duty cycle command signal, the system clock is connected to one of the selection signal input terminals of the selector 32, the comparator 31 and the selector The output of 32 connects two input ends of two input AND gates 33 respectively;

PWM输出逻辑电路4包括一个D触发器41和一个二输入与门42,D触发器41的时钟端连接分频电路1中比较器12的输出端,D触发器41的复位端连接二输入与门42的输出端,D触发器41的D输入端连接电源VDD,二输入与门42的两个输入端分别连接系统复位信号及清零信号产生电路3中二输入与门33的输出端,D触发器41的输出端Q为PWM输出逻辑电路4的输出,即是系统的可调脉宽波形输出;The PWM output logic circuit 4 includes a D flip-flop 41 and a two-input AND gate 42, the clock end of the D flip-flop 41 is connected to the output end of the comparator 12 in the frequency division circuit 1, and the reset end of the D flip-flop 41 is connected to the two-input AND gate. The output terminal of the gate 42, the D input terminal of the D flip-flop 41 is connected to the power supply VDD, and the two input terminals of the two-input AND gate 42 are respectively connected to the output terminals of the two-input AND gate 33 in the system reset signal and the reset signal generation circuit 3, The output terminal Q of the D flip-flop 41 is the output of the PWM output logic circuit 4, which is the adjustable pulse width waveform output of the system;

DLL振荡环电路2包括控制电路21、振荡电路22和清零电路23,其中:DLL oscillating ring circuit 2 comprises control circuit 21, oscillating circuit 22 and clearing circuit 23, wherein:

控制电路21包括D触发器210、误差处理电路211、控制信号输出逻辑212、比较器213和计数器214,D触发器210的数据输入端口与系统时钟相连,D触发器210的输出Q与误差处理电路211的误差输入端相连,误差处理电路211的使能端与比较器213的输出以及计数器214的使能端连接在一起,误差处理电路211的两个命令信号输出L、R与控制信号输出逻辑212连接,计数器214的时钟输入端与系统时钟相连,计数器214的输出与比较器213的一个输入端A连接,比较器的另一个输入端B连接二进制码“11111”;Control circuit 21 includes D flip-flop 210, error processing circuit 211, control signal output logic 212, comparator 213 and counter 214, the data input port of D flip-flop 210 is connected with system clock, the output Q of D flip-flop 210 and error processing The error input terminal of the circuit 211 is connected, the enabling terminal of the error processing circuit 211 is connected with the output of the comparator 213 and the enabling terminal of the counter 214, and the two command signal outputs L and R of the error processing circuit 211 are connected with the control signal output The logic 212 is connected, the clock input terminal of the counter 214 is connected with the system clock, the output of the counter 214 is connected with an input terminal A of the comparator 213, and the other input terminal B of the comparator is connected with the binary code "11111";

振荡电路22由多级(220…227)PDU首尾相连,即前一级PDU的输出连接后一级PDU的输入(如PDU226的延迟线电路输入和PDU227的输出相连,PDU225的延迟线电路输入和PDU226的输出相连),最后一级PDU 220的输出连接控制电路21中D触发器210的时钟信号输入端口,其余各级PDU的输出分别连接清零信号产生电路3中选择器32的各选择信号输入端,PDU的级数确定规则是:假设输入占空比命令信号宽度为m,分频电路中计数器的位数为n,那么PDU的级数为2(m-n),并且与控制电路1中控制信号输出逻辑212的输出端数量一致并对应,各级PDU内均设有延迟线电路、延迟信号选择器和D触发器,结构相同,以PDU227为例,包括延迟线电路2272、延迟信号选择器2271和D触发器2270:延迟线电路2272的多路输出与延迟信号选择器2271的信号输入端口对应连接,延迟信号选择电路2271的控制信号输入端口与控制电路1中控制信号输出逻辑212的相应输出相连,延迟信号选择电路2271的输出与D触发器2270的时钟端口相连,除首级PDU227中的延迟线电路2272的输入与系统时钟相连外,以后各级PDU中的延迟线电路的输入均与前一级PDU中的D触发器的输出连接,各级PDU中的D触发器的输出端即是本级PDU的输出端。The oscillation circuit 22 is connected end to end by multi-stage (220...227) PDUs, that is, the output of the previous stage PDU is connected to the input of the latter stage PDU (such as the delay line circuit input of PDU226 is connected with the output of PDU227, and the delay line circuit input of PDU225 is connected with the output of PDU227. The output of the PDU226 is connected), the output of the last stage PDU 220 is connected to the clock signal input port of the D flip-flop 210 in the control circuit 21, and the outputs of the other PDUs at all levels are respectively connected to the selection signals of the selector 32 in the clearing signal generation circuit 3 At the input end, the rule for determining the number of stages of the PDU is: assuming that the width of the input duty cycle command signal is m, and the number of bits of the counter in the frequency division circuit is n, then the number of stages of the PDU is 2 (mn) , and it is the same as that in the control circuit 1 The number of output terminals of the control signal output logic 212 is consistent and corresponding. There are delay line circuits, delay signal selectors and D flip-flops in all levels of PDUs. 2271 and D flip-flop 2270: the multi-channel output of the delay line circuit 2272 is correspondingly connected to the signal input port of the delay signal selector 2271, and the control signal input port of the delay signal selection circuit 2271 is connected to the control signal output logic 212 of the control circuit 1 The corresponding outputs are connected, and the output of the delay signal selection circuit 2271 is connected with the clock port of the D flip-flop 2270. Except that the input of the delay line circuit 2272 in the first-level PDU227 is connected with the system clock, the input of the delay line circuits in the subsequent PDUs at all levels All are connected to the output of the D flip-flop in the PDU of the previous stage, and the output end of the D flip-flop in the PDU of each level is the output end of the PDU of the current stage.

清零电路23设有与振荡电路22中PDU个数相等的二输入或门230…237,所有二输入或门的一个输入端端都连接系统复位信号,所有二输入或门的另外一个输入端分别对应连接振荡电路22中各级PDU的输出端,所有二输入或门的输出连接到对应的PDU中D触发器的清零端(如二输入或门237的输出连接到对应的PDU 227中D触发器2270的清零端)。The reset circuit 23 is provided with two-input OR gates 230...237 equal to the number of PDUs in the oscillation circuit 22, one input end of all two-input OR gates is connected to the system reset signal, and the other input end of all two-input OR gates is Correspondingly connect the output terminals of PDUs of all levels in the oscillation circuit 22 respectively, and the output of all two-input OR gates is connected to the clearing end of the D flip-flop in the corresponding PDU (as the output of the two-input OR gate 237 is connected to the corresponding PDU 227 Clear terminal of D flip-flop 2270).

下面结合附图及实例对本发明的电路结构、工作原理及过程作进一步说明。The circuit structure, working principle and process of the present invention will be further described below in conjunction with the accompanying drawings and examples.

图1是现有的基于数字延迟锁相技术的数字脉宽调制器原理框图。可以看出现有的设计电路也包含4个逻辑部分:分频电路、DLL振荡电路、清零信号产生电路和输出逻辑电路。FIG. 1 is a functional block diagram of an existing digital pulse width modulator based on digital delay-locked technology. It can be seen that the existing design circuit also includes four logic parts: frequency division circuit, DLL oscillation circuit, clear signal generation circuit and output logic circuit.

图2是现有的基于数字延迟锁相技术的数字脉宽调制器的时序图,从图中可以看出现有的设计的时序和绝大部分DPWM的时序相同,分为粗调和细调两个部分,用计数器实现细调,用延迟线实现粗调。Figure 2 is a timing diagram of an existing digital pulse width modulator based on digital delay-locked technology. It can be seen from the figure that the timing of the existing design is the same as that of most DPWMs, which are divided into two types: coarse adjustment and fine adjustment. In the part, the fine adjustment is realized by the counter, and the coarse adjustment is realized by the delay line.

图4是本发明的系统框图。这里以9bits分辨率,开关频率为100KHZ的DPWM为例,具体的参数分配如表1所示,根据此参数的分配,可以得出分频电路1中计数器11使用6bits的计数器、比较器12使用6bits的比较器,系统时钟的频率是6.4MHZ;清零信号产生电路3中的比较器31采用6bits的比较器、选择器32采用8选1选择器;DLL振荡环电路2需要8个PDU。Fig. 4 is a system block diagram of the present invention. Here, DPWM with 9bits resolution and switching frequency of 100KHZ is taken as an example. The specific parameter distribution is shown in Table 1. According to the distribution of this parameter, it can be concluded that the counter 11 in the frequency division circuit 1 uses a 6-bits counter and the comparator 12 uses 6bits comparator, the frequency of the system clock is 6.4MHZ; the comparator 31 in the clearing signal generating circuit 3 adopts a 6bits comparator, and the selector 32 adopts an 8-to-1 selector; the DLL oscillator circuit 2 needs 8 PDUs.

表1系统指标分配Table 1 System Index Allocation

  开关频率 On-off level   100KHZ 100KHZ   系统输入时钟 System input clock   32MHZ 32MHZ   分辨率 Resolution   9bits 9bits   计数器位数 counter digits   6bits 6bits   振荡环输出 Oscillation ring output   3bits 3bits   计数时钟 counting clock   6.4MHZ 6.4MHZ   可编程延迟单元个数 Number of programmable delay units   8 8

系统时钟作为6bits计数器的计数时钟,计数器11输出的6bits数字量与占空比命令的高6bits进行比较,如果相等就输出一个高电平的脉冲信号;DLL振荡环输出7路振荡信号,此7路信号和系统时钟一起作为清零信号产生电路中8选1选择器32的选择信号输入,根据占空比命令信号的低3bits选择一个信号,此信号和上述的高电平脉冲信号相与,得到PWM的清零信号PWM_clr,PWM_clr和复位信号reset进行相与作为PWM输出逻辑电路中D触发器的复位信号,这样就实现了PWM占空比的调节功能。如上所述,该系统分成了两个部分:分辨率的细调和粗调,细调是通过计数器11实现的,粗调是通过数字DLL振荡环电路实现的,本发明的时序如图5所示。本发明最大的创新地方在于设计全数字DLL振荡环电路中振荡电路中的可编程延迟单元(Programmable Delay Unit,PDU)(即PDU 220…227)的结构。The system clock is used as the counting clock of the 6bits counter. The 6bits digital quantity output by the counter 11 is compared with the high 6bits of the duty cycle command. If they are equal, a high level pulse signal is output; the DLL oscillation ring outputs 7 oscillation signals, and the 7 The channel signal and the system clock are used together as the selection signal input of the 8-to-1 selector 32 in the clearing signal generating circuit, and a signal is selected according to the low 3 bits of the duty cycle command signal, and this signal is ANDed with the above-mentioned high-level pulse signal, The clearing signal PWM_clr of the PWM is obtained, and the PWM_clr and the reset signal reset are phase-ANDed as the reset signal of the D flip-flop in the PWM output logic circuit, thus realizing the adjustment function of the PWM duty cycle. As mentioned above, the system is divided into two parts: fine adjustment and coarse adjustment of resolution, fine adjustment is realized by counter 11, and coarse adjustment is realized by digital DLL oscillation ring circuit, the sequence of the present invention is as shown in Figure 5 . The biggest innovation of the present invention lies in the design of the structure of the programmable delay unit (Programmable Delay Unit, PDU) (ie PDU 220...227) in the oscillator circuit in the all-digital DLL oscillator circuit.

DLL振荡环是基于延迟锁定技术实现的,工作原理是:系统时钟信号作为DLL振荡环中振荡电路的起振信号,系统时钟的上升沿使得第一个可编程延迟单元输出Q1为高,经过一段时间延迟之后Q1致使第二个可编程延迟单元的输出Q2为高,Q2反过来作为清零信号使得Q1为低,Q2经过一段时间延迟之后致使第三个可编程延迟单元的输出Q3为高,Q3又反过来使得Q2为低,如此流水工作直到第八个可编程延迟单元的输出Q8为高,此高电平一直维持到下一个振荡周期Q1重新变成高,经过上面的步骤之后,振荡电路完成了一次振荡。所述的后一级输出反过来清零前一级输出功能的实现是通过一系列二输入或门实现的,二输入或门的一个输入端口与系统复位信号reset相连,另一输入端口与相应可编程延迟单元的输出相连,清零电路如图6所示。The DLL oscillating ring is implemented based on delay-locked technology. The working principle is: the system clock signal is used as the start-up signal of the oscillating circuit in the DLL oscillating ring. The rising edge of the system clock makes the first programmable delay unit output Q1 high. After a period of After a time delay, Q1 causes the output Q2 of the second programmable delay unit to be high, and Q2 in turn acts as a clear signal to make Q1 low, and Q2 causes the output Q3 of the third programmable delay unit to be high after a period of delay. Q3 in turn makes Q2 low, so the pipeline works until the output Q8 of the eighth programmable delay unit is high, and this high level is maintained until the next oscillation cycle Q1 becomes high again. After the above steps, the oscillation The circuit completes one oscillation. The realization of the output of the latter stage in turn clearing the output of the previous stage is realized through a series of two-input OR gates, one input port of the two-input OR gate is connected to the system reset signal reset, and the other input port is connected to the corresponding The output of the programmable delay unit is connected, and the clearing circuit is shown in Fig. 6 .

上面所述的振荡环结构在某种情况下是可以工作的,此情况就是工作的环境、制造的工艺、同一工艺下的工艺角都满足设计之初的仿真要求,但是这种理想情况在实际当中是不可能实现的,这样就导致了振荡环的不能正常工作。不能正常工作分为两种情况:1.振荡环可以振荡,但是不能达到好的线性度。2.振荡环不能振荡。下面就详细的分析这两种工作情况:1.振荡环可以振荡的情况,当芯片的制造工艺和环境工作温度使得芯片可编程延迟单元的延迟时间变小的时候,Q8的上升沿没有延迟到下一个振荡周期,这样下一个振荡周期就可以顺利的起振,但是振荡环的输出结果非常不好,不好的表现就是输出的7个振荡脉冲包括系统时钟在内的8个信号之间的相位差非线性严重,造成的后果就是理想的PWM占空比会和实际的占空比相差很大,严重的影响了系统的性能。2.振荡环不能振荡的情况,如果Q8信号的上升沿延迟到了下一个振荡周期,那么造成的后果就是下一个振荡周期的Q1无法正常的拉高,中断了振荡环的工作。The above-mentioned oscillating ring structure can work under certain circumstances. In this case, the working environment, manufacturing process, and process corners under the same process all meet the simulation requirements at the beginning of the design, but this ideal situation is in practice. It is impossible to realize it, which leads to the failure of the oscillation ring to work normally. There are two cases of failure to work normally: 1. The oscillation ring can oscillate, but it cannot achieve good linearity. 2. The oscillating ring cannot oscillate. The following is a detailed analysis of these two working conditions: 1. When the oscillation ring can oscillate, when the chip's manufacturing process and ambient operating temperature make the delay time of the chip's programmable delay unit smaller, the rising edge of Q8 is not delayed until The next oscillation cycle, so that the next oscillation cycle can start to oscillate smoothly, but the output of the oscillation loop is very bad. The bad performance is the output of 7 oscillation pulses including the system clock. Among the 8 signals The nonlinearity of the phase difference is serious, and the consequence is that the ideal PWM duty cycle will be greatly different from the actual duty cycle, which seriously affects the performance of the system. 2. If the oscillation ring cannot oscillate, if the rising edge of the Q8 signal is delayed to the next oscillation cycle, the consequence is that Q1 in the next oscillation cycle cannot be pulled high normally, interrupting the work of the oscillation ring.

综上所述,在设计振荡环的时候需要考虑两个问题:1.必须保证振荡环可以起振。2.必须要对每个可编程延迟单元的延迟进行实时的调整,让振荡环去适应工艺、环境等因数的变化,最后输出接近理想的振荡信号。要想满足上面两个要求采用如下的方法:初始情况下,充分考虑环境和工艺的影响下,设置8个可编程延迟单元的延迟值总和不会超过一个系统周期,此例化设计中,系统时钟是6.4MHZ,那么就要保证,在初始情况下8个延迟单元的延迟值总和不会超过156.25ns(1000/6.4)。这样就保证了振荡环的起振,之后利用反馈控制的方法,快速精细的调节可编程延迟单元的总延迟值,用最短的时间,最好的精度达到所需要的状态,这里所说的所需要的状态是指Q8上升沿正好和下一个系统时钟的上升沿吻合。To sum up, two issues need to be considered when designing the oscillation ring: 1. It must be ensured that the oscillation ring can start to vibrate. 2. It is necessary to adjust the delay of each programmable delay unit in real time, so that the oscillation ring can adapt to changes in factors such as process and environment, and finally output an oscillation signal close to the ideal. In order to meet the above two requirements, the following method is adopted: In the initial situation, under the full consideration of the influence of the environment and the process, the sum of the delay values of the eight programmable delay units will not exceed one system cycle. In this example design, the system The clock is 6.4MHZ, so it must be guaranteed that the sum of the delay values of the eight delay units will not exceed 156.25ns (1000/6.4) in the initial case. In this way, the start-up of the oscillation ring is guaranteed, and then the feedback control method is used to quickly and finely adjust the total delay value of the programmable delay unit, and the required state is achieved in the shortest time and with the best accuracy. The required state is that the rising edge of Q8 coincides with the rising edge of the next system clock.

现在要解决的问题就是如何以最快的速度并且用最好的精度来实现数字锁相(DLL)的功能,在说明详细的做法之前需要明确一个概念:可编程延迟单元,本设计中的可编程延迟单元如图7所示,输入信号经过一个延迟线电路,延迟线电路的最小延迟和最大延迟的确定是在考虑不同的工艺和充分考虑环境因素的前提下确定的,本发明的验证是基于charter 180nm CMOS工艺,延迟线中延迟单元的个数为59(2272中延迟单元的个数,为一个范例),在此延迟线中间引出16个输出端口(指2272的输出端口,16个输出端口是必要条件),此16路端口相对于输入信号分别延迟了29,31,33,35,37,39,41,43,45,47,49,51,53,55,57和59个延迟单元(这里的数据为一个范例,总共有16个),这16路输出是16选1选择器2271的输入,根据选择端的数字量sel[3..0]来选择相对应的延迟信号输,此设计中就是通过控制电路输出控制信号来控制16选1选择器2271的选择信号来调节可编程延迟单元的延迟时间的。现有技术可编程延迟单元是通过一些列或非门实现的如图3所示,同时每个通道都是独立的,这样造成的问题就是在要求延迟很大的时候,这种型式的可编程延迟单元就需要大量的逻辑门,就本设计而言,现有技术的可编程延迟单元所需二输入或非门的个数是:2*(15+14+13+…+1)+16=136个,4输入或非门的个数为16个,同时还需要一个16输入的或非门,这样随着延迟时间或者可选择信号范围增大,逻辑门的数量会增加的很快。本设计的可编程延迟单元是通过一个延迟线来实现的,延迟线的最大延迟相当于现有发明中可编程延迟单元中的最大延迟,除了最大延迟值之外的其他的延迟值选择可以从延迟线中引出,这样就很大程度上减少了延迟单元的个数,本设计所需的逻辑单元个数只有32个,再加上一个16选1的选择器2271就可以实现该有的功能,逻辑门(230…237)的数量减少了80%。The problem to be solved now is how to realize the function of digital phase lock (DLL) with the fastest speed and the best precision. Before explaining the detailed method, it is necessary to clarify a concept: programmable delay unit, the programmable delay unit in this design Programming delay unit as shown in Figure 7, input signal passes through a delay line circuit, the determination of the minimum delay and the maximum delay of the delay line circuit is determined under the premise of considering different processes and fully considering environmental factors, the verification of the present invention is Based on charter 180nm CMOS process, the number of delay units in the delay line is 59 (the number of delay units in 2272 is an example), and 16 output ports are drawn in the middle of this delay line (referring to the output port of 2272, 16 output ports port is a necessary condition), the 16 ports are delayed by 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57 and 59 delays relative to the input signal unit (the data here is an example, there are 16 in total), these 16 outputs are the input of the 16-to-1 selector 2271, and the corresponding delayed signal output is selected according to the digital quantity sel[3..0] at the selection end, In this design, the control circuit outputs a control signal to control the selection signal of the 16-to-1 selector 2271 to adjust the delay time of the programmable delay unit. The programmable delay unit in the prior art is realized by a series of NOR gates as shown in Figure 3, and each channel is independent at the same time. The problem caused by this is that when the delay is required to be large, this type of programmable The delay unit requires a large number of logic gates. As far as this design is concerned, the number of two-input NOR gates required by the programmable delay unit of the prior art is: 2*(15+14+13+...+1)+16 =136, the number of 4-input NOR gates is 16, and a 16-input NOR gate is also required, so as the delay time or the range of selectable signals increases, the number of logic gates will increase rapidly. The programmable delay unit of this design is realized by a delay line, and the maximum delay of the delay line is equivalent to the maximum delay in the programmable delay unit in the existing invention, and other delay value selections except the maximum delay value can be selected from In this way, the number of delay units is greatly reduced. The number of logic units required in this design is only 32, and a 16-to-1 selector 2271 can realize the function. , the number of logic gates (230...237) is reduced by 80%.

DLL控制算法如下:Q8的上升沿作为采样信号,采样系统时钟信号的电平,如果采样到低电平,说明可编程延迟单元的总延迟时间不够,需要加大总延迟,如果采样到高电平,说明可编程延迟单元的总延迟时间过大,需要减小总延迟。在本设计中,有8个可编程延迟单元(220…227),每个可编程延迟单元中延迟信号选择器的输入有16个,因此,每个PDU的延迟时间控制端口需要4bits,那么控制模块就需要输出32bits(8*4bits)的控制字,8个可编程延迟单元的延迟控制端和32bits的控制字的连接如表3所示,这里表3是表2的特例。The DLL control algorithm is as follows: the rising edge of Q8 is used as a sampling signal, and the level of the system clock signal is sampled. If the sampling is low, it means that the total delay time of the programmable delay unit is not enough, and the total delay needs to be increased. Ping, indicating that the total delay time of the programmable delay unit is too large, and the total delay needs to be reduced. In this design, there are 8 programmable delay units (220...227), and there are 16 inputs to the delay signal selector in each programmable delay unit. Therefore, the delay time control port of each PDU needs 4 bits, then the control The module needs to output a 32bits (8*4bits) control word, and the connection between the delay control terminals of the eight programmable delay units and the 32bits control word is shown in Table 3, where Table 3 is a special case of Table 2.

表2可编程延迟单元延迟控制端和control_reg的连接方式Table 2 Connection mode of programmable delay unit delay control terminal and control_reg

Figure BDA0000108813000000071
Figure BDA0000108813000000071

Figure BDA0000108813000000081
Figure BDA0000108813000000081

表38个可编程延迟单元延迟控制端和控制字的连接方式Table 38 Programmable delay unit delay control terminal and connection mode of control word

  sel1 sel1   control_reg[0,15,16,31] control_reg[0, 15, 16, 31]   sel2 sel2   control_reg[1,14,17,30] control_reg[1, 14, 17, 30]   sel3 sel3   contro1_reg[2,13,18,29] control1_reg[2, 13, 18, 29]   sel4 sel4   contro1_reg[3,12,19,28] control1_reg[3, 12, 19, 28]   sel5 sel5   contro1_reg[4,11,20,27] control1_reg[4, 11, 20, 27]   sel6 sel6   contro1_reg[5,10,21,26] control1_reg[5, 10, 21, 26]   sel7 sel7   contro1_reg[6,9,22,25] control1_reg[6, 9, 22, 25]   sel8 sel8   contro1_reg[7,8,23,24] control1_reg[7, 8, 23, 24]

本设计中采用移位寄存器的方法来实现所需要的控制,具体做法是:control_reg初始化值是32’b1000_0000_0000_0000_0000_0000_0000_0000,当需要增大延迟时,control_reg算术右移一位,这样就增大了控制字‘1’的数目,也就相应的增大了可编程延迟单元的总延迟;当需要减小延迟时,control_reg算术左移一位,这样就减少了control_reg中的‘1’的数目,也就相应的减小了可编程延迟单元的总延迟。In this design, the method of shift register is used to achieve the required control. The specific method is: the initial value of control_reg is 32'b1000_0000_0000_0000_0000_0000_0000_0000. When the delay needs to be increased, the arithmetic of control_reg is shifted one bit to the right, which increases the control word' The number of 1' increases the total delay of the programmable delay unit accordingly; when the delay needs to be reduced, the control_reg arithmetic shifts one bit to the left, which reduces the number of '1' in the control_reg, correspondingly reduces the overall delay of the programmable delay unit.

Claims (1)

1.一种基于数字延迟锁相环的数字脉宽调制器,包括分频电路、DLL振荡环电路、清零信号产生电路和PWM输出逻辑电路,其特征是:1. A digital pulse width modulator based on a digital delay phase-locked loop, comprising a frequency division circuit, a DLL oscillating ring circuit, a clearing signal generation circuit and a PWM output logic circuit, is characterized in that: 分频电路包括计数器和比较器,计数器的时钟信号输入端与系统时钟相连、计数器的复位信号输入端与系统复位信号相连,计数器的输出与比较器的一个输入端连接,比较器的另一个输入端接地;The frequency division circuit includes a counter and a comparator. The clock signal input terminal of the counter is connected to the system clock, the reset signal input terminal of the counter is connected to the system reset signal, the output of the counter is connected to one input terminal of the comparator, and the other input terminal of the comparator terminal grounding; 清零信号产生电路包括比较器、选择器和一个二输入与门,比较器的一个输入端连接分频电路中计数器的输出,比较器的另一个输入端连接输入占空比命令信号的高位,选择器的控制信号输入端连接输入占空比命令信号的低位,系统时钟连接选择器的其中一个选择信号输入端,比较器及选择器的输出分别连接二输入与门的两个输入端;The clearing signal generation circuit includes a comparator, a selector and a two-input AND gate. One input terminal of the comparator is connected to the output of the counter in the frequency division circuit, and the other input terminal of the comparator is connected to the high bit of the input duty cycle command signal. The control signal input terminal of the selector is connected to the low bit of the input duty cycle command signal, the system clock is connected to one of the selection signal input terminals of the selector, and the outputs of the comparator and the selector are respectively connected to the two input terminals of the two-input AND gate; PWM输出逻辑电路包括一个D触发器和一个二输入与门,D触发器的时钟端连接分频电路中比较器的输出端,D触发器的复位端连接二输入与门的输出端,D触发器的D输入端连接电源VDD,二输入与门的两个输入端分别连接系统复位信号及清零信号产生电路中二输入与门的输出端,D触发器的输出端为PWM输出逻辑电路的输出,即是系统的可调脉宽波形输出;The PWM output logic circuit includes a D flip-flop and a two-input AND gate, the clock end of the D flip-flop is connected to the output end of the comparator in the frequency division circuit, the reset end of the D flip-flop is connected to the output end of the two-input AND gate, and the D flip-flop The D input terminal of the flip-flop is connected to the power supply VDD, and the two input terminals of the two-input AND gate are respectively connected to the output terminals of the two-input AND gate in the system reset signal and clear signal generating circuit, and the output terminal of the D flip-flop is the PWM output logic circuit. Output, that is, the system's adjustable pulse width waveform output; DLL振荡环电路包括控制电路、振荡电路和清零电路,其中:The DLL oscillating ring circuit includes a control circuit, an oscillating circuit and a clearing circuit, among which: 控制电路包括D触发器、误差处理电路、控制信号输出逻辑、比较器和计数器,D触发器的数据输入端口与系统时钟相连,D触发器的输出与误差处理电路的误差输入端相连,误差处理电路的使能端与比较器的输出以及计数器的使能端连接在一起,误差处理电路的两个命令信号输出与控制信号输出逻辑连接,计数器的时钟输入端与系统时钟相连,计数器的输出与比较器的一个输入端连接,比较器的另一个输入端连接二进制码“11111”;The control circuit includes a D flip-flop, an error processing circuit, a control signal output logic, a comparator, and a counter. The data input port of the D flip-flop is connected to the system clock, and the output of the D flip-flop is connected to the error input of the error processing circuit. The error processing The enable terminal of the circuit is connected with the output of the comparator and the enable terminal of the counter, the two command signal outputs of the error processing circuit are logically connected with the control signal output, the clock input terminal of the counter is connected with the system clock, and the output of the counter is connected with the system clock One input terminal of the comparator is connected, and the other input terminal of the comparator is connected to the binary code "11111"; 振荡电路由多级PDU首尾相连组成,即前一级PDU的输出连接后一级PDU的输入,最后一级PDU的输出连接控制电路中D触发器的时钟信号输入端口,其余各级PDU的输出分别连接清零信号产生电路中选择器的各选择信号输入端,PDU的级数确定规则是:假设输入占空比命令信号宽度为m,分频电路中计数器的位数为n,那么PDU的级数为2(m-n)并且与控制电路中控制信号输出逻辑的输出端数量一致并对应,各级PDU内均设有延迟线电路、延迟信号选择器和D触发器,结构相同:延迟线电路的多路输出与延迟信号选择器的信号输入端口对应连接,延迟信号选择电路的控制信号输入端口与控制电路中控制信号输出逻辑的相应输出相连,延迟信号选择电路的输出与D触发器的时钟端口相连,除首级PDU中的延迟线电路的输入与系统时钟相连外,以后各级PDU中的延迟线电路的输入均与前一级PDU中的D触发器的输出连接,各级PDU中的D触发器的输出端即是本级PDU的输出端;The oscillation circuit is composed of multi-level PDUs connected end to end, that is, the output of the previous level of PDU is connected to the input of the next level of PDU, the output of the last level of PDU is connected to the clock signal input port of the D flip-flop in the control circuit, and the output of the other levels of PDU Connect the selection signal input terminals of the selector in the clearing signal generating circuit respectively, and the determination rule of the PDU series is: assuming that the width of the input duty cycle command signal is m, and the number of bits of the counter in the frequency division circuit is n, then the PDU The number of stages is 2 (mn) and is consistent with and corresponds to the number of output terminals of the control signal output logic in the control circuit. There are delay line circuits, delay signal selectors and D flip-flops in all levels of PDUs, and the structure is the same: delay line circuit The multi-channel output of the delay signal selector is correspondingly connected with the signal input port of the delay signal selector, the control signal input port of the delay signal selection circuit is connected with the corresponding output of the control signal output logic in the control circuit, and the output of the delay signal selection circuit is connected with the clock of the D flip-flop The ports are connected, except that the input of the delay line circuit in the first-level PDU is connected to the system clock, the input of the delay line circuit in the subsequent PDUs of each level is connected with the output of the D flip-flop in the previous level of PDU, and the output of the D flip-flop in the PDU of each level is connected. The output terminal of the D flip-flop is the output terminal of the PDU of this level; 清零电路设有与振荡电路中PDU个数相等的二输入或门,所有二输入或门的一个输入端都连接系统复位信号,所有二输入或门的另外一个输入端分别对应连接振荡电路中各级PDU的输出端,所有二输入或门的输出连接到对应的PDU中D触发器的清零端。The reset circuit is provided with two-input OR gates equal to the number of PDUs in the oscillation circuit, one input terminal of all two-input OR gates is connected to the system reset signal, and the other input terminals of all two-input OR gates are respectively connected to the oscillation circuit The output ends of PDUs at all levels, and the outputs of all two-input OR gates are connected to the clearing ends of the D flip-flops in the corresponding PDUs.
CN 201110361832 2011-11-16 2011-11-16 Digital pulse width modulator based on digital delayed-locked loop (DLL) Expired - Fee Related CN102394643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110361832 CN102394643B (en) 2011-11-16 2011-11-16 Digital pulse width modulator based on digital delayed-locked loop (DLL)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110361832 CN102394643B (en) 2011-11-16 2011-11-16 Digital pulse width modulator based on digital delayed-locked loop (DLL)

Publications (2)

Publication Number Publication Date
CN102394643A true CN102394643A (en) 2012-03-28
CN102394643B CN102394643B (en) 2013-04-03

Family

ID=45861854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110361832 Expired - Fee Related CN102394643B (en) 2011-11-16 2011-11-16 Digital pulse width modulator based on digital delayed-locked loop (DLL)

Country Status (1)

Country Link
CN (1) CN102394643B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102832914A (en) * 2012-09-17 2012-12-19 电子科技大学 Digital pulse width modulator circuit
CN104852729A (en) * 2015-04-14 2015-08-19 华为技术有限公司 Circuit and method for suppressing higher harmonic interference of digital clock
CN106208675A (en) * 2016-07-27 2016-12-07 南京理工大学 DC/DC controller based on digital delay circuit
CN106533401A (en) * 2016-11-08 2017-03-22 合肥工业大学 DPWM module for synchronous segmentation delay chain based on FPGA
CN107103116A (en) * 2017-03-27 2017-08-29 中国科学院计算技术研究所 A kind of triggering device and design method for being multiplexed trace cache
CN108710028A (en) * 2018-04-28 2018-10-26 吉林省广播电视研究所(吉林省新闻出版广电局科技信息中心) Random frequency modulation sampling probability measures the device and method of electronic signal phase difference
CN109061265A (en) * 2018-08-31 2018-12-21 无锡华润矽科微电子有限公司 Unused time controllable multimeter control circuit
CN109302166A (en) * 2018-09-07 2019-02-01 南方科技大学 Pulse width modulation circuit and device
CN110309588A (en) * 2019-06-28 2019-10-08 西安紫光国芯半导体有限公司 A kind of signal eye diagram change modeling device
CN111277252A (en) * 2018-12-04 2020-06-12 德克萨斯仪器股份有限公司 Generation of Pulse Width Modulated (PWM) pulses
CN114724501A (en) * 2022-03-23 2022-07-08 厦门凌阳华芯科技有限公司 LED display and pulse width modulation system thereof
CN115081578A (en) * 2022-06-08 2022-09-20 华能核能技术研究院有限公司 System, method and device for processing fuel ball counter signal and electronic equipment
CN115225080A (en) * 2022-09-15 2022-10-21 苏州聚元微电子股份有限公司 Dead zone configurable complementary output circuit with braking function
CN116614114A (en) * 2023-04-13 2023-08-18 浙江力积存储科技有限公司 Method for detecting duty ratio of clock signal of delay phase-locked loop and duty ratio detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024179A1 (en) * 2006-07-27 2008-01-31 Hashim Ahmed E Methods and apparatus for a digital pulse width modulator using multiple delay locked loops
WO2009097047A1 (en) * 2008-01-30 2009-08-06 Marvell World Trade Ltd. Variable capacitance with delay lock loop
CN102035514A (en) * 2010-11-11 2011-04-27 东南大学 Control method for digital pulse width modulation (DPWM) circuit
CN102158208A (en) * 2011-04-02 2011-08-17 东南大学 Whole-course adjustable digital pulse width modulator based on oscillation ring circuit
CN202364200U (en) * 2011-11-16 2012-08-01 东南大学 Digital pulse width modulator based on digital delay phase-locked loop

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024179A1 (en) * 2006-07-27 2008-01-31 Hashim Ahmed E Methods and apparatus for a digital pulse width modulator using multiple delay locked loops
WO2009097047A1 (en) * 2008-01-30 2009-08-06 Marvell World Trade Ltd. Variable capacitance with delay lock loop
CN102035514A (en) * 2010-11-11 2011-04-27 东南大学 Control method for digital pulse width modulation (DPWM) circuit
CN102158208A (en) * 2011-04-02 2011-08-17 东南大学 Whole-course adjustable digital pulse width modulator based on oscillation ring circuit
CN202364200U (en) * 2011-11-16 2012-08-01 东南大学 Digital pulse width modulator based on digital delay phase-locked loop

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102832914B (en) * 2012-09-17 2015-08-05 电子科技大学 A kind of digital pulse width modulator circuit
CN102832914A (en) * 2012-09-17 2012-12-19 电子科技大学 Digital pulse width modulator circuit
CN104852729A (en) * 2015-04-14 2015-08-19 华为技术有限公司 Circuit and method for suppressing higher harmonic interference of digital clock
CN104852729B (en) * 2015-04-14 2018-05-11 华为技术有限公司 A kind of circuit and method of the higher hamonic wave interference for suppressing digital dock
CN106208675A (en) * 2016-07-27 2016-12-07 南京理工大学 DC/DC controller based on digital delay circuit
CN106208675B (en) * 2016-07-27 2019-06-07 南京理工大学 DC/DC controller based on digital delay circuit
CN106533401B (en) * 2016-11-08 2019-03-08 合肥工业大学 A kind of DPWM module of the synchronous segmenting time delay chain based on FPGA
CN106533401A (en) * 2016-11-08 2017-03-22 合肥工业大学 DPWM module for synchronous segmentation delay chain based on FPGA
CN107103116B (en) * 2017-03-27 2019-07-30 中国科学院计算技术研究所 A kind of trigger device and design method being multiplexed trace cache
CN107103116A (en) * 2017-03-27 2017-08-29 中国科学院计算技术研究所 A kind of triggering device and design method for being multiplexed trace cache
CN108710028A (en) * 2018-04-28 2018-10-26 吉林省广播电视研究所(吉林省新闻出版广电局科技信息中心) Random frequency modulation sampling probability measures the device and method of electronic signal phase difference
CN108710028B (en) * 2018-04-28 2023-06-09 吉林省广播电视研究所(吉林省新闻出版广电局科技信息中心) Device and method for measuring phase difference of electronic signals by random frequency modulation sampling probability
CN109061265A (en) * 2018-08-31 2018-12-21 无锡华润矽科微电子有限公司 Unused time controllable multimeter control circuit
CN109061265B (en) * 2018-08-31 2024-03-26 华润微集成电路(无锡)有限公司 Universal meter control circuit with controllable shutdown time
CN109302166B (en) * 2018-09-07 2022-08-23 南方科技大学 Pulse width modulation circuit and device
CN109302166A (en) * 2018-09-07 2019-02-01 南方科技大学 Pulse width modulation circuit and device
CN111277252B (en) * 2018-12-04 2025-05-30 德克萨斯仪器股份有限公司 Pulse Width Modulation (PWM) Pulse Generation
CN111277252A (en) * 2018-12-04 2020-06-12 德克萨斯仪器股份有限公司 Generation of Pulse Width Modulated (PWM) pulses
CN110309588B (en) * 2019-06-28 2023-05-12 西安紫光国芯半导体有限公司 Signal eye diagram change simulation device
CN110309588A (en) * 2019-06-28 2019-10-08 西安紫光国芯半导体有限公司 A kind of signal eye diagram change modeling device
CN114724501A (en) * 2022-03-23 2022-07-08 厦门凌阳华芯科技有限公司 LED display and pulse width modulation system thereof
CN114724501B (en) * 2022-03-23 2024-06-04 厦门凌阳华芯科技股份有限公司 LED display and pulse width modulation system thereof
CN115081578A (en) * 2022-06-08 2022-09-20 华能核能技术研究院有限公司 System, method and device for processing fuel ball counter signal and electronic equipment
CN115081578B (en) * 2022-06-08 2023-11-03 华能核能技术研究院有限公司 Fuel ball counter signal processing system, method and device and electronic equipment
CN115225080A (en) * 2022-09-15 2022-10-21 苏州聚元微电子股份有限公司 Dead zone configurable complementary output circuit with braking function
CN116614114B (en) * 2023-04-13 2023-12-19 浙江力积存储科技有限公司 Method for detecting duty ratio of clock signal of delay phase-locked loop and duty ratio detector
CN116614114A (en) * 2023-04-13 2023-08-18 浙江力积存储科技有限公司 Method for detecting duty ratio of clock signal of delay phase-locked loop and duty ratio detector

Also Published As

Publication number Publication date
CN102394643B (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN102394643B (en) Digital pulse width modulator based on digital delayed-locked loop (DLL)
CN202364200U (en) Digital pulse width modulator based on digital delay phase-locked loop
US7459951B2 (en) Self-calibrating digital pulse-width modulator (DPWM)
US7205805B1 (en) Adjusting power consumption of digital circuitry relative to critical path circuit having the largest propagation delay error
CN102025276B (en) Clock domain crossing controller of digital control switch power supply and control method thereof
TWI442704B (en) An apparatus for counting input pulses during a specific time interval
US7683597B2 (en) PWM signal generating circuit and power supply apparatus comprising such PWM signal generating circuit
US9484895B2 (en) Self-adjusting duty cycle tuner
Costinett et al. Simple digital pulse width modulator under 100 ps resolution using general-purpose FPGAs
WO2008106456A2 (en) Universal and fault-tolerant multiphase digital pwm controller for high-frequency dc-dc converters
CN101090272B (en) Hybrid Digital Pulse Width Modulator for Digital Power Controllers
CN102356549A (en) Process, voltage, temperature compensated oscillator
CN102648581A (en) Configurable digital-analog phase locked loop
US5321401A (en) Method and apparatus for digital to analog conversion with minimized distortion
TWI726791B (en) Signal divider, signal distribution system, and method thereof
US8081017B2 (en) Clock signal frequency dividing circuit and clock signal frequency dividing method
US9705507B1 (en) Fixed frequency divider circuit
CN111884631A (en) A Digital Pulse Width Modulation Module Using Hybrid Structure
CN106230408A (en) Digital pulse width modulator based on digital delay
WO2018094924A1 (en) Programmable frequency divider and computer storage medium
US11226649B2 (en) Clock delay circuit
Xu et al. High-resolution digital PWM optimization method for critical path delay in general FPGA
US6501815B1 (en) Loadable divide-by-N with fixed duty cycle
CN110214417B (en) 50% Duty Cycle Quadrature Input Quadrature Output (QIQO) Divide-by-3 Circuit
CN104639042A (en) Low-power-consumption adjustable frequency multiplier

Legal Events

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

Granted publication date: 20130403

Termination date: 20151116

EXPY Termination of patent right or utility model