WO2016000654A1 - Digital output buffer and control method therefor - Google Patents
Digital output buffer and control method therefor Download PDFInfo
- Publication number
- WO2016000654A1 WO2016000654A1 PCT/CN2015/083257 CN2015083257W WO2016000654A1 WO 2016000654 A1 WO2016000654 A1 WO 2016000654A1 CN 2015083257 W CN2015083257 W CN 2015083257W WO 2016000654 A1 WO2016000654 A1 WO 2016000654A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- value
- switch tube
- switch
- integrator
- fsel
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
Definitions
- the present invention relates to the field of output buffer technologies, and in particular, to a digital output buffer and a control method thereof.
- the digital output buffer consumes a large amount of power when it buffers the output of the data. Therefore, it is necessary to design a digital output buffer that reduces power consumption.
- Chinese Patent Publication No. CN103269217 published on August 28, 2013, the name of the invention is an output buffer
- the application discloses an output buffer comprising first and second transistors and a self-biasing circuit, first The transistor has a control electrode, an input electrode coupled to the output end, and an output electrode, and the second transistor has a control electrode, an input electrode coupled to the output electrode of the first transistor, and an output electrode coupled to the reference voltage, and the self-bias circuit is coupled to the output end And a control electrode of the first transistor.
- the downside is that the output buffer consumes a lot of power.
- the object of the present invention is to overcome the technical problem of large power consumption of the existing digital output buffer, and to provide a digital output buffer capable of reducing power consumption and a control method thereof.
- the invention provides a digital output buffer comprising a timing generator, an integrator, a residual current detector, an energy storage device, an inductance L, a load capacitance CL, a first switching tube SW1, and a second opening
- the switch SW2 and the third switch SW3 are connected to each other.
- the other end of the accumulator is electrically connected to the first conductive end of the third switch SW3, and the second switch is the second switch SW3.
- the conductive terminal is electrically connected to one end of the inductor L, and the other end of the inductor L is electrically connected to the upper plate of the load capacitor CL, the first conductive end of the first switch tube SW1, and the first conductive end of the second switch tube SW2.
- the second conductive terminal of the capacitor CL and the second conductive terminal of the second switching transistor SW2 are both grounded, and the second conductive terminal of the first switching transistor SW1 is electrically connected to the power supply VDD, and the first switching transistor SW1
- the control terminal, the control terminal of the second switch SW2 and the control terminal of the third switch SW3 are respectively electrically connected to the timing generator, and the two detection ends of the residual current detector are respectively the first of the third switch SW3
- the conductive end and the second conductive end are electrically connected, the output end of the residual current detector is electrically connected to the input end of the integrator, and the output end of the integrator is electrically connected to the second input end of the timing generator.
- the first input of the timing generator is the signal input of the digital output buffer.
- the energy storage device, the inductor L, the load capacitance CL, the first switch tube SW1, the second switch tube SW2 and the third switch tube SW3 constitute a main circuit of the digital output buffer, and its function is through the control
- a switch tube SW1, a second switch tube SW2, and a third switch tube SW3 are used to control the LC oscillation to carry the charge on the accumulator to the load capacitor CL according to the input signal Din, or to charge the charge on the CL according to the input signal.
- Din is moved to the accumulator without loss, so that the low-to-high transition and the high-to-low transition can be achieved at the output port Dout.
- the accumulator can be implemented with a capacitor or voltage source.
- the first switch tube SW1 and the second switch tube SW2 enhance the level of the digital output port Dout, and maintain Dout at a low level of low resistance and a low level of low resistance.
- the digital output buffer operates in four stages of T1, T2, T3, and T4, and timing generation occurs.
- the device controls the first switch tube SW1, the second switch tube SW2, and the third switch tube SW3 to operate.
- the interval T1 is entered, the third switch tube SW3 is turned on, the first switch tube SW1 and the second switch tube SW2 are turned off, and the charge stored in the accumulator passes through the first
- the three-switching tube SW3 is supplied to the inductor L. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can freely oscillate to VDD.
- the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
- the current in the inductor L returns to 0, which is the end point of the T1 interval, and is the starting point of the T2 interval.
- the first switch SW1 is turned on, the second switch SW2 and the third switch SW3 are disconnected, and the power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, and the voltage of the upper plate of the load capacitor CL is reached.
- VDD, the output port Dout outputs a high level.
- the T3 interval is entered, the third switch tube SW3 is turned on, and the first switch tube SW1 and the second switch tube SW2 are turned off.
- the charge on the load capacitor CL passes through the inductor L, and the third switch SW3 is recovered by the accumulator. In this process, the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
- the current in the inductor L returns to 0, which is the end point of the T3 interval, and is the starting point of the T4 interval.
- the second switch SW2 is turned on, and the first switch SW1 and the third switch SW3 are turned off.
- the upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
- the integrator and residual current detector form the negative feedback circuit of the digital output buffer. Since the current in the inductor L needs to end at the 0 point in the T1 phase and the T3 phase, the power consumption is reduced, and the circuit noise is generated by the high-frequency oscillation of the residual current in the inductor L. It is therefore important that the timing generator controls the duration of the T1 phase and the T3 phase.
- the durations of the T1 phase and the T3 phase are the same, both being time T.
- the timing generator takes the time value corresponding to the Dsgm value of the latest received integrator output as the value of the time T.
- the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to Dsgm, the initial value corresponds to a T time value, and the residual current detector detects when the timing generator controls the third switch tube SW3 to turn on T time.
- the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current.
- the integrator integrates the initial value of Dsgm and the received Dcmp value to obtain The latest Dsgm value and output the Dsgm value to the timing generator.
- the timing generator determines a corresponding time value according to the received Dsgm value, and uses the time value as the value of the time T.
- the digital output buffer further comprises an error detector, a data processor and a frequency divider, the output of the integrator being further electrically coupled to the input of the error detector, the output of the error detector
- the end is electrically connected to the input end of the data processor
- the output end of the data processor is electrically connected to the second output end of the frequency divider, the first input end of the frequency divider and the first input end of the timing generator Electrically connected
- the output of the frequency divider is electrically coupled to the clock signal input of the error detector, the clock signal input of the integrator, and the clock signal input of the residual current detector.
- the error detector, data processor, and divider form another negative feedback circuit for the digital output buffer.
- the error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, and the error detector inputs the error value Err to the data processor, the data processor Calculating the frequency division multiple Fsel of the frequency divider according to the error value Err, and transmitting the frequency division multiple Fsel to the frequency divider, the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs a clock signal CLK corresponding to the frequency.
- integrator and residual current detector To the error detector, integrator and residual current detector. The residual current detector and integrator are both triggered by the clock signal CLK.
- the negative feedback circuit consisting of error detector, data processor and frequency divider makes the digital output buffer save power and has strong anti-interference ability.
- the energy storage device is a capacitor or a voltage source.
- the present invention provides a digital output buffer control method comprising the following steps:
- step S1 the timing generator reads the input signal Din, when the input signal Din jumps from a low level to a high level, then step S2 is performed, when the input signal Din jumps from a high level to a low level, then step S4 is performed;
- the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
- the timing generator controls the first switch SW1 to be turned on, and controls the second switch SW2 and the third switch SW3 to be turned off;
- the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
- the timing controller controls the second switch tube SW2 to be turned on, and controls the first switch tube SW1 and the third switch tube SW3 to be turned off;
- the timing generator takes the time value corresponding to the Dsgm value of the newly received integrator output as the value of the time T, and the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to the Dsgm, the initial value corresponding to a time value That is, the time value is the initial value of the time T.
- the timing generator controls the third switch tube SW3 to turn on the T time, that is, when the third switch tube SW3 is turned off, the residual current detector detects the residual current in the inductor L.
- the Dcmp value is output to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current, and the integrator integrates the initial value of Dsgm and all received Dcmp values to obtain the latest Dsgm value, and The Dsgm value is output.
- the error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the score according to the error value Err.
- the frequency division multiple of the frequency converter Fsel, and the frequency division multiple Fsel is sent to the frequency divider, the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector and the integrator And residual current detectors.
- Fsel linearly adjusts the divider output frequency. Linear algorithm, the smaller the error Err corresponds to the smaller frequency divider output frequency, corresponding to the smaller circuit power consumption, but the slower the adjustment rate; the larger the error Err corresponds to the larger the frequency divider output frequency , corresponding to the larger circuit power consumption, but the faster the adjustment rate.
- the advantage is that the control is simple.
- the advantage of the exponential algorithm is that when the error
- the output of Fsel(Z) can be output to at least two states, which simplifies the design of the divider.
- the advantage of the algorithm using sigma-delta is that it can simplify the design of the frequency divider.
- quantization noise is introduced, but the sigma-delta algorithm itself can push the noise to the high frequency end, so that the power is coupled into the system through the substrate coupling. Noise near the signal frequency point is negligible.
- the substantial effect of the invention is that the power consumption of the digital output buffer is effectively reduced, and the digital output buffer has strong anti-interference ability, and the circuit noise of the residual current high-frequency oscillation in the inductor L is avoided.
- FIG. 1 is a block diagram of a circuit principle connection of the present invention
- Figure 3 is a flow chart of the operation of the present invention.
- timing generator 1, integrator, 3, residual current detector, 4, energy storage, 5, error detector, 6, data processor, 7, frequency divider, 8, error operator 9, dynamic reference generator.
- the present invention provides a digital output buffer, as shown in FIG. 1, which includes a timing generator 1, an integrator 2, a residual current detector 3, an energy storage device 4, an error detector 5, and a data processor. 6.
- the first conductive end of the SW3 is electrically connected, and the second conductive end of the third switch SW3 is electrically connected to one end of the inductor L.
- the other end of the inductor L and the upper plate of the load capacitor CL and the first guide of the first switch SW1 The first end of the second switch tube SW2 is electrically connected, the second end of the capacitor CL and the second end of the second switch SW2 are grounded, and the second end of the first switch SW1 is
- the power supply VDD is electrically connected, and the control end of the first switch SW1, the control end of the second switch SW2, and the control end of the third switch SW3 are electrically connected to the timing generator 1, respectively, and the two detecting ends of the residual current detector 3 Connected to the first conductive end and the second conductive end of the third switch SW3, respectively, and the output of the residual current detector 3
- the terminal is electrically connected to the input of the integrator 2, the output of the integrator 2 is electrically connected to the second input of the timing generator 1 and the input of the error detector 5, and the first input of the timing generator 1 is a digital output.
- the signal input end of the buffer, the output of the error detector 5 is electrically connected to the input of the data processor 6, the output of the data processor 6 and the frequency divider 7
- the second output terminal is electrically connected
- the first input end of the frequency divider 7 is electrically connected to the first input end of the timing generator 1, the output end of the frequency divider 7 and the clock signal input end of the error detector 5, and the integrator
- the clock signal input terminal of 2 is electrically connected to the clock signal input terminal of the residual current detector 3.
- the energy storage device, the inductor L, the load capacitor CL, the first switch tube SW1, the second switch tube SW2 and the third switch tube SW3 constitute a main circuit of the digital output buffer, and its function is to control the first switch tube SW1
- the second switch tube SW2 and the third switch tube SW3 control the LC oscillation to carry the charge on the accumulator to the load capacitor CL non-destructively according to the input signal Din, or to transfer the charge on the CL to the storage signal Din without loss according to the input signal Din.
- the accumulator is a capacitor.
- the first switch tube SW1 and the second switch tube SW2 enhance the level of the digital output port Dout, and maintain Dout at a low level of low resistance and a low level of low resistance.
- the digital output buffer operates as T1, T2, T3, and T4.
- the timing generator controls the first switching transistor SW1, the second switching transistor SW2, and the third switching transistor SW3 to operate.
- the interval T1 is entered, the third switch tube SW3 is turned on, the first switch tube SW1 and the second switch tube SW2 are turned off, and the charge stored in the accumulator passes through the first
- the three-switching tube SW3 is supplied to the inductor L. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can freely oscillate to VDD.
- the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
- the current in the inductor L returns to 0, which is the end point of the T1 interval, and is the starting point of the T2 interval.
- the first switch SW1 is turned on, the second switch SW2 and the third switch SW3 are disconnected, and the power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, and the voltage of the upper plate of the load capacitor CL is reached.
- VDD, the output port Dout outputs a high level.
- the T3 interval is entered, the third switch tube SW3 is turned on, and the first switch tube SW1 and the second switch tube SW2 are turned off.
- the charge on the load capacitor CL is recovered by the accumulator via the inductor L and the third switch SW3. In this process, the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
- the current in the inductor L returns to 0, which is the end point of the T3 interval, and is the starting point of the T4 interval.
- the second switch SW2 is turned on, and the first switch SW1 and the third switch SW3 are turned off.
- the upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
- the integrator and residual current detector form the negative feedback circuit of the digital output buffer. Since the current in the inductor L needs to end at the 0 point in the T1 phase and the T3 phase, the power consumption is reduced, and the circuit noise is generated by the high-frequency oscillation of the residual current in the inductor L. It is therefore important that the timing generator controls the duration of the T1 phase and the T3 phase.
- the durations of the T1 phase and the T3 phase are the same, both being time T.
- the timing generator takes the time value corresponding to the Dsgm value of the latest received integrator output as the value of the time T.
- the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to Dsgm, the initial value corresponds to a T time value, and the residual current detector detects when the timing generator controls the third switch tube SW3 to turn on T time. Residual current to inductor L, output Dcmp value to integrator, Dcmp The value reflects the direction of the residual current, or the direction and magnitude of the residual current of the Dcmp value.
- the integrator integrates the initial value of Dsgm and the received Dcmp value to obtain the latest Dsgm value, and outputs the Dsgm value to the timing generator.
- the timing generator determines a corresponding time value according to the received Dsgm value, and uses the time value as the value of the time T.
- the error detector, data processor, and divider form another negative feedback circuit for the digital output buffer.
- the error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the frequency divider based on the error value Err
- the frequency division multiple Fsel is sent to the frequency divider multiplier, and the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector, the integrator and the residual current. detector.
- the residual current detector and integrator are both triggered by the clock signal CLK.
- the negative feedback circuit consisting of error detector, data processor and frequency divider makes the digital output buffer save power and has strong anti-interference ability.
- the error detector 5 comprises an error operator 8 and a dynamic reference generator 9, the input of the dynamic reference generator 9 being electrically connected to the output of the integrator 2, the output of the dynamic reference generator 9 and the error
- the first input end of the arithmetic unit 8 is electrically connected
- the second input end of the error computing unit 8 is electrically connected to the output end of the integrator 2
- the output end of the error computing unit 8 is electrically connected to the input end of the data processor 6, and the error operation
- the clock signal input of the device 8 and the clock signal input of the dynamic reference generator 9 are electrically connected to the output of the frequency divider 7.
- Dynamic reference generator 9 based on input The characteristic of the Dsgm value extracts the reference signal information Dref, which reflects the time information of the current zero crossing on the inductor L, which is compared with the Dsgm value to generate an output error value Err.
- the present invention provides a digital output buffer control method suitable for the above-described digital output buffer, which comprises the following steps:
- step S1 the timing generator reads the input signal Din, when the input signal Din jumps from a low level to a high level, then step S2 is performed, when the input signal Din jumps from a high level to a low level, then step S4 is performed;
- the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
- the charge stored in the accumulator is supplied to the inductor L via the third switch SW3. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can be freely oscillated to VDD. In this process, the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
- the timing generator controls the first switch SW1 to be turned on, and controls the second switch SW2 and the third switch SW3 to be turned off;
- the power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, the voltage of the upper plate of the load capacitor CL reaches VDD, and the output port Dout outputs a high level.
- the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
- the charge on the load capacitor CL is recovered by the accumulator via the inductor L and the third switch SW3.
- the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
- the timing controller controls the second switch tube SW2 to be turned on, and controls the first switch tube SW1 and the third switch tube SW3 to be turned off;
- the upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
- the timing generator takes the time value corresponding to the Dsgm value of the newly received integrator output as the value of the time T, and the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to the Dsgm, the initial value corresponding to a time value That is, the time value is the initial value of the time T.
- the timing generator controls the third switch tube SW3 to turn on the T time, that is, when the third switch tube SW3 is turned off, the residual current detector detects the residual current in the inductor L.
- the Dcmp value is output to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current, and the integrator integrates the initial value of Dsgm and all received Dcmp values to obtain the latest Dsgm value, and The Dsgm value is output.
- the error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the frequency divider based on the error value Err
- the frequency division multiple Fsel is sent to the frequency divider multiplier, and the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector, the integrator and the residual current. detector.
- Fsel linearly adjusts the divider output frequency. Linear algorithm, the smaller the error Err corresponds to the smaller frequency divider output frequency, corresponding to the smaller circuit power consumption, but the slower the adjustment rate; the larger the error Err corresponds to the larger the frequency divider output frequency , corresponding to the larger circuit power consumption, but the faster the adjustment rate.
- the advantage is that the control is simple.
- the advantage of the exponential algorithm is that when the error
- the output of Fsel(Z) can be output to at least two states, which simplifies the design of the divider.
- the advantage of the algorithm using sigma-delta is that it can simplify the design of the frequency divider.
- quantization noise is introduced, but the sigma-delta algorithm itself can push the noise to the high frequency end, so that the power is coupled into the system through the substrate coupling. Noise near the signal frequency point is negligible.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Dc-Dc Converters (AREA)
Abstract
A digital output buffer and the control method therefor are disclosed. The digital output buffer includes a timing generator(1), an integrator(2), a residual current detector(3), an energy storage device(4), an inductor L, a load capacitor CL, a first transistor SW1, a second transistor SW2 and a third transistor SW3. The energy storage device(4), the inductor L, the load capacitor CL, the first transistor SW1, the second transistor SW2 and the third transistor SW3 constitute the main circuit of the digital output buffer, and the integrator(2) and the residual current detector(3) constitute the negative feedback circuit of the digital output buffer. Thereby, the power consumption of the digital output buffer can be effectively reduced.
Description
本发明涉及输出缓冲器技术领域,尤其涉及一种数字输出缓冲器及其控制方法。The present invention relates to the field of output buffer technologies, and in particular, to a digital output buffer and a control method thereof.
随着数字信号频率的上升,数字输出缓冲器对数据进行输出缓冲时需要消耗大量功率。因此,有必要设计一种降低功耗的数字输出缓冲器。As the frequency of the digital signal rises, the digital output buffer consumes a large amount of power when it buffers the output of the data. Therefore, it is necessary to design a digital output buffer that reduces power consumption.
中国专利公开号CN103269217,公开日2013年8月28日,发明的名称为输出缓冲器,该申请案公开了一种输出缓冲器,其包括第一与第二晶体管及自偏压电路,第一晶体管具有控制电极、耦接输出端的输入电极及输出电极,第二晶体管具有控制电极、耦接第一晶体管的输出电极的输入电极及耦接参考电压的输出电极,自偏压电路耦接输出端及第一晶体管的控制电极。其不足之处是,该输出缓冲器的功耗较大。Chinese Patent Publication No. CN103269217, published on August 28, 2013, the name of the invention is an output buffer, the application discloses an output buffer comprising first and second transistors and a self-biasing circuit, first The transistor has a control electrode, an input electrode coupled to the output end, and an output electrode, and the second transistor has a control electrode, an input electrode coupled to the output electrode of the first transistor, and an output electrode coupled to the reference voltage, and the self-bias circuit is coupled to the output end And a control electrode of the first transistor. The downside is that the output buffer consumes a lot of power.
发明内容Summary of the invention
本发明的目的是克服现有数字输出缓冲器功耗较大的技术问题,提供了一种能够降低功耗的数字输出缓冲器及其控制方法。The object of the present invention is to overcome the technical problem of large power consumption of the existing digital output buffer, and to provide a digital output buffer capable of reducing power consumption and a control method thereof.
为了解决上述问题,本发明采用以下技术方案予以实现:In order to solve the above problems, the present invention is implemented by the following technical solutions:
本发明提供了一种数字输出缓冲器,其包括时序产生器、积分器、残余电流探测器、储能器、电感L、负载电容CL、第一开关管SW1、第二开
关管SW2和第三开关管SW3,所述储能器一端接地,所述储能器另一端与第三开关管SW3的第一导通端电连接,所述第三开关管SW3的第二导通端与电感L一端电连接,所述电感L另一端与负载电容CL的上极板、第一开关管SW1的第一导通端和第二开关管SW2的第一导通端电连接,所述电容CL的下极板和第二开关管SW2的第二导通端都接地,所述第一开关管SW1的第二导通端与电源VDD电连接,所述第一开关管SW1的控制端、第二开关管SW2的控制端和第三开关管SW3的控制端分别与时序产生器电连接,所述残余电流探测器的两个检测端分别与第三开关管SW3的第一导通端和第二导通端电连接,所述残余电流探测器的输出端与积分器的输入端电连接,所述积分器的输出端与时序产生器的第二输入端电连接,所述时序产生器的第一输入端为数字输出缓冲器的信号输入端。The invention provides a digital output buffer comprising a timing generator, an integrator, a residual current detector, an energy storage device, an inductance L, a load capacitance CL, a first switching tube SW1, and a second opening
The switch SW2 and the third switch SW3 are connected to each other. The other end of the accumulator is electrically connected to the first conductive end of the third switch SW3, and the second switch is the second switch SW3. The conductive terminal is electrically connected to one end of the inductor L, and the other end of the inductor L is electrically connected to the upper plate of the load capacitor CL, the first conductive end of the first switch tube SW1, and the first conductive end of the second switch tube SW2. The second conductive terminal of the capacitor CL and the second conductive terminal of the second switching transistor SW2 are both grounded, and the second conductive terminal of the first switching transistor SW1 is electrically connected to the power supply VDD, and the first switching transistor SW1 The control terminal, the control terminal of the second switch SW2 and the control terminal of the third switch SW3 are respectively electrically connected to the timing generator, and the two detection ends of the residual current detector are respectively the first of the third switch SW3 The conductive end and the second conductive end are electrically connected, the output end of the residual current detector is electrically connected to the input end of the integrator, and the output end of the integrator is electrically connected to the second input end of the timing generator. The first input of the timing generator is the signal input of the digital output buffer.
在本技术方案中,储能器、电感L、负载电容CL、第一开关管SW1、第二开关管SW2和第三开关管SW3组成了数字输出缓冲器的主电路,其功能是通过控制第一开关管SW1、第二开关管SW2、第三开关管SW3来控制LC振荡把储能器上的电荷按照输入信号Din无损地搬到负载电容CL上,或者是把CL上的电荷按照输入信号Din无损地搬到储能器上,这样在输出口Dout可以实现从低电平到高电平的转换及从高电平到低电平的转换。储能器可以用电容或者电压源实现。第一开关管SW1及第二开关管SW2实现对数字输出口Dout的电平的加强,把Dout维持在低阻的高电平及低阻的低电平上。
In the technical solution, the energy storage device, the inductor L, the load capacitance CL, the first switch tube SW1, the second switch tube SW2 and the third switch tube SW3 constitute a main circuit of the digital output buffer, and its function is through the control A switch tube SW1, a second switch tube SW2, and a third switch tube SW3 are used to control the LC oscillation to carry the charge on the accumulator to the load capacitor CL according to the input signal Din, or to charge the charge on the CL according to the input signal. Din is moved to the accumulator without loss, so that the low-to-high transition and the high-to-low transition can be achieved at the output port Dout. The accumulator can be implemented with a capacitor or voltage source. The first switch tube SW1 and the second switch tube SW2 enhance the level of the digital output port Dout, and maintain Dout at a low level of low resistance and a low level of low resistance.
在输入信号Din从低电平跳变到高电平,再由高电平跳变到低电平的过程中,数字输出缓冲器工作分为T1、T2、T3和T4四个阶段,时序产生器控制第一开关管SW1、第二开关管SW2和第三开关管SW3工作。During the process of the input signal Din transitioning from a low level to a high level and then from a high level to a low level, the digital output buffer operates in four stages of T1, T2, T3, and T4, and timing generation occurs. The device controls the first switch tube SW1, the second switch tube SW2, and the third switch tube SW3 to operate.
当输入信号Din从低电平跳变到高电平时,进入T1区间,第三开关管SW3导通,第一开关管SW1和第二开关管SW2断开,储能器中储存的电荷经由第三开关管SW3提供给电感L,由于电感L与负载电容CL组成串联共振电路,负载电容CL由于共振而充入电压,其上极板的电压可以自由振荡到VDD。在T1区间,电感L中的电流从0开始往正向增大,到达峰值后,在负载电容CL上极板的电压振荡到最高点,电感L中电流又回到0。When the input signal Din transitions from a low level to a high level, the interval T1 is entered, the third switch tube SW3 is turned on, the first switch tube SW1 and the second switch tube SW2 are turned off, and the charge stored in the accumulator passes through the first The three-switching tube SW3 is supplied to the inductor L. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can freely oscillate to VDD. In the T1 interval, the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
接着进入T2区间,电感L中的电流回到0点,是T1区间的结束点,同时是T2区间的开始点。第一开关管SW1导通,第二开关管SW2和第三开关管SW3断开,电源VDD通过第一开关管SW1加强到负载电容CL的上极板,负载电容CL的上极板的电压达到VDD,输出口Dout输出高电平。Then enter the T2 interval, the current in the inductor L returns to 0, which is the end point of the T1 interval, and is the starting point of the T2 interval. The first switch SW1 is turned on, the second switch SW2 and the third switch SW3 are disconnected, and the power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, and the voltage of the upper plate of the load capacitor CL is reached. VDD, the output port Dout outputs a high level.
当输入信号Din从高电平跳变到低电平时,进入T3区间,第三开关管SW3导通,第一开关管SW1和第二开关管SW2断开。负载电容CL上的电荷经由电感L,第三开关管SW3被储能器回收。这一过程,负载电容CL上的电压从VDD自由振荡到0,电感L中的电流从0开始反向增大到最大点,然后又回到0。When the input signal Din transitions from a high level to a low level, the T3 interval is entered, the third switch tube SW3 is turned on, and the first switch tube SW1 and the second switch tube SW2 are turned off. The charge on the load capacitor CL passes through the inductor L, and the third switch SW3 is recovered by the accumulator. In this process, the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
接着进入T4区间,电感L中的电流回到0点,是T3区间的结束点,同时是T4区间的开始点。第二开关管SW2导通,第一开关管SW1和第三开关管SW3断开。负载电容CL上极板经由第二开关管SW2加强到GND,输出口Dout输出低电平。
Then enter the T4 interval, the current in the inductor L returns to 0, which is the end point of the T3 interval, and is the starting point of the T4 interval. The second switch SW2 is turned on, and the first switch SW1 and the third switch SW3 are turned off. The upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
积分器和残余电流探测器组成了数字输出缓冲器的负反馈电路。由于T1阶段和T3阶段需要在电感L中的电流恰好在0点时结束,从而降低功耗,避免电感L中残余电流高频振荡产生电路噪声。因此时序产生器控制T1阶段和T3阶段的持续时间很重要。The integrator and residual current detector form the negative feedback circuit of the digital output buffer. Since the current in the inductor L needs to end at the 0 point in the T1 phase and the T3 phase, the power consumption is reduced, and the circuit noise is generated by the high-frequency oscillation of the residual current in the inductor L. It is therefore important that the timing generator controls the duration of the T1 phase and the T3 phase.
T1阶段和T3阶段的持续时间相同,都为时间T。时序产生器将最新接收到的积分器输出的Dsgm值对应的时间值作为时间T的数值。积分器输出Dsgm值包括以下步骤:积分器预先给Dsgm设置一个初始值,该初始值对应一个T时间值,当时序产生器控制第三开关管SW3导通T时间结束时,残余电流探测器探测到电感L中的残余电流,输出Dcmp值到积分器,Dcmp值反应残余电流的方向,或者Dcmp值反应残余电流的方向及大小,积分器对Dsgm初始值和接收到的Dcmp值进行积分,得到最新的Dsgm值,并将该Dsgm值输出到时序产生器。时序产生器根据接收到的该Dsgm值确定对应的时间值,并将该时间值作为时间T的值。The durations of the T1 phase and the T3 phase are the same, both being time T. The timing generator takes the time value corresponding to the Dsgm value of the latest received integrator output as the value of the time T. The integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to Dsgm, the initial value corresponds to a T time value, and the residual current detector detects when the timing generator controls the third switch tube SW3 to turn on T time. To the residual current in the inductor L, output the Dcmp value to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current. The integrator integrates the initial value of Dsgm and the received Dcmp value to obtain The latest Dsgm value and output the Dsgm value to the timing generator. The timing generator determines a corresponding time value according to the received Dsgm value, and uses the time value as the value of the time T.
作为优选,所述一种数字输出缓冲器还包括误差探测器、数据处理器和分频器,所述积分器的输出端还与误差探测器的输入端电连接,所述误差探测器的输出端与数据处理器的输入端电连接,所述数据处理器的输出端与分频器的第二输出端电连接,所述分频器的第一输入端与时序产生器的第一输入端电连接,所述分频器的输出端与误差探测器的时钟信号输入端、积分器的时钟信号输入端和残余电流探测器的时钟信号输入端电连接。Advantageously, the digital output buffer further comprises an error detector, a data processor and a frequency divider, the output of the integrator being further electrically coupled to the input of the error detector, the output of the error detector The end is electrically connected to the input end of the data processor, the output end of the data processor is electrically connected to the second output end of the frequency divider, the first input end of the frequency divider and the first input end of the timing generator Electrically connected, the output of the frequency divider is electrically coupled to the clock signal input of the error detector, the clock signal input of the integrator, and the clock signal input of the residual current detector.
误差探测器、数据处理器和分频器组成了数字输出缓冲器的另一个负反馈电路。误差探测器接收积分器输出的Dsgm值,并计算出接收到的Dsgm值的误差值Err,误差探测器将误差值Err输入到数据处理器,数据处理器
根据误差值Err计算出分频器的分频倍数Fsel,并将分频倍数Fsel发送到分频器,分频器根据分频倍数Fsel对输入信号Din进行分频,输出对应频率的时钟信号CLK到误差探测器、积分器和残余电流探测器。残余电流探测器和积分器都是时钟信号CLK触发的。如果时钟信号CLK一直以最高频率工作,那么整个电路功耗较大,如果时钟信号CLK一直以最低频率工作,那么整个电路抗干扰能力弱,相应速度慢。误差探测器、数据处理器和分频器组成的负反馈电路使数字输出缓冲器即节省了功耗又有较强的抗干扰能力。The error detector, data processor, and divider form another negative feedback circuit for the digital output buffer. The error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, and the error detector inputs the error value Err to the data processor, the data processor
Calculating the frequency division multiple Fsel of the frequency divider according to the error value Err, and transmitting the frequency division multiple Fsel to the frequency divider, the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs a clock signal CLK corresponding to the frequency. To the error detector, integrator and residual current detector. The residual current detector and integrator are both triggered by the clock signal CLK. If the clock signal CLK is always operating at the highest frequency, then the entire circuit consumes a large amount of power. If the clock signal CLK is always operating at the lowest frequency, the overall circuit has weak anti-interference ability and the corresponding speed is slow. The negative feedback circuit consisting of error detector, data processor and frequency divider makes the digital output buffer save power and has strong anti-interference ability.
作为优选,所述储能器为电容或电压源。Preferably, the energy storage device is a capacitor or a voltage source.
本发明提供了一种数字输出缓冲器控制方法,其包括以下步骤:The present invention provides a digital output buffer control method comprising the following steps:
S1:时序产生器读取输入信号Din,当输入信号Din由低电平跳变至高电平时,则执行步骤S2,当输入信号Din由高电平跳变至低电平时,则执行步骤S4;S1: the timing generator reads the input signal Din, when the input signal Din jumps from a low level to a high level, then step S2 is performed, when the input signal Din jumps from a high level to a low level, then step S4 is performed;
S2:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;S2: the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
S3:T时间结束时,时序产生器控制第一开关管SW1导通,控制第二开关管SW2和第三开关管SW3断开;S3: At the end of the T time, the timing generator controls the first switch SW1 to be turned on, and controls the second switch SW2 and the third switch SW3 to be turned off;
S4:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;S4: The timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
S5:T时间结束时,时序控制器控制第二开关管SW2导通,控制第一开关管SW1和第三开关管SW3断开;
S5: At the end of the T time, the timing controller controls the second switch tube SW2 to be turned on, and controls the first switch tube SW1 and the third switch tube SW3 to be turned off;
时序产生器将最新接收到的积分器输出的Dsgm值对应的时间值作为时间T的数值,积分器输出Dsgm值包括以下步骤:积分器预先给Dsgm设置一个初始值,该初始值对应一个时间值,即该时间值为时间T的初始数值,当时序产生器控制第三开关管SW3导通T时间结束,即第三开关管SW3断开时,残余电流探测器探测到电感L中的残余电流,输出Dcmp值到积分器,Dcmp值反应残余电流的方向,或者Dcmp值反应残余电流的方向及大小,积分器对Dsgm初始值和所有接收到的Dcmp值进行积分,得到最新的Dsgm值,并将该Dsgm值输出。The timing generator takes the time value corresponding to the Dsgm value of the newly received integrator output as the value of the time T, and the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to the Dsgm, the initial value corresponding to a time value That is, the time value is the initial value of the time T. When the timing generator controls the third switch tube SW3 to turn on the T time, that is, when the third switch tube SW3 is turned off, the residual current detector detects the residual current in the inductor L. , the Dcmp value is output to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current, and the integrator integrates the initial value of Dsgm and all received Dcmp values to obtain the latest Dsgm value, and The Dsgm value is output.
作为优选,误差探测器接收积分器输出的Dsgm值,并计算出接收到的Dsgm值的误差值Err,误差探测器将误差值Err输入到数据处理器,数据处理器根据误差值Err计算出分频器的分频倍数Fsel,并将分频倍数Fsel发送到分频器,分频器根据分频倍数Fsel对输入信号Din进行分频,输出对应频率的时钟信号CLK到误差探测器、积分器和残余电流探测器。Preferably, the error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the score according to the error value Err. The frequency division multiple of the frequency converter Fsel, and the frequency division multiple Fsel is sent to the frequency divider, the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector and the integrator And residual current detectors.
作为优选,所述误差探测器计算出误差值Err的方法包括以下步骤:误差探测器将最近接收到的N个Dsgm值取平均,得到平均值Dref,接着根据公式Err=c*(Dsgm-Dref),c为常数,计算出误差值Err。Preferably, the method for calculating the error value Err by the error detector comprises the steps of: averaging the recently received N Dsgm values to obtain an average value Dref, and then according to the formula Err=c*(Dsgm-Dref ), c is a constant, and the error value Err is calculated.
作为优选,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器根据公式Fsel=Fsel0+a*|Err|,Fsel0是正的常数,a是正的系数,计算出分频倍数Fsel的值。Fsel线性调整分频器输出频率。线性算法,越小的误差Err对应着越小的分频器输出频率,对应着越小的电路功耗,但是其调整速率越慢;越大的误差Err对应着越大的分频器输出频率,对应着越大的电路功耗,但是其调整速率越快。其优点是控制简单。
Preferably, the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: the data processor according to the formula Fsel=Fsel0+a*|Err|, Fsel0 is a positive constant, a is a positive coefficient, and the frequency division multiple is calculated. The value of Fsel. Fsel linearly adjusts the divider output frequency. Linear algorithm, the smaller the error Err corresponds to the smaller frequency divider output frequency, corresponding to the smaller circuit power consumption, but the slower the adjustment rate; the larger the error Err corresponds to the larger the frequency divider output frequency , corresponding to the larger circuit power consumption, but the faster the adjustment rate. The advantage is that the control is simple.
作为优选,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器根据公式Fsel=Fsel0+b*e^|Err|,Fsel0是正的常数,b是正的系数,计算出分频倍数Fsel的值。指数算法的优点是在误差|Err|在较大范围内时,整个电路工作在很低频率,省功耗、安静;当误差较大后,快速增加Fsel,电路工作频率快速上升,电路的调整速率快速增加,同时电路消耗的功率快速增加。Preferably, the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: the data processor calculates a score according to the formula Fsel=Fsel0+b*e^|Err|, Fsel0 is a positive constant, and b is a positive coefficient. The value of the frequency multiple Fsel. The advantage of the exponential algorithm is that when the error |Err| is in a large range, the whole circuit works at a very low frequency, saving power and quiet; when the error is large, the Fsel is rapidly increased, the circuit operating frequency rises rapidly, and the circuit is adjusted. The rate increases rapidly while the power consumed by the circuit increases rapidly.
作为优选,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器采用sigma-delta算法,根据一阶Z域表达式:Fsel(Z)=Err(Z)+(1-1/Z)*E(Z),E(Z)为量化噪声,计算出分频倍数Fsel的值。Fsel(Z)的输出最少可以输出为两种状态,这样可以简化分频器的设计。算法采用sigma-delta的优点是可以简化分频器的设计,缺点是引入量化噪声,但是sigma-delta算法的本身可以把噪声推到高频端,这样通过衬底耦合,电源耦合到系统中的信号频率点附近的噪声可以忽略。Preferably, the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: the data processor adopts a sigma-delta algorithm according to a first-order Z-domain expression: Fsel(Z)=Err(Z)+(1- 1/Z) *E(Z), E(Z) is the quantization noise, and the value of the frequency division multiple Fsel is calculated. The output of Fsel(Z) can be output to at least two states, which simplifies the design of the divider. The advantage of the algorithm using sigma-delta is that it can simplify the design of the frequency divider. The disadvantage is that quantization noise is introduced, but the sigma-delta algorithm itself can push the noise to the high frequency end, so that the power is coupled into the system through the substrate coupling. Noise near the signal frequency point is negligible.
本发明的实质性效果是:有效降低了数字输出缓冲器的功耗,保证了数字输出缓冲器具有较强的抗干扰能力,同时避免电感L中残余电流高频振荡产生电路噪声。The substantial effect of the invention is that the power consumption of the digital output buffer is effectively reduced, and the digital output buffer has strong anti-interference ability, and the circuit noise of the residual current high-frequency oscillation in the inductor L is avoided.
图1是本发明的一种电路原理连接框图;1 is a block diagram of a circuit principle connection of the present invention;
图2是误差探测器的结构示意图;2 is a schematic structural view of an error detector;
图3是本发明的一种工作流程图;Figure 3 is a flow chart of the operation of the present invention;
图4是本发明的一个工作周期的控制信号时序图。
4 is a timing chart of control signals for one duty cycle of the present invention.
图中:1、时序产生器,2、积分器,3、残余电流探测器,4、储能器,5、误差探测器,6、数据处理器,7、分频器,8、误差运算器,9、动态参考生成器。In the figure: 1, timing generator, 2, integrator, 3, residual current detector, 4, energy storage, 5, error detector, 6, data processor, 7, frequency divider, 8, error operator 9, dynamic reference generator.
下面通过实施例,并结合附图,对本发明的技术方案作进一步具体的说明。The technical solutions of the present invention will be further specifically described below by way of embodiments and with reference to the accompanying drawings.
实施例:本发明提供了一种数字输出缓冲器,如图1所示,其包括时序产生器1、积分器2、残余电流探测器3、储能器4、误差探测器5、数据处理器6、分频器7、电感L、负载电容CL、第一开关管SW1、第二开关管SW2和第三开关管SW3,储能器4一端接地,储能器4另一端与第三开关管SW3的第一导通端电连接,第三开关管SW3的第二导通端与电感L一端电连接,电感L另一端与负载电容CL的上极板、第一开关管SW1的第一导通端和第二开关管SW2的第一导通端电连接,电容CL的下极板和第二开关管SW2的第二导通端都接地,第一开关管SW1的第二导通端与电源VDD电连接,第一开关管SW1的控制端、第二开关管SW2的控制端和第三开关管SW3的控制端分别与时序产生器1电连接,残余电流探测器3的两个检测端分别与第三开关管SW3的第一导通端和第二导通端电连接,残余电流探测器3的输出端与积分器2的输入端电连接,积分器2的输出端与时序产生器1的第二输入端和误差探测器5的输入端电连接,时序产生器1的第一输入端为数字输出缓冲器的信号输入端,误差探测器5的输出端与数据处理器6的输入端电连接,数据处理器6的输出端与分频器7
的第二输出端电连接,分频器7的第一输入端与时序产生器1的第一输入端电连接,分频器7的输出端与误差探测器5的时钟信号输入端、积分器2的时钟信号输入端和残余电流探测器3的时钟信号输入端电连接。Embodiments: The present invention provides a digital output buffer, as shown in FIG. 1, which includes a timing generator 1, an integrator 2, a residual current detector 3, an energy storage device 4, an error detector 5, and a data processor. 6. Frequency divider 7, inductor L, load capacitor CL, first switch tube SW1, second switch tube SW2 and third switch tube SW3, one end of the energy storage device 4 is grounded, the other end of the energy storage device 4 and the third switch tube The first conductive end of the SW3 is electrically connected, and the second conductive end of the third switch SW3 is electrically connected to one end of the inductor L. The other end of the inductor L and the upper plate of the load capacitor CL and the first guide of the first switch SW1 The first end of the second switch tube SW2 is electrically connected, the second end of the capacitor CL and the second end of the second switch SW2 are grounded, and the second end of the first switch SW1 is The power supply VDD is electrically connected, and the control end of the first switch SW1, the control end of the second switch SW2, and the control end of the third switch SW3 are electrically connected to the timing generator 1, respectively, and the two detecting ends of the residual current detector 3 Connected to the first conductive end and the second conductive end of the third switch SW3, respectively, and the output of the residual current detector 3 The terminal is electrically connected to the input of the integrator 2, the output of the integrator 2 is electrically connected to the second input of the timing generator 1 and the input of the error detector 5, and the first input of the timing generator 1 is a digital output. The signal input end of the buffer, the output of the error detector 5 is electrically connected to the input of the data processor 6, the output of the data processor 6 and the frequency divider 7
The second output terminal is electrically connected, the first input end of the frequency divider 7 is electrically connected to the first input end of the timing generator 1, the output end of the frequency divider 7 and the clock signal input end of the error detector 5, and the integrator The clock signal input terminal of 2 is electrically connected to the clock signal input terminal of the residual current detector 3.
储能器、电感L、负载电容CL、第一开关管SW1、第二开关管SW2和第三开关管SW3组成了数字输出缓冲器的主电路,其功能是通过控制第一开关管SW1、第二开关管SW2、第三开关管SW3来控制LC振荡把储能器上的电荷按照输入信号Din无损地搬到负载电容CL上,或者是把CL上的电荷按照输入信号Din无损地搬到储能器上,这样在输出口Dout可以实现从低电平到高电平的转换及从高电平到低电平的转换。储能器为电容。第一开关管SW1及第二开关管SW2实现对数字输出口Dout的电平的加强,把Dout维持在低阻的高电平及低阻的低电平上。The energy storage device, the inductor L, the load capacitor CL, the first switch tube SW1, the second switch tube SW2 and the third switch tube SW3 constitute a main circuit of the digital output buffer, and its function is to control the first switch tube SW1 The second switch tube SW2 and the third switch tube SW3 control the LC oscillation to carry the charge on the accumulator to the load capacitor CL non-destructively according to the input signal Din, or to transfer the charge on the CL to the storage signal Din without loss according to the input signal Din. On the energy device, the output from the low level to the high level and the high level to the low level can be realized at the output port Dout. The accumulator is a capacitor. The first switch tube SW1 and the second switch tube SW2 enhance the level of the digital output port Dout, and maintain Dout at a low level of low resistance and a low level of low resistance.
如图4所示,在输入信号Din从低电平跳变到高电平,再由高电平跳变到低电平的过程中,数字输出缓冲器工作分为T1、T2、T3和T4四个阶段,时序产生器控制第一开关管SW1、第二开关管SW2和第三开关管SW3工作。As shown in Figure 4, during the transition of the input signal Din from low to high, and then from high to low, the digital output buffer operates as T1, T2, T3, and T4. In four stages, the timing generator controls the first switching transistor SW1, the second switching transistor SW2, and the third switching transistor SW3 to operate.
当输入信号Din从低电平跳变到高电平时,进入T1区间,第三开关管SW3导通,第一开关管SW1和第二开关管SW2断开,储能器中储存的电荷经由第三开关管SW3提供给电感L,由于电感L与负载电容CL组成串联共振电路,负载电容CL由于共振而充入电压,其上极板的电压可以自由振荡到VDD。在T1区间,电感L中的电流从0开始往正向增大,到达峰值后,在负载电容CL上极板的电压振荡到最高点,电感L中电流又回到0。
When the input signal Din transitions from a low level to a high level, the interval T1 is entered, the third switch tube SW3 is turned on, the first switch tube SW1 and the second switch tube SW2 are turned off, and the charge stored in the accumulator passes through the first The three-switching tube SW3 is supplied to the inductor L. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can freely oscillate to VDD. In the T1 interval, the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
接着进入T2区间,电感L中的电流回到0点,是T1区间的结束点,同时是T2区间的开始点。第一开关管SW1导通,第二开关管SW2和第三开关管SW3断开,电源VDD通过第一开关管SW1加强到负载电容CL的上极板,负载电容CL的上极板的电压达到VDD,输出口Dout输出高电平。Then enter the T2 interval, the current in the inductor L returns to 0, which is the end point of the T1 interval, and is the starting point of the T2 interval. The first switch SW1 is turned on, the second switch SW2 and the third switch SW3 are disconnected, and the power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, and the voltage of the upper plate of the load capacitor CL is reached. VDD, the output port Dout outputs a high level.
当输入信号Din从高电平跳变到低电平时,进入T3区间,第三开关管SW3导通,第一开关管SW1和第二开关管SW2断开。负载电容CL上的电荷经由电感L、第三开关管SW3被储能器回收。这一过程,负载电容CL上的电压从VDD自由振荡到0,电感L中的电流从0开始反向增大到最大点,然后又回到0。When the input signal Din transitions from a high level to a low level, the T3 interval is entered, the third switch tube SW3 is turned on, and the first switch tube SW1 and the second switch tube SW2 are turned off. The charge on the load capacitor CL is recovered by the accumulator via the inductor L and the third switch SW3. In this process, the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
接着进入T4区间,电感L中的电流回到0点,是T3区间的结束点,同时是T4区间的开始点。第二开关管SW2导通,第一开关管SW1和第三开关管SW3断开。负载电容CL上极板经由第二开关管SW2加强到GND,输出口Dout输出低电平。Then enter the T4 interval, the current in the inductor L returns to 0, which is the end point of the T3 interval, and is the starting point of the T4 interval. The second switch SW2 is turned on, and the first switch SW1 and the third switch SW3 are turned off. The upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
积分器和残余电流探测器组成了数字输出缓冲器的负反馈电路。由于T1阶段和T3阶段需要在电感L中的电流恰好在0点时结束,从而降低功耗,避免电感L中残余电流高频振荡产生电路噪声。因此时序产生器控制T1阶段和T3阶段的持续时间很重要。The integrator and residual current detector form the negative feedback circuit of the digital output buffer. Since the current in the inductor L needs to end at the 0 point in the T1 phase and the T3 phase, the power consumption is reduced, and the circuit noise is generated by the high-frequency oscillation of the residual current in the inductor L. It is therefore important that the timing generator controls the duration of the T1 phase and the T3 phase.
T1阶段和T3阶段的持续时间相同,都为时间T。时序产生器将最新接收到的积分器输出的Dsgm值对应的时间值作为时间T的数值。积分器输出Dsgm值包括以下步骤:积分器预先给Dsgm设置一个初始值,该初始值对应一个T时间值,当时序产生器控制第三开关管SW3导通T时间结束时,残余电流探测器探测到电感L中的残余电流,输出Dcmp值到积分器,Dcmp
值反应残余电流的方向,或者Dcmp值反应残余电流的方向及大小,积分器对Dsgm初始值和接收到的Dcmp值进行积分,得到最新的Dsgm值,并将该Dsgm值输出到时序产生器。时序产生器根据接收到的该Dsgm值确定对应的时间值,并将该时间值作为时间T的值。The durations of the T1 phase and the T3 phase are the same, both being time T. The timing generator takes the time value corresponding to the Dsgm value of the latest received integrator output as the value of the time T. The integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to Dsgm, the initial value corresponds to a T time value, and the residual current detector detects when the timing generator controls the third switch tube SW3 to turn on T time. Residual current to inductor L, output Dcmp value to integrator, Dcmp
The value reflects the direction of the residual current, or the direction and magnitude of the residual current of the Dcmp value. The integrator integrates the initial value of Dsgm and the received Dcmp value to obtain the latest Dsgm value, and outputs the Dsgm value to the timing generator. The timing generator determines a corresponding time value according to the received Dsgm value, and uses the time value as the value of the time T.
误差探测器、数据处理器和分频器组成了数字输出缓冲器的另一个负反馈电路。误差探测器接收积分器输出的Dsgm值,并计算出接收到的Dsgm值的误差值Err,误差探测器将误差值Err输入到数据处理器,数据处理器根据误差值Err计算出分频器的分频倍数Fsel,并将分频倍数Fsel发送到分频器,分频器根据分频倍数Fsel对输入信号Din进行分频,输出对应频率的时钟信号CLK到误差探测器、积分器和残余电流探测器。残余电流探测器和积分器都是时钟信号CLK触发的。如果时钟信号CLK一直以最高频率工作,那么整个电路功耗较大,如果时钟信号CLK一直以最低频率工作,那么整个电路抗干扰能力弱,相应速度慢。误差探测器、数据处理器和分频器组成的负反馈电路使数字输出缓冲器即节省了功耗又有较强的抗干扰能力。The error detector, data processor, and divider form another negative feedback circuit for the digital output buffer. The error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the frequency divider based on the error value Err The frequency division multiple Fsel is sent to the frequency divider multiplier, and the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector, the integrator and the residual current. detector. The residual current detector and integrator are both triggered by the clock signal CLK. If the clock signal CLK is always operating at the highest frequency, then the entire circuit consumes a large amount of power. If the clock signal CLK is always operating at the lowest frequency, the overall circuit has weak anti-interference ability and the corresponding speed is slow. The negative feedback circuit consisting of error detector, data processor and frequency divider makes the digital output buffer save power and has strong anti-interference ability.
如图2所示,误差探测器5包括误差运算器8和动态参考生成器9,动态参考生成器9的输入端与积分器2的输出端电连接,动态参考生成器9的输出端与误差运算器8的第一输入端电连接,误差运算器8的第二输入端与积分器2的输出端电连接,误差运算器8的输出端与数据处理器6的输入端电连接,误差运算器8的时钟信号输入端和动态参考生成器9的时钟信号输入端与分频器7的输出端电连接。动态参考生成器9根据输入
Dsgm值的特性,提取出参考信号信息Dref,此参考信号Dref反映电感L上电流过零的时间信息,其与Dsgm值比较产生输出误差值Err。As shown in FIG. 2, the error detector 5 comprises an error operator 8 and a dynamic reference generator 9, the input of the dynamic reference generator 9 being electrically connected to the output of the integrator 2, the output of the dynamic reference generator 9 and the error The first input end of the arithmetic unit 8 is electrically connected, the second input end of the error computing unit 8 is electrically connected to the output end of the integrator 2, and the output end of the error computing unit 8 is electrically connected to the input end of the data processor 6, and the error operation The clock signal input of the device 8 and the clock signal input of the dynamic reference generator 9 are electrically connected to the output of the frequency divider 7. Dynamic reference generator 9 based on input
The characteristic of the Dsgm value extracts the reference signal information Dref, which reflects the time information of the current zero crossing on the inductor L, which is compared with the Dsgm value to generate an output error value Err.
本发明提供了一种数字输出缓冲器控制方法,适用于上述的一种数字输出缓冲器,其包括以下步骤:The present invention provides a digital output buffer control method suitable for the above-described digital output buffer, which comprises the following steps:
S1:时序产生器读取输入信号Din,当输入信号Din由低电平跳变至高电平时,则执行步骤S2,当输入信号Din由高电平跳变至低电平时,则执行步骤S4;S1: the timing generator reads the input signal Din, when the input signal Din jumps from a low level to a high level, then step S2 is performed, when the input signal Din jumps from a high level to a low level, then step S4 is performed;
S2:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;S2: the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
储能器中储存的电荷经由第三开关管SW3提供给电感L,由于电感L与负载电容CL组成串联共振电路,负载电容CL由于共振而充入电压,其上极板的电压可以自由振荡到VDD。这一过程,电感L中的电流从0开始往正向增大,到达峰值后,在负载电容CL上极板的电压振荡到最高点,电感L中电流又回到0。The charge stored in the accumulator is supplied to the inductor L via the third switch SW3. Since the inductor L and the load capacitor CL form a series resonant circuit, the load capacitor CL is charged with a voltage due to resonance, and the voltage of the upper plate can be freely oscillated to VDD. In this process, the current in the inductor L increases from 0 to the positive direction. After reaching the peak value, the voltage of the plate on the load capacitor CL oscillates to the highest point, and the current in the inductor L returns to zero.
S3:T时间结束时,时序产生器控制第一开关管SW1导通,控制第二开关管SW2和第三开关管SW3断开;S3: At the end of the T time, the timing generator controls the first switch SW1 to be turned on, and controls the second switch SW2 and the third switch SW3 to be turned off;
电源VDD通过第一开关管SW1加强到负载电容CL的上极板,负载电容CL的上极板的电压达到VDD,输出口Dout输出高电平。The power supply VDD is boosted to the upper plate of the load capacitor CL through the first switch SW1, the voltage of the upper plate of the load capacitor CL reaches VDD, and the output port Dout outputs a high level.
S4:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;
S4: The timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;
负载电容CL上的电荷经由电感L、第三开关管SW3被储能器回收。这一过程,负载电容CL上的电压从VDD自由振荡到0,电感L中的电流从0开始反向增大到最大点,然后又回到0。The charge on the load capacitor CL is recovered by the accumulator via the inductor L and the third switch SW3. In this process, the voltage on the load capacitor CL oscillates freely from VDD to 0, and the current in the inductor L increases from 0 to the maximum point and then returns to 0.
S5:T时间结束时,时序控制器控制第二开关管SW2导通,控制第一开关管SW1和第三开关管SW3断开;S5: At the end of the T time, the timing controller controls the second switch tube SW2 to be turned on, and controls the first switch tube SW1 and the third switch tube SW3 to be turned off;
负载电容CL上极板经由第二开关管SW2加强到GND,输出口Dout输出低电平。The upper plate of the load capacitor CL is reinforced to GND via the second switch SW2, and the output port Dout outputs a low level.
时序产生器将最新接收到的积分器输出的Dsgm值对应的时间值作为时间T的数值,积分器输出Dsgm值包括以下步骤:积分器预先给Dsgm设置一个初始值,该初始值对应一个时间值,即该时间值为时间T的初始数值,当时序产生器控制第三开关管SW3导通T时间结束,即第三开关管SW3断开时,残余电流探测器探测到电感L中的残余电流,输出Dcmp值到积分器,Dcmp值反应残余电流的方向,或者Dcmp值反应残余电流的方向及大小,积分器对Dsgm初始值和所有接收到的Dcmp值进行积分,得到最新的Dsgm值,并将该Dsgm值输出。The timing generator takes the time value corresponding to the Dsgm value of the newly received integrator output as the value of the time T, and the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to the Dsgm, the initial value corresponding to a time value That is, the time value is the initial value of the time T. When the timing generator controls the third switch tube SW3 to turn on the T time, that is, when the third switch tube SW3 is turned off, the residual current detector detects the residual current in the inductor L. , the Dcmp value is output to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the direction and magnitude of the residual current, and the integrator integrates the initial value of Dsgm and all received Dcmp values to obtain the latest Dsgm value, and The Dsgm value is output.
误差探测器接收积分器输出的Dsgm值,并计算出接收到的Dsgm值的误差值Err,误差探测器将误差值Err输入到数据处理器,数据处理器根据误差值Err计算出分频器的分频倍数Fsel,并将分频倍数Fsel发送到分频器,分频器根据分频倍数Fsel对输入信号Din进行分频,输出对应频率的时钟信号CLK到误差探测器、积分器和残余电流探测器。The error detector receives the Dsgm value of the integrator output, and calculates the error value Err of the received Dsgm value, the error detector inputs the error value Err to the data processor, and the data processor calculates the frequency divider based on the error value Err The frequency division multiple Fsel is sent to the frequency divider multiplier, and the frequency divider divides the input signal Din according to the frequency division multiple Fsel, and outputs the clock signal CLK corresponding to the frequency to the error detector, the integrator and the residual current. detector.
数字输出缓冲器的工作流程,如图3所示。
The workflow of the digital output buffer is shown in Figure 3.
误差探测器计算出误差值Err的方法包括以下步骤:误差探测器将最近接收到的N个Dsgm值取平均,得到平均值Dref,接着根据公式Err=c*(Dsgm-Dref),c为常数,计算出误差值Err。The error detector calculates the error value Err by the following steps: the error detector averages the recently received N Dsgm values to obtain an average value Dref, and then according to the formula Err=c*(Dsgm-Dref), c is a constant , the error value Err is calculated.
数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器根据公式Fsel=Fsel0+a*|Err|,Fsel0是正的常数,a是正的系数,计算出分频倍数Fsel的值。Fsel线性调整分频器输出频率。线性算法,越小的误差Err对应着越小的分频器输出频率,对应着越小的电路功耗,但是其调整速率越慢;越大的误差Err对应着越大的分频器输出频率,对应着越大的电路功耗,但是其调整速率越快。其优点是控制简单。The method for calculating the frequency division multiple Fsel by the data processor includes the following steps: the data processor calculates the value of the frequency division multiple Fsel according to the formula Fsel=Fsel0+a*|Err|, Fsel0 is a positive constant, and a is a positive coefficient. Fsel linearly adjusts the divider output frequency. Linear algorithm, the smaller the error Err corresponds to the smaller frequency divider output frequency, corresponding to the smaller circuit power consumption, but the slower the adjustment rate; the larger the error Err corresponds to the larger the frequency divider output frequency , corresponding to the larger circuit power consumption, but the faster the adjustment rate. The advantage is that the control is simple.
数据处理器计算出分频倍数Fsel的方法也可通过以下步骤实现:数据处理器根据公式Fsel=Fsel0+b*e^|Err|,Fsel0是正的常数,b是正的系数,计算出分频倍数Fsel的值。指数算法的优点是在误差|Err|在较大范围内时,整个电路工作在很低频率省功耗,安静;当误差较大后,快速增加Fsel,电路工作频率快速上升,电路的调整速率快速增加,同时电路消耗的功率快速增加。The data processor calculates the frequency division multiple Fsel by the following steps: the data processor according to the formula Fsel=Fsel0+b*e^|Err|, Fsel0 is a positive constant, b is a positive coefficient, and the frequency division multiple is calculated. The value of Fsel. The advantage of the exponential algorithm is that when the error |Err| is in a large range, the whole circuit works at a very low frequency to save power and is quiet; when the error is large, the Fsel is rapidly increased, the circuit operating frequency rises rapidly, and the circuit adjustment rate The increase is fast, and the power consumed by the circuit increases rapidly.
数据处理器计算出分频倍数Fsel的方法还可通过以下步骤实现:数据处理器采用sigma-delta算法,根据一阶Z域表达式:Fsel(Z)=Err(Z)+(1-1/Z)*E(Z),E(Z)为量化噪声,计算出分频倍数Fsel的值。Fsel(Z)的输出最少可以输出为两种状态,这样可以简化分频器的设计。算法采用sigma-delta的优点是可以简化分频器的设计,缺点是引入量化噪声,但是sigma-delta算法的本身可以把噪声推到高频端,这样通过衬底耦合,电源耦合到系统中的信号频率点附近的噪声可以忽略。
The method of calculating the frequency division multiple Fsel by the data processor can also be implemented by the following steps: the data processor adopts the sigma-delta algorithm according to the first-order Z-domain expression: Fsel(Z)=Err(Z)+(1-1/ Z)*E(Z), E(Z) is the quantization noise, and the value of the frequency division multiple Fsel is calculated. The output of Fsel(Z) can be output to at least two states, which simplifies the design of the divider. The advantage of the algorithm using sigma-delta is that it can simplify the design of the frequency divider. The disadvantage is that quantization noise is introduced, but the sigma-delta algorithm itself can push the noise to the high frequency end, so that the power is coupled into the system through the substrate coupling. Noise near the signal frequency point is negligible.
Claims (9)
- 一种数字输出缓冲器,其特征在于,其包括时序产生器(1)、积分器(2)、残余电流探测器(3)、储能器(4)、电感L、负载电容CL、第一开关管SW1、第二开关管SW2和第三开关管SW3,所述储能器(4)一端接地,所述储能器(4)另一端与第三开关管SW3的第一导通端电连接,所述第三开关管SW3的第二导通端与电感L一端电连接,所述电感L另一端与负载电容CL的上极板、第一开关管SW1的第一导通端和第二开关管SW2的第一导通端电连接,所述电容CL的下极板和第二开关管SW2的第二导通端都接地,所述第一开关管SW1的第二导通端与电源VDD电连接,所述第一开关管SW1的控制端、第二开关管SW2的控制端和第三开关管SW3的控制端分别与时序产生器(1)电连接,所述残余电流探测器(3)的两个检测端分别与第三开关管SW3的第一导通端和第二导通端电连接,所述残余电流探测器(3)的输出端与积分器(2)的输入端电连接,所述积分器(2)的输出端与时序产生器(1)的第二输入端电连接,所述时序产生器(1)的第一输入端为数字输出缓冲器的信号输入端。A digital output buffer, comprising: a timing generator (1), an integrator (2), a residual current detector (3), an energy storage device (4), an inductance L, a load capacitance CL, a first The switch tube SW1, the second switch tube SW2 and the third switch tube SW3, one end of the energy storage device (4) is grounded, and the other end of the energy storage device (4) is electrically connected to the first conductive end of the third switch tube SW3. The second conductive end of the third switch SW3 is electrically connected to one end of the inductor L. The other end of the inductor L is connected to the upper plate of the load capacitor CL, the first conductive end of the first switch SW1, and the first end. The first conductive end of the second switch SW2 is electrically connected, the lower end of the capacitor CL and the second conductive end of the second switch SW2 are grounded, and the second conductive end of the first switch SW1 is The power supply VDD is electrically connected, and the control end of the first switch tube SW1, the control end of the second switch tube SW2, and the control end of the third switch tube SW3 are electrically connected to the timing generator (1), respectively, and the residual current detector The two detecting ends of (3) are respectively electrically connected to the first conducting end and the second conducting end of the third switching tube SW3, and the output end of the residual current detector (3) is The input of the divider (2) is electrically connected, the output of the integrator (2) is electrically connected to the second input of the timing generator (1), and the first input of the timing generator (1) is The signal input of the digital output buffer.
- 根据权利要求1所述的一种数字输出缓冲器,其特征在于,其还包括误差探测器(5)、数据处理器(6)和分频器(7),所述积分器(2)的输出端还与误差探测器(5)的输入端电连接,所述误差探测器(5)的输出端与数据处理器(6)的输入端电连接,所述数据处理器(6)的输出端与分频器(7)的第二输出端电连接,所述分频器(7)的第一输入端与时序产生器(1)的第一输入端电连接,所述分频器(2)的输出端与误差 探测器(5)的时钟信号输入端、积分器(2)的时钟信号输入端和残余电流探测器(3)的时钟信号输入端电连接。A digital output buffer according to claim 1, further comprising an error detector (5), a data processor (6) and a frequency divider (7), said integrator (2) The output is also electrically connected to the input of the error detector (5), the output of which is electrically connected to the input of the data processor (6), the output of the data processor (6) The terminal is electrically connected to the second output of the frequency divider (7), and the first input of the frequency divider (7) is electrically connected to the first input of the timing generator (1), the frequency divider ( 2) output and error The clock signal input end of the detector (5), the clock signal input end of the integrator (2) and the clock signal input end of the residual current detector (3) are electrically connected.
- 根据权利要求1或2所述的一种数字输出缓冲器,其特征在于,所述储能器(4)为电容或电压源。A digital output buffer according to claim 1 or 2, characterized in that the energy store (4) is a capacitor or a voltage source.
- 一种数字输出缓冲器控制方法,其特征在于,其包括以下步骤:A digital output buffer control method, characterized in that it comprises the following steps:S1:时序产生器读取输入信号Din,当输入信号Din由低电平跳变至高电平时,则执行步骤S2,当输入信号Din由高电平跳变至低电平时,则执行步骤S4;S1: the timing generator reads the input signal Din, when the input signal Din jumps from a low level to a high level, then step S2 is performed, when the input signal Din jumps from a high level to a low level, then step S4 is performed;S2:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;S2: the timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;S3:T时间结束时,时序产生器控制第一开关管SW1导通,控制第二开关管SW2和第三开关管SW3断开;S3: At the end of the T time, the timing generator controls the first switch SW1 to be turned on, and controls the second switch SW2 and the third switch SW3 to be turned off;S4:时序产生器控制第三开关管SW3导通T时间,控制第一开关管SW1和第二开关管SW2断开T时间;S4: The timing generator controls the third switch tube SW3 to be turned on for T time, and controls the first switch tube SW1 and the second switch tube SW2 to be turned off for T time;S5:T时间结束时,时序控制器控制第二开关管SW2导通,控制第一开关管SW1和第三开关管SW3断开;S5: At the end of the T time, the timing controller controls the second switch tube SW2 to be turned on, and controls the first switch tube SW1 and the third switch tube SW3 to be turned off;时序产生器将最新接收到的积分器输出的Dsgm值对应的时间值作为时间T的数值,积分器输出Dsgm值包括以下步骤:积分器预先给Dsgm设置一个初始值,该初始值对应一个时间值,即该时间值为时间T的初始数值,当时序产生器控制第三开关管SW3导通T时间结束,即第三开关管SW3断开时,残余电流探测器探测到电感L中的残余电流,输出Dcmp值到积分器,Dcmp值反应残余电流的方向,或者Dcmp值反应残余电流的方 向及大小,积分器对Dsgm初始值和所有接收到的Dcmp值进行积分,得到最新的Dsgm值,并将该Dsgm值输出。The timing generator takes the time value corresponding to the Dsgm value of the newly received integrator output as the value of the time T, and the integrator output Dsgm value includes the following steps: the integrator pre-sets an initial value to the Dsgm, the initial value corresponding to a time value That is, the time value is the initial value of the time T. When the timing generator controls the third switch tube SW3 to turn on the T time, that is, when the third switch tube SW3 is turned off, the residual current detector detects the residual current in the inductor L. , output the Dcmp value to the integrator, the Dcmp value reflects the direction of the residual current, or the Dcmp value reflects the residual current. Towards and size, the integrator integrates the initial value of Dsgm and all received Dcmp values to obtain the latest Dsgm value, and outputs the Dsgm value.
- 根据权利要求4所述的一种数字输出缓冲器控制方法,其特征在于,其还包括以下步骤:误差探测器接收积分器输出的Dsgm值,并计算出接收到的Dsgm值的误差值Err,误差探测器将误差值Err输入到数据处理器,数据处理器根据误差值Err计算出分频器的分频倍数Fsel,并将分频倍数Fsel发送到分频器,分频器根据分频倍数Fsel对输入信号Din进行分频,输出对应频率的时钟信号CLK到误差探测器、积分器和残余电流探测器。A digital output buffer control method according to claim 4, further comprising the steps of: the error detector receiving the Dsgm value of the integrator output, and calculating the error value Err of the received Dsgm value, The error detector inputs the error value Err to the data processor, and the data processor calculates the frequency division multiple Fsel of the frequency divider according to the error value Err, and sends the frequency division multiple Fsel to the frequency divider, and the frequency divider is divided according to the frequency division multiple. Fsel divides the input signal Din and outputs a clock signal CLK corresponding to the frequency to the error detector, the integrator, and the residual current detector.
- 根据权利要求5所述的一种数字输出缓冲器控制方法,其特征在于,所述误差探测器计算出误差值Err的方法包括以下步骤:误差探测器将最近接收到的N个Dsgm值取平均,得到平均值Dref,接着根据公式Err=c*(Dsgm-Dref),c为常数,计算出误差值Err。A digital output buffer control method according to claim 5, wherein said error detector calculates a value of error value Err comprising the steps of: averaging the most recently received N Dsgm values by the error detector The average value Dref is obtained, and then the error value Err is calculated according to the formula Err=c*(Dsgm-Dref), and c is a constant.
- 根据权利要求5或6所述的一种数字输出缓冲器控制方法,其特征在于,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器根据公式Fsel=Fsel0+a*|Err|,Fsel0是正的常数,a是正的系数,计算出分频倍数Fsel的值。A digital output buffer control method according to claim 5 or 6, wherein the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: the data processor according to the formula Fsel=Fsel0+a* |Err|, Fsel0 is a positive constant, a is a positive coefficient, and the value of the frequency division multiple Fsel is calculated.
- 根据权利要求5或6所述的一种数字输出缓冲器控制方法,其特征在于,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处理器根据公式Fsel=Fsel0+b*e^|Err|,Fsel0是正的常数,b是正的系数,计算出分频倍数Fsel的值。A digital output buffer control method according to claim 5 or 6, wherein the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: the data processor according to the formula Fsel=Fsel0+b* e^|Err|, Fsel0 is a positive constant, b is a positive coefficient, and the value of the frequency division multiple Fsel is calculated.
- 根据权利要求5或6所述的一种数字输出缓冲器控制方法,其特征在于,所述数据处理器计算出分频倍数Fsel的方法包括以下步骤:数据处 理器采用sigma-delta算法,根据一阶Z域表达式:Fsel(Z)=Err(Z)+(1-1/Z)*E(Z),E(Z)为量化噪声,计算出分频倍数Fsel的值。 A digital output buffer control method according to claim 5 or 6, wherein the method for calculating the frequency division multiple Fsel by the data processor comprises the following steps: The processor uses the sigma-delta algorithm to calculate the score according to the first-order Z-domain expression: Fsel(Z)=Err(Z)+(1-1/Z)*E(Z), E(Z) is the quantization noise. The value of the frequency multiple Fsel.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410314231.XA CN104320122B (en) | 2014-07-03 | 2014-07-03 | Digital output buffer and control method thereof |
CN201410314231.X | 2014-07-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016000654A1 true WO2016000654A1 (en) | 2016-01-07 |
Family
ID=52375319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/083257 WO2016000654A1 (en) | 2014-07-03 | 2015-07-03 | Digital output buffer and control method therefor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104320122B (en) |
WO (1) | WO2016000654A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104320122B (en) * | 2014-07-03 | 2017-04-26 | 杭州硅星科技有限公司 | Digital output buffer and control method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047378A (en) * | 2006-03-29 | 2007-10-03 | 川崎微电子股份有限公司 | Output buffer circuit and system including the output buffer circuit |
CN101453207A (en) * | 2007-12-06 | 2009-06-10 | 奇景光电股份有限公司 | output buffer |
CN102811050A (en) * | 2012-08-01 | 2012-12-05 | 华为技术有限公司 | A buffer and digital step attenuator |
CN103269217A (en) * | 2013-01-21 | 2013-08-28 | 威盛电子股份有限公司 | output buffer |
CN104320122A (en) * | 2014-07-03 | 2015-01-28 | 杭州硅星科技有限公司 | Digital output buffer and control method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3792207B2 (en) * | 2003-03-25 | 2006-07-05 | 沖電気工業株式会社 | Current-driven differential driver and data transmission method using current-driven differential driver |
-
2014
- 2014-07-03 CN CN201410314231.XA patent/CN104320122B/en active Active
-
2015
- 2015-07-03 WO PCT/CN2015/083257 patent/WO2016000654A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047378A (en) * | 2006-03-29 | 2007-10-03 | 川崎微电子股份有限公司 | Output buffer circuit and system including the output buffer circuit |
CN101453207A (en) * | 2007-12-06 | 2009-06-10 | 奇景光电股份有限公司 | output buffer |
CN102811050A (en) * | 2012-08-01 | 2012-12-05 | 华为技术有限公司 | A buffer and digital step attenuator |
CN103269217A (en) * | 2013-01-21 | 2013-08-28 | 威盛电子股份有限公司 | output buffer |
CN104320122A (en) * | 2014-07-03 | 2015-01-28 | 杭州硅星科技有限公司 | Digital output buffer and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104320122B (en) | 2017-04-26 |
CN104320122A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995236B (en) | A kind of control system of LLC converter synchronous rectifier tube | |
TWI438602B (en) | Maximum power point tracking controllers, maximum power point tracking systems and maximum power point tracking methods | |
CN103269161B (en) | Constant-current output BUCK power circuit | |
US10374506B1 (en) | Adaptive control method for zero voltage switching | |
TWI462442B (en) | Control circuit for power converter and related control method | |
WO2016019908A1 (en) | Quick-start digital output buffer and control method therefor | |
CN105991034A (en) | Power conversion device with power-saving and high conversion efficiency mechanism | |
CN102664532B (en) | Method and device for controlling a resonant power converter | |
JP2006101663A (en) | Switching regulator | |
CN104753337A (en) | Power factor correction circuit | |
CN103929048B (en) | A kind of zero cross detection circuit of Switching Power Supply | |
CN106972646A (en) | Pulse energy injection type wireless electric energy transmission device | |
TWI608693B (en) | Voltage detection method and circuit and switching power supply with voltage detection circuit | |
CN109546875B (en) | Switching power supply, switching power supply control circuit and control method | |
CN119210182B (en) | Totem pole circuit control method, totem pole circuit and electronic device | |
WO2016000654A1 (en) | Digital output buffer and control method therefor | |
CN203951440U (en) | Crystal oscillator | |
CN114400886A (en) | Frequency conversion self-adaptive dead time totem pole PFC control method | |
CN103391046B (en) | Inductor Capacitor Voltage Controlled Oscillator Circuit | |
CN102437734B (en) | Control circuit and method for feedback terminal with adjustable function of power converter | |
CN201956901U (en) | Power factor correction control circuit | |
WO2012100435A1 (en) | Wireless electrical power transmission system and its control method | |
CN110460165B (en) | A wireless charging transmitter and control method thereof | |
CN103475221B (en) | The boost chopper that two metal-oxide-semiconductor no-voltage is opened is realized under discontinuous conduct mode | |
CN114567189A (en) | Self-adaptive synchronous rectification control circuit and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15814595 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15814595 Country of ref document: EP Kind code of ref document: A1 |