WO2019061077A1 - Pulse width modification circuit, pulse width modification method, and electronic apparatus - Google Patents

Pulse width modification circuit, pulse width modification method, and electronic apparatus Download PDF

Info

Publication number
WO2019061077A1
WO2019061077A1 PCT/CN2017/103686 CN2017103686W WO2019061077A1 WO 2019061077 A1 WO2019061077 A1 WO 2019061077A1 CN 2017103686 W CN2017103686 W CN 2017103686W WO 2019061077 A1 WO2019061077 A1 WO 2019061077A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock signal
pulse width
control parameter
delay control
signal
Prior art date
Application number
PCT/CN2017/103686
Other languages
French (fr)
Chinese (zh)
Inventor
张孟文
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to CN201780001259.XA priority Critical patent/CN107820678B/en
Priority to PCT/CN2017/103686 priority patent/WO2019061077A1/en
Publication of WO2019061077A1 publication Critical patent/WO2019061077A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/04Shaping pulses by increasing duration; by decreasing duration
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K2005/00013Delay, i.e. output pulse is delayed after input pulse and pulse length of output pulse is dependent on pulse length of input pulse

Definitions

  • the present application relates to signal processing technologies, and in particular, to a pulse width correction circuit, a pulse width correction method, and an electronic device.
  • Quartz crystal oscillator also known as quartz resonator, referred to as crystal oscillator, is made of quartz crystal sheet with piezoelectric effect. This quartz crystal flake generates mechanical vibration when subjected to an applied alternating electric field. When the frequency of the alternating electric field is the same as the natural frequency of the quartz crystal, the vibration becomes very strong, which is the reaction of the crystal resonance characteristic.
  • Quartz crystal oscillator is a high-precision and high-stability oscillator, which is widely used in various types of oscillation circuits such as color TVs, computers, remote controllers, etc., and for frequency generators in communication systems to generate clock signals for data processing equipment. .
  • the quartz crystal oscillator can provide the original clock signal for the digital clock, and its output is usually a sine wave or a signal in the form of an approximate sine wave, but the signal of the digital clock is a signal in the form of a rectangular wave, so in order to send the original clock signal to the digital When the clock is used, it is necessary to form a sine wave into a rectangular wave.
  • the digital clock has certain requirements on the pulse width of the clock signal, and in the process of forming a sinusoidal wave into a rectangular wave, it is difficult to control the pulse width, especially In the case of low noise requirements while providing a certain noise margin, the control of the pulse width becomes more difficult. Therefore, how to make the pulse width of the clock signal meet the requirements of the digital clock has become an urgent problem to be solved.
  • the present application provides a pulse width correction circuit, a pulse width correction method, and an electronic device to solve the problem that the pulse width of the clock signal received by the existing digital clock cannot meet the requirements.
  • a pulse width correction circuit including:
  • a delay module configured to delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal
  • a logic operation module configured to logic the input clock signal and the delayed clock signal Performing an operation to correct a pulse width of the input clock signal to obtain an output clock signal
  • a feedback module configured to determine the delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to the delay module.
  • the feedback module is further configured to determine a relationship between a pulse width of the output clock signal and a target pulse width, and generate a decision power according to a relationship between a pulse width of the output clock signal and a target pulse width. And determining a delay control parameter based on the determined electrical signal and feeding back the delay control parameter to the delay module.
  • the feedback module includes:
  • a determining unit configured to generate a decision electrical signal according to an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width;
  • a registering unit configured to determine a delay control parameter according to the determined electrical signal, and feed back the delay control parameter to the delay module.
  • the determining unit is a comparator, and the comparator is configured to compare an electrical signal proportional to a pulse width of the output clock signal with a reference electrical signal and determine a decision electrical signal.
  • the register unit is a successive approximation register, and the successive approximation register is configured to modify the latched delay control parameter in a successive approximation manner according to the decision electrical signal, and the modified delay control parameter Feedback to the delay module.
  • the feedback module further includes: a pulse width detecting unit, configured to detect a pulse width of the output clock signal, and acquire an electrical signal proportional to a pulse width of the output clock signal.
  • a pulse width detecting unit configured to detect a pulse width of the output clock signal, and acquire an electrical signal proportional to a pulse width of the output clock signal.
  • the registering unit is further configured to: when determining that a pulse width of the output clock signal reaches a target pulse width, output an end signal to the pulse width detecting unit and/or the determining unit;
  • the pulse width detecting unit is further configured to: close the self circuit after receiving the end signal;
  • the determining unit is further configured to close the circuit after receiving the end signal.
  • the logic operation module is further configured to perform a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain the output clock signal.
  • the delay module includes m-channel n-stage delay units, and the m-channel n-stage delay units are sequentially connected in series, and the m-channel n-stage delay unit is configured to input the clock signal according to the delay control parameter.
  • the m-channel n-stage delay processing is performed to obtain an m-channel delayed clock signal; wherein the m and the n are integers greater than or equal to 1.
  • the circuit further includes: a frequency dividing module, configured to perform frequency division processing on the input clock signal to obtain a frequency division clock signal;
  • the feedback module is further configured to: when the high level of the divided clock signal arrives, according to The pulse width of the output clock signal and the target pulse width determine a delay control parameter and feed back the delay control parameter to the delay module.
  • an electronic device including a pulse width correction circuit as described above.
  • a pulse width correction method including:
  • the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter includes:
  • Determining a relationship between a pulse width of the output clock signal and a target pulse width generating a decision electrical signal according to a relationship between a pulse width of the output clock signal and a target pulse width, and determining a delay control according to the determined electrical signal Parameters and feedback the delay control parameters.
  • the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter includes:
  • the step of generating a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal comprises:
  • An electrical signal proportional to the pulse width of the output clock signal is compared to a reference electrical signal and a decision electrical signal is determined.
  • the step of determining a delay control parameter according to the decision electrical signal and feeding back the delay control parameter includes:
  • the latched delay control parameter is corrected in a successive approximation according to the decision electrical signal, and the corrected delay control parameter is fed back.
  • the method before the step of generating the determining electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal, the method further includes:
  • the step of determining the delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter further includes:
  • the operation of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal is stopped.
  • the step of performing logic operation on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal includes:
  • the step of delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal includes:
  • the method further includes: performing frequency division processing on the input clock signal to obtain a frequency division clock signal;
  • Determining the delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter comprising: when the high level of the divided clock signal arrives, according to the The pulse width of the clock signal and the target pulse width are output, the delay control parameter is determined, and the delay control parameter is fed back.
  • the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal, so that the pulse width of the output clock signal is obtained after the correction. Finally reach the target pulse width. Therefore, the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
  • FIG. 1 is a structural block diagram of a pulse width correction circuit according to Embodiment 1 of the present application.
  • FIG. 2 is a structural block diagram of a pulse width correction circuit according to Embodiment 2 of the present application.
  • FIG. 3 is a schematic structural diagram of a pulse width correction circuit according to Embodiment 3 of the present application.
  • FIG. 4 is a circuit diagram of an n-stage delay unit according to Embodiment 3 of the present application.
  • FIG. 5 is a circuit diagram of a logic operation module according to Embodiment 3 of the present application.
  • FIG. 6 is a schematic diagram of logical OR operation of an input clock signal and a delayed clock signal according to Embodiment 3 of the present application;
  • FIG. 7 is a schematic diagram of logically ANDing an input clock signal and a delayed clock signal according to Embodiment 3 of the present application;
  • FIG. 8 is a circuit diagram of a pulse width detecting unit according to Embodiment 3 of the present application.
  • FIG. 9 is a schematic diagram of a correction process for correcting a pulse width of an input clock signal from less than 50% to 50% according to Embodiment 3 of the present application;
  • FIG. 10 is a flow chart of steps of a pulse width correction method according to Embodiment 4 of the present application.
  • FIG. 11 is a flow chart of steps of a pulse width correction method according to Embodiment 5 of the present application.
  • Embodiments of the present application can be applied to a shaping circuit after a quartz crystal oscillator.
  • a quartz crystal oscillator produces an original clock signal that is shaped by a shaping circuit to form a rectangular wave signal from a sinusoidal signal.
  • the pulse width correction circuit in order to solve the problem that the pulse width of the rectangular wave signal obtained by the shaping cannot meet the requirement, after the original clock signal is formed into a rectangular wave signal, the pulse width correction circuit further performs pulse width on the rectangular wave signal. Corrections such as widening or narrowing to achieve the desired pulse width.
  • FIG. 1 a block diagram of a pulse width correction circuit according to a first embodiment of the present application is shown.
  • the delay module 101 is configured to perform delay processing on the input clock signal according to the delay control parameter to obtain a delayed clock signal.
  • the delay control parameter may include a time delay in delay processing of the input clock signal, the delay control parameter being determined by the feedback module described below and fed back to the delay module.
  • the input clock signal is derived from a signal obtained by shaping a sine wave signal generated by a quartz crystal oscillator, which may be a rectangular wave signal.
  • the input clock signal (that is, the rectangular wave signal described above) is input to the delay module, and the delay clock is used to delay the input clock signal, and the delay processing causes the high level delay of the input clock signal to appear for a period of time, and the delay processing is obtained.
  • Delaying the clock signal the length of the delay indicates the presence of a high level, the longer the delay time, the later the high level appears. Conversely, the shorter the delay time, the earlier the high level appears, and the length of the delay.
  • the pulse width of the input clock signal is related to the difference between the target pulse widths.
  • the reason why the input clock signal is subjected to delay processing is to correct the pulse width of the input clock signal by logically calculating the input clock signal and other clock signals whose clock phases are different from the input clock signal. And by delay processing the input clock signal, other clock signals whose clock phase is different from the input clock signal can be obtained.
  • the delay module is, for example, a circuit structure constructed by a plurality of delay subunits.
  • the logic operation module 102 is configured to perform logic operations on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal.
  • the pulse width of the clock signal changes. Therefore, the input clock signal and the delayed clock signal are logically operated to obtain an output clock signal, and the output clock signal is low-voltage due to a logic operation, and a part of the input clock signal is turned into a low level. Flat, or part of the low level will become high level, so the pulse width of the input clock signal is corrected by the logic operation process, and the output clock signal is obtained by performing pulse width correction on the input clock signal for this time. signal.
  • the logical operations are, for example, logical OR or logical AND.
  • the logic module is, for example, a circuit structure constructed by a NAND gate.
  • the feedback module 103 is configured to determine a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to the delay module.
  • the output clock signal is obtained, and then the feedback module determines the delay control parameter according to the relationship between the pulse width of the output clock signal and the target pulse width, so that the delay module and the logic operation module continue to perform the input clock signal.
  • the pulse width is corrected until the pulse width of the output clock signal reaches the target pulse width.
  • the relationship between the pulse width of the output clock signal and the target pulse width can be expressed by the difference between the two, for example, when the difference between the pulse width of the output clock signal and the target pulse width is larger, the delay control parameter includes The greater the delay time, the more the difference between the pulse width of the output clock signal and the target pulse width The delay time included in the delay control parameter is smaller.
  • the feedback module is, for example, a circuit structure constructed by a pulse width detecting circuit, a comparator, and a register.
  • the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated, thereby correcting the pulse width of the input clock signal, so as to obtain the output clock signal after the correction.
  • the pulse width eventually reaches the target pulse width. Therefore, the embodiment of the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
  • FIG. 2 a block diagram of a pulse width correction circuit according to a second embodiment of the present application is shown.
  • the delay module 201 is configured to delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
  • the delay control parameter includes how long the delay needs to be obtained, and the delay control parameter is obtained by a feedback module described later, which will be specifically introduced in the following feedback module.
  • the delay module delays the input clock signal by the time indicated by the delay control parameter to obtain a delayed clock signal.
  • the related description of the delay processing is similar to the first embodiment.
  • the logic operation module 202 is configured to perform logic operations on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal.
  • the logic operation module 202 is further configured to perform a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain an output clock signal. For example, in a specific application scenario, by logically ANDing the input clock signal and the delayed clock signal, a low level is obtained by logically ANDing the low level and the high level, so that part of the input clock signal is high.
  • Leveling to a low level, thereby narrowing the pulse width of the input clock signal for example, in another specific application scenario, by logically ORing the input clock signal with the delayed clock signal, due to low level and high power
  • a logic OR operation is performed to obtain a high level, so that a portion of the low level of the input clock signal becomes a high level, thereby achieving widening of the pulse width of the input clock signal.
  • the logic operation module may be determined according to the operation control parameter, and the operation control parameter is used to indicate which logic operation is performed, and the operation control parameter is obtained by the feedback module described later, which will be specifically in the subsequent feedback module. Introduction.
  • the feedback module 203 is configured to determine a relationship between a pulse width of the output clock signal and a target pulse width, and a root A decision electrical signal is generated according to a relationship between a pulse width of the output clock signal and a target pulse width, a delay control parameter is determined according to the determined electrical signal, and the delay control parameter is fed back to the delay module.
  • the feedback module 203 may include the following units:
  • the pulse width detecting unit 2031 is configured to detect a pulse width of the output clock signal and acquire an electrical signal proportional to a pulse width of the output clock signal.
  • the determining unit 2032 is configured to generate a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width.
  • decision unit 2032 is a comparator for comparing an electrical signal proportional to the pulse width of the output clock signal with a reference electrical signal to determine a decision electrical signal.
  • the pulse width and the target pulse width of the output clock signal are respectively converted into electrical signals related thereto, that is, as described above.
  • the pulse width of the output clock signal is converted into an electrical signal proportional to it, the target pulse width is converted into a reference electrical signal, and then the comparison between the electrical signals is performed, and the process is simpler.
  • the registering unit 2033 is configured to determine a delay control parameter according to the determined electrical signal, and feed back the delay control parameter to the delay module.
  • the register unit 2033 is a successive approximation register for correcting the latched delay control parameter in a successive approximation according to the decision electrical signal, and feeding back the modified delay control parameter to the delay.
  • a delay control parameter is latched in the successive approximation register, the delay control parameter includes a plurality of binary bits, and the successive approximation register receives the decision electrical signal outputted by the decision unit, and the decision electrical signal is before the latched The clocked decision electrical signals are compared.
  • the successive approximation register looks up the binary bit of 1 from the latched delay control parameter and sets the next binary bit of the found binary bit to 1; If the two are different, the successive approximation register looks for a binary bit of 1 from the latched delay control parameter, finds the binary position as 0, and sets the next binary bit of the found binary bit to 1; The successive approximation register does not latch the decision electrical signal after receiving the decision electrical signal output by the decision unit, and directly sets the highest position of the delay control parameter to 1.
  • the feedback module 203 is further configured to determine an operation control parameter according to a pulse width of the output clock signal of the first clock cycle and a target pulse width, and feed back the operation control parameter to the logic operation module.
  • the decision electrical signal is generated according to the pulse width of the output clock signal of the first clock cycle and the target pulse width
  • the operational control parameter is determined according to the determined electrical signal
  • the operational control parameter is fed back to the logical operation module.
  • the operational control parameter indication if the decision electrical signal indicates that the electrical signal proportional to the pulse width of the output clock signal is less than the reference electrical signal, determining the operational control parameter indication to perform a logical OR An operation; if the decision electrical signal indicates that the electrical signal proportional to the pulse width of the output clock signal is greater than the reference electrical signal, determining that the operational control parameter indicates a logical AND operation.
  • the register unit 2033 is further configured to output an end signal to the pulse width detecting unit and/or the determining unit when determining that the pulse width of the output clock signal reaches the target pulse width.
  • “and/or” means that only the end signal can be output to the pulse width detecting unit, or only the end signal can be output to the decision unit, and the end signal can be output to the pulse width detecting unit and the decision unit.
  • the registering unit may determine whether the pulse width of the output clock signal reaches the target pulse width according to the latched delay control parameter, and the delay control parameter includes a plurality of binary bits. When each binary bit is corrected, the pulse of the output clock signal may be determined. The width reaches the target pulse width.
  • the pulse width detecting unit 2031 is further configured to turn off the self circuit after receiving the end signal.
  • the determining unit 2032 is further configured to close the circuit after receiving the end signal.
  • the functions of the pulse width detecting unit and the determining unit need not be performed, so that at least one of the pulse width detecting unit and the determining unit can be turned off, thereby further saving the embodiment of the present application.
  • the power consumption of the pulse width correction circuit is not limited to
  • the pulse width correction circuit of the embodiment of the present application further includes: a frequency dividing module 204, configured to perform frequency division processing on the input clock signal to obtain a frequency-divided clock signal; and a feedback module, further used to divide the frequency
  • a frequency dividing module 204 configured to perform frequency division processing on the input clock signal to obtain a frequency-divided clock signal
  • a feedback module further used to divide the frequency
  • the frequency dividing module may be added, and the input clock signal is input to the frequency dividing module, and the frequency dividing module divides the input clock signal according to the set frequency dividing coefficient, and the obtained frequency dividing frequency is obtained.
  • the clock signal is output to a feedback module, which is used to indicate when the feedback module performs related operations.
  • the frequency division coefficient For the setting of the frequency division coefficient, those skilled in the art can set any suitable value according to the actual situation of the response speed of the pulse width detecting unit. For example, if the response speed of the pulse width detecting unit is slow, the frequency dividing coefficient is set. If the response speed of the pulse width detecting unit is fast, the frequency dividing coefficient is set to be small. The specific value is not limited in the embodiment of the present application.
  • the embodiment of the present application can correct the pulse width of the input clock signal to the required pulse width according to the requirements of the digital clock, and the correction is easier to control and more accurate. Moreover, the power consumption of the circuit can be further reduced by turning off part of the circuit after the correction is completed.
  • FIG. 3 a schematic structural diagram of a pulse width correction circuit according to Embodiment 3 of the present application is shown.
  • the delay module 301 includes an m-channel n-stage delay unit (n-stage delay unit 1-n-stage delay unit m), and the m-channel n-stage delay unit is configured to perform m-path on the input clock signal (A0) according to the delay control parameter.
  • the stage delay processing results in an m-way delayed clock signal (A1-Am).
  • the m-channel n-stage delay units are connected in series, and the input clock signal is input to the first-stage n-stage delay unit 1, and the output of the first-stage n-stage delay unit 1 is input to the second-channel n-stage delay unit 2, and the second path
  • the output of the n-stage delay unit 2 is input to the third-stage n-stage delay unit 3, and so on, and each of the n-stage delay units delays the respective inputs in accordance with the delay control parameters.
  • m and n are integers greater than or equal to 1.
  • m and n a person skilled in the art can set any suitable value according to the actual situation, and the larger the m and n is, the more accurate the correction result is.
  • the specific numerical values of m and n are not limited.
  • the n-stage delay unit includes n clock buffers (CB0-CBn-1), n capacitors (C0-Cn-1), and n switches (S0-Sn-1), n capacitors (C0-Cn-1) All are connected to a logic 0 level, a clock buffer and a capacitor form an RC circuit, each RC circuit is connected in series, and each RC circuit is controlled by a corresponding switch, wherein the B[0] control switch S0 of the successive approximation register , B[1] controls switch S1, and so on, and B[n-1] controls switch Sn-1.
  • the input clock signal is input from the clock buffer CB0, and the delayed clock signal is output from the clock buffer CBn-1.
  • the delay of each level may be set to increase by a factor of two.
  • the logic operation module 302 is configured to perform logic operations on the input clock signal A0 and the m-channel delay clock signal (A1-Am) according to the operation control parameter to perform pulse width correction on the input clock signal to obtain an output clock signal Y.
  • the logic operation module includes two AND gates (AND gate 1 and AND gate 2) and two OR gates (or gate 1 and OR gate 2), input clock signal A0 and m way delay clock signal A1-Am as AND gate 1 and
  • the input of the OR gate 1, the output of the OR gate 1 and the operational control parameter S as the input of the AND gate 2, the output of the AND gate 1 and the output of the AND gate 2 as the input of the OR gate 2, or the output of the OR gate 2 is the output clock signal Y.
  • FIG. 6 a schematic diagram of logically ORing an input clock signal and a delayed clock signal according to Embodiment 3 of the present application is shown.
  • t is the delay time
  • S 1
  • Y A0
  • the input clock signal A0 and the delayed clock signal A1-A3 are logically ORed, and the obtained output clock signal Y
  • the pulse width is wider than the input clock signal A0.
  • FIG. 7 a schematic diagram of logically ANDing an input clock signal and a delayed clock signal is shown in Embodiment 3 of the present application.
  • t is the delay time
  • S 0
  • Y A0&A1&A2&A3
  • the input clock signal A0 and the delayed clock signal A1-A3 are logically ANDed
  • the obtained output clock signal Y is narrower than the pulse width of the input clock signal A0. .
  • the pulse width detecting unit 303 is configured to detect a pulse width of the output clock signal Y and acquire a voltage Vpw proportional to a pulse width of the output clock signal.
  • the pulse width detecting unit includes a clock buffer CB, a resistor R and a capacitor C.
  • the pulse width detecting unit is equivalent to a low pass filter, and the input clock signal is used as an input of the clock buffer CB, and the output of the clock buffer CB and the resistor R are One end is connected, the other end of the resistor R is connected to one end of the capacitor C, the other end of the capacitor C is connected to a logic 0 level, and the voltage Vpw is outputted between the resistor R and the capacitor C.
  • the embodiment of the present application can set the time constant of the clock buffer CB to be much longer than (at least 10 times more) the period of the input clock signal.
  • the voltage comparator 304 is configured to compare the voltage Vpw proportional to the pulse width of the output clock signal with the reference voltage Vr to determine the decision voltage Vcp.
  • the n+1 bit successive approximation register 305 is configured to modify the latched delay control parameter in a successive approximation according to the decision voltage Vcp, and feed back the modified delay control parameter to the delay module. And determining the operation control parameter S according to the decision voltage of the first clock cycle, and feeding back the operation control parameter S to the logic operation module.
  • the output parameter of the n+1 bit successive approximation register includes n+1 binary bits (B[n:0]), wherein the successive approximation register outputs the highest bit B[n] as an operation control parameter to the logic operation module, and other bits B[n-1:0] is output as a delay control parameter to the n-stage delay unit.
  • B[n:0] binary bits
  • the successive approximation register outputs the highest bit B[n] as an operation control parameter to the logic operation module
  • other bits B[n-1:0] is output as a delay control parameter to the n-stage delay unit.
  • the frequency divider 306 is configured to perform frequency division processing on the input clock signal according to the set frequency division coefficient, and output the obtained frequency division clock signal to the n+1 bit successive approximation register. When the high level of the divided clock signal arrives, the n+1 bit successive approximation register is instructed to begin the corresponding operation.
  • the divider The physical circuit structure, any suitable structure can be set by a person skilled in the art according to the actual situation, and the embodiments of the present application are not described in detail herein.
  • Set the delay time of 1-3 steps to 1td, 2td, 4td, td is the unit delay time
  • the logic level is 0, and the division ratio of the divider is set to 1 (no division), and the pulse width detection module can be established in one clock cycle.
  • FIG. 9 a schematic diagram of a correction process for correcting the pulse width of the input clock signal from less than 50% to 50% is shown in the third embodiment of the present application.
  • the output of the successive approximation register is all 0, all switches in the n-stage delay unit are turned on, and the m-channel n-stage delay unit has no delay.
  • the successive approximation register sets the second highest bit B[2], then B[3:0] is the 4-bit binary 4'b1100, so the delay of A1-A3 is 4td.
  • 8td, 12td, A0-A4 are performed or operated such that the pulse width of the output clock signal Y is wider than the input clock signal A0. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto.
  • the successive approximation register sets B[2] to 0 and B[1] to 1, then B[3:0] is 4-bit binary 4'b1010, so A1- The delay of A3 is 2td, 4td, 6td, and A0-A4 is performed or operated. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto.
  • the successive approximation register sets B[1] to 0, which will be B[0].
  • B[3:0] is a 4-bit binary 4'b1001, so the delays of A1-A3 are 1td, 2td, 3td, respectively, and A0-A4 is ORed. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto.
  • the embodiment of the present application provides a new circuit structure, which implements correction of the pulse width of the input clock signal according to the requirement of the digital clock, and delays the input clock signal by the multi-channel multi-stage delay unit, so that the correction is more accurate. .
  • Embodiments of the present application can automatically and accurately correct the pulse width to an expected value with little increase in power consumption.
  • an embodiment of the present application further provides an electronic device including the pulse width correction circuit described in the foregoing embodiment.
  • the electronic device obtains a delayed clock signal by delay processing the input clock signal, and performs a logic operation on the input clock signal and the delayed clock signal to correct the pulse width of the input clock signal, so that the pulse of the output clock signal is obtained after the correction.
  • the width eventually reaches the target pulse width. Therefore, the pulse width correction process can obtain clock signals of various pulse widths, thereby meeting the requirements of the digital clock on the signal pulse width in various situations.
  • FIG. 10 a flow chart of steps of a pulse width correction method according to Embodiment 4 of the present application is shown.
  • Step 1001 delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
  • step 1002 the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal to obtain an output clock signal.
  • Step 1003 Determine a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter.
  • the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated, thereby correcting the pulse width of the input clock signal, so as to obtain the output clock signal after the correction.
  • the pulse width eventually reaches the target pulse width. Therefore, The embodiment of the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
  • FIG. 11 a flow chart of steps of a pulse width correction method according to Embodiment 5 of the present application is shown.
  • Step 1101 delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
  • step 1101 includes performing m-way n-stage delay processing on the input clock signal according to the delay control parameter to obtain an m-channel delayed clock signal.
  • step 1102 the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal to obtain an output clock signal.
  • step 1102 includes performing a logical AND or logical OR operation on the input clock signal and the delayed clock signal to obtain an output clock signal.
  • Step 1103 performing frequency division processing on the input clock signal to obtain a frequency division clock signal.
  • Step 1104 When the high level of the divided clock signal arrives, the delay control parameter is determined according to the pulse width of the output clock signal and the target pulse width, and the delay control parameter is fed back.
  • step 1104 described below refers to a process of determining a delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter.
  • the step 1104 specifically includes: determining a relationship between a pulse width of the output clock signal and a target pulse width, and generating a decision electrical signal according to a relationship between a pulse width of the output clock signal and a target pulse width, and The delay control parameter is determined according to the determined electrical signal, and the delay control parameter is fed back.
  • step 1104 includes: detecting a pulse width of the output clock signal, acquiring an electrical signal proportional to a pulse width of the output clock signal; and calculating an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal And generating a decision electrical signal; wherein the reference electrical signal is determined according to the target pulse width; determining the delay control parameter according to the determined electrical signal, and feeding back the delay control parameter.
  • the step of generating a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal specifically includes: comparing the electrical signal proportional to the pulse width of the output clock signal with the reference electrical signal, Determine the decision electrical signal.
  • the step of determining the delay control parameter according to the determined electrical signal and feeding back the delay control parameter comprises: correcting the latched delay control parameter in a successive approximation according to the determined electrical signal, and feeding back the corrected delay control parameter.
  • step 1104 further includes: determining that the pulse width of the output clock signal arrives When the target pulse width is output, the end signal is output; after receiving the end signal, the execution of detecting the pulse width of the output clock signal is performed, and an operation of obtaining an electrical signal proportional to the pulse width of the output clock signal is performed; and/or, at the end of the reception After the signal, the operation of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal is stopped.
  • the embodiment of the present application can correct the pulse width of the input clock signal to the required pulse width according to the requirements of the digital clock, and the correction is easier to control and more accurate. Moreover, the power consumption of the circuit can be further reduced by turning off part of the circuit after the correction is completed.
  • the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located A place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , an infrared signal, a digital signal, etc., etc., the computer software product comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the embodiments described Methods.
  • ROM read only memory
  • RAM random access memory
  • magnetic disk storage media e.g., magnetic disks, magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , an infrared signal, a digital signal, etc., etc.
  • the computer software product comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the embodiment

Abstract

A pulse width modification circuit, pulse width modification method, and electronic apparatus, configured to solve an existing problem in which a pulse width of a clock signal received by a digital clock does not meet a requirement. The pulse width modification circuit comprises: a delay module (101) configured to perform delay processing on an input clock signal according to a delay control parameter, so as to obtain a delayed clock signal; a logical operation module (102) configured to perform a logical operation on the input clock signal and the delayed clock signal to modify a pulse width of the input clock signal, so as to obtain an output clock signal; and a feedback module (103) configured to determine, according to a pulse width and a target pulse width of the output clock signal, the delay control parameter, and to feed the delay control parameter back to the delay module. A clock signal having various pulse widths can be automatically obtained by means of the above-described pulse width modification process, thus meeting signal pulse width requirements of a digital clock in different situations.

Description

脉宽修正电路、脉宽修正方法及电子设备Pulse width correction circuit, pulse width correction method and electronic device 技术领域Technical field
本申请涉及信号处理技术,尤其涉及一种脉宽修正电路、脉宽修正方法及电子设备。The present application relates to signal processing technologies, and in particular, to a pulse width correction circuit, a pulse width correction method, and an electronic device.
背景技术Background technique
石英晶体振荡器又名石英谐振器,简称晶振,是利用具有压电效应的石英晶体薄片制成的。这种石英晶体薄片受到外加交变电场的作用时会产生机械振动,当交变电场的频率与石英晶体的固有频率相同时,振动便变得很强烈,这就是晶体谐振特性的反应。Quartz crystal oscillator, also known as quartz resonator, referred to as crystal oscillator, is made of quartz crystal sheet with piezoelectric effect. This quartz crystal flake generates mechanical vibration when subjected to an applied alternating electric field. When the frequency of the alternating electric field is the same as the natural frequency of the quartz crystal, the vibration becomes very strong, which is the reaction of the crystal resonance characteristic.
石英晶体振荡器是高精度和高稳定度的振荡器,其被广泛应用于彩电、计算机、遥控器等各类振荡电路中,以及通信系统中用于频率发生器、为数据处理设备产生时钟信号。石英晶体振荡器可以为数字时钟提供原始时钟信号,其输出通常是正弦波或者是近似正弦波形式的信号,但是数字时钟的信号是矩形波形式的信号,因此为了将该原始时钟信号送给数字时钟使用,需要将正弦波整形成矩形波。Quartz crystal oscillator is a high-precision and high-stability oscillator, which is widely used in various types of oscillation circuits such as color TVs, computers, remote controllers, etc., and for frequency generators in communication systems to generate clock signals for data processing equipment. . The quartz crystal oscillator can provide the original clock signal for the digital clock, and its output is usually a sine wave or a signal in the form of an approximate sine wave, but the signal of the digital clock is a signal in the form of a rectangular wave, so in order to send the original clock signal to the digital When the clock is used, it is necessary to form a sine wave into a rectangular wave.
但是,在一些高频(几十MHz)应用中,数字时钟对时钟信号的脉宽有一定的要求,而在将正弦波整形成矩形波的过程中,很难控制脉宽的大小,特别是在低功耗需求的同时还要提供一定噪声容限的情况下,脉宽的控制变得更加困难。因此,如何能够使时钟信号的脉宽满足数字时钟的要求成为亟待解决的一个问题。However, in some high frequency (tens of MHz) applications, the digital clock has certain requirements on the pulse width of the clock signal, and in the process of forming a sinusoidal wave into a rectangular wave, it is difficult to control the pulse width, especially In the case of low noise requirements while providing a certain noise margin, the control of the pulse width becomes more difficult. Therefore, how to make the pulse width of the clock signal meet the requirements of the digital clock has become an urgent problem to be solved.
发明内容Summary of the invention
本申请提供一种脉宽修正电路、脉宽修正方法及电子设备,以解决现有数字时钟接收到的时钟信号的脉宽无法满足要求的问题。The present application provides a pulse width correction circuit, a pulse width correction method, and an electronic device to solve the problem that the pulse width of the clock signal received by the existing digital clock cannot meet the requirements.
根据本申请的一个方面,提供了一种脉宽修正电路,包括:According to an aspect of the present application, a pulse width correction circuit is provided, including:
延迟模块,用于依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号;a delay module, configured to delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal;
逻辑运算模块,用于将所述输入时钟信号与所述延迟时钟信号进行逻辑 运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号;a logic operation module, configured to logic the input clock signal and the delayed clock signal Performing an operation to correct a pulse width of the input clock signal to obtain an output clock signal;
反馈模块,用于依据所述输出时钟信号的脉宽及目标脉宽,确定所述延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。And a feedback module, configured to determine the delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to the delay module.
可选地,所述反馈模块,进一步用于判决所述输出时钟信号的脉宽与目标脉宽之间的关系,根据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,并根据所述判决电信号确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。Optionally, the feedback module is further configured to determine a relationship between a pulse width of the output clock signal and a target pulse width, and generate a decision power according to a relationship between a pulse width of the output clock signal and a target pulse width. And determining a delay control parameter based on the determined electrical signal and feeding back the delay control parameter to the delay module.
可选地,所述反馈模块包括:Optionally, the feedback module includes:
判决单元,用于根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中所述参考电信号依据所述目标脉宽确定;a determining unit, configured to generate a decision electrical signal according to an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width;
寄存单元,用于根据所述判决电信号确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。And a registering unit, configured to determine a delay control parameter according to the determined electrical signal, and feed back the delay control parameter to the delay module.
可选地,所述判决单元为比较器,所述比较器用于将与所述输出时钟信号的脉宽成正比的电信号与参考电信号进行比较并确定判决电信号。Optionally, the determining unit is a comparator, and the comparator is configured to compare an electrical signal proportional to a pulse width of the output clock signal with a reference electrical signal and determine a decision electrical signal.
可选地,所述寄存单元为逐次逼近寄存器,所述逐次逼近寄存器用于根据所述判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并将修正后的所述延迟控制参数反馈至所述延迟模块。Optionally, the register unit is a successive approximation register, and the successive approximation register is configured to modify the latched delay control parameter in a successive approximation manner according to the decision electrical signal, and the modified delay control parameter Feedback to the delay module.
可选地,所述反馈模块还包括:脉宽检测单元,用于检测所述输出时钟信号的脉宽,以及获取与所述输出时钟信号的脉宽成正比的电信号。Optionally, the feedback module further includes: a pulse width detecting unit, configured to detect a pulse width of the output clock signal, and acquire an electrical signal proportional to a pulse width of the output clock signal.
可选地,所述寄存单元,还用于在判定所述输出时钟信号的脉宽到达目标脉宽时,输出结束信号至所述脉宽检测单元和/或所述判决单元;Optionally, the registering unit is further configured to: when determining that a pulse width of the output clock signal reaches a target pulse width, output an end signal to the pulse width detecting unit and/or the determining unit;
所述脉宽检测单元,还用于在接收到所述结束信号后,关闭自身电路;The pulse width detecting unit is further configured to: close the self circuit after receiving the end signal;
所述判决单元,还用于在接收到所述结束信号后,关闭自身电路。The determining unit is further configured to close the circuit after receiving the end signal.
可选地,所述逻辑运算模块,进一步用于将所述输入时钟信号与所述延迟时钟信号进行逻辑与运算或者逻辑或运算,以得到所述输出时钟信号。Optionally, the logic operation module is further configured to perform a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain the output clock signal.
可选地,所述延迟模块包括m路n级延迟单元,所述m路n级延迟单元依次串联,所述m路n级延迟单元,用于依据所述延迟控制参数对所述输入时钟信号进行m路n级延迟处理,得到m路延迟时钟信号;其中,所述m和所述n均为大于或等于1的整数。Optionally, the delay module includes m-channel n-stage delay units, and the m-channel n-stage delay units are sequentially connected in series, and the m-channel n-stage delay unit is configured to input the clock signal according to the delay control parameter. The m-channel n-stage delay processing is performed to obtain an m-channel delayed clock signal; wherein the m and the n are integers greater than or equal to 1.
可选地,所述电路还包括:分频模块,用于对所述输入时钟信号进行分频处理,得到分频时钟信号;Optionally, the circuit further includes: a frequency dividing module, configured to perform frequency division processing on the input clock signal to obtain a frequency division clock signal;
所述反馈模块,进一步用于当所述分频时钟信号的高电平到达时,依据 所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。The feedback module is further configured to: when the high level of the divided clock signal arrives, according to The pulse width of the output clock signal and the target pulse width determine a delay control parameter and feed back the delay control parameter to the delay module.
根据本申请的另一方面,提供了一种电子设备,包括如上所述的脉宽修正电路。In accordance with another aspect of the present application, an electronic device is provided, including a pulse width correction circuit as described above.
根据本申请的再一方面,提供了一种脉宽修正方法,包括:According to still another aspect of the present application, a pulse width correction method is provided, including:
依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号;Delaying the input clock signal according to the delay control parameter to obtain a delayed clock signal;
将所述输入时钟信号与所述延迟时钟信号进行逻辑运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号;Performing a logic operation on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal;
依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数。Determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter.
可选地,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:Optionally, the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter, includes:
判决所述输出时钟信号的脉宽与目标脉宽之间的关系,根据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,并根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数。Determining a relationship between a pulse width of the output clock signal and a target pulse width, generating a decision electrical signal according to a relationship between a pulse width of the output clock signal and a target pulse width, and determining a delay control according to the determined electrical signal Parameters and feedback the delay control parameters.
可选地,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:Optionally, the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter, includes:
根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中所述参考电信号依据所述目标脉宽确定;Generating a decision electrical signal according to an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width;
根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数。Determining a delay control parameter based on the decision electrical signal and feeding back the delay control parameter.
可选地,所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的步骤,包括:Optionally, the step of generating a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal comprises:
将与所述输出时钟信号的脉宽成正比的电信号与参考电信号进行比较并确定判决电信号。An electrical signal proportional to the pulse width of the output clock signal is compared to a reference electrical signal and a decision electrical signal is determined.
可选地,所述根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:Optionally, the step of determining a delay control parameter according to the decision electrical signal and feeding back the delay control parameter includes:
根据所述判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并反馈修正后的所述延迟控制参数。The latched delay control parameter is corrected in a successive approximation according to the decision electrical signal, and the corrected delay control parameter is fed back.
可选地,在所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的步骤之前,还包括:Optionally, before the step of generating the determining electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal, the method further includes:
检测所述输出时钟信号的脉宽,获取与所述输出时钟信号的脉宽成正比的电信号。 Detecting a pulse width of the output clock signal to obtain an electrical signal proportional to a pulse width of the output clock signal.
可选地,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,还包括:Optionally, the step of determining the delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter, further includes:
在判定所述输出时钟信号的脉宽到达目标脉宽时,输出结束信号;Outputting an end signal when determining that a pulse width of the output clock signal reaches a target pulse width;
在接收到所述结束信号后,停止执行所述检测所述输出时钟信号的脉宽,获取与所述输出时钟信号的脉宽成正比的电信号的操作;和/或,After receiving the end signal, stopping performing the operation of detecting a pulse width of the output clock signal to acquire an electrical signal proportional to a pulse width of the output clock signal; and/or,
在接收到所述结束信号后,停止执行所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的操作。After receiving the end signal, the operation of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal is stopped.
可选地,所述将所述输入时钟信号与所述延迟时钟信号进行逻辑运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号的步骤,包括:Optionally, the step of performing logic operation on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal includes:
将所述输入时钟信号与所述延迟时钟信号进行逻辑与运算或者逻辑或运算,以得到所述输出时钟信号。And performing a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain the output clock signal.
可选地,所述依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号的步骤,包括:Optionally, the step of delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal includes:
依据所述延迟控制参数对所述输入时钟信号进行m路n级延迟处理,得到m路延迟时钟信号;其中,所述m和所述n均为大于或等于1的整数。Performing m-way n-stage delay processing on the input clock signal according to the delay control parameter to obtain an m-channel delayed clock signal; wherein the m and the n are integers greater than or equal to 1.
可选地,所述方法还包括:对所述输入时钟信号进行分频处理,得到分频时钟信号;Optionally, the method further includes: performing frequency division processing on the input clock signal to obtain a frequency division clock signal;
所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:当所述分频时钟信号的高电平到达时,依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数。Determining the delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter, comprising: when the high level of the divided clock signal arrives, according to the The pulse width of the clock signal and the target pulse width are output, the delay control parameter is determined, and the delay control parameter is fed back.
本申请通过对输入时钟信号进行延迟处理得到延迟时钟信号,再对输入时钟信号与延迟时钟信号进行逻辑运算,从而对输入时钟信号进行脉宽的修正,以使修正后得到输出时钟信号的脉宽最终到达目标脉宽。因此,本申请可以经过上述脉宽修正过程自动得到各种脉宽的时钟信号,从而满足各种不同情况下数字时钟对信号脉宽的要求。In the present application, the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal, so that the pulse width of the output clock signal is obtained after the correction. Finally reach the target pulse width. Therefore, the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
附图说明DRAWINGS
图1为本申请实施例一的一种脉宽修正电路的结构框图;1 is a structural block diagram of a pulse width correction circuit according to Embodiment 1 of the present application;
图2为本申请实施例二的一种脉宽修正电路的结构框图;2 is a structural block diagram of a pulse width correction circuit according to Embodiment 2 of the present application;
图3为本申请实施例三的一种脉宽修正电路的结构示意图;3 is a schematic structural diagram of a pulse width correction circuit according to Embodiment 3 of the present application;
图4为本申请实施例三的一种n级延迟单元的电路图; 4 is a circuit diagram of an n-stage delay unit according to Embodiment 3 of the present application;
图5为本申请实施例三的一种逻辑运算模块的电路图;5 is a circuit diagram of a logic operation module according to Embodiment 3 of the present application;
图6为本申请实施例三的一种将输入时钟信号与延迟时钟信号进行逻辑或运算的示意图;6 is a schematic diagram of logical OR operation of an input clock signal and a delayed clock signal according to Embodiment 3 of the present application;
图7为本申请实施例三的一种将输入时钟信号与延迟时钟信号进行逻辑与运算的示意图;7 is a schematic diagram of logically ANDing an input clock signal and a delayed clock signal according to Embodiment 3 of the present application;
图8为本申请实施例三的一种脉宽检测单元的电路图;8 is a circuit diagram of a pulse width detecting unit according to Embodiment 3 of the present application;
图9为本申请实施例三的一种将输入时钟信号的脉宽从小于50%修正到50%的修正过程的示意图;9 is a schematic diagram of a correction process for correcting a pulse width of an input clock signal from less than 50% to 50% according to Embodiment 3 of the present application;
图10为本申请实施例四的一种脉宽修正方法的步骤流程图;10 is a flow chart of steps of a pulse width correction method according to Embodiment 4 of the present application;
图11为本申请实施例五的一种脉宽修正方法的步骤流程图。FIG. 11 is a flow chart of steps of a pulse width correction method according to Embodiment 5 of the present application.
具体实施方式Detailed ways
为使得本申请实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请实施例一部分实施例,而非全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。In order to make the object, the features and the advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are only a part of the embodiments of the embodiments of the present application, and not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts are within the scope of protection of the embodiments of the present application.
实施例一 Embodiment 1
本申请实施例可以应用于石英晶体振荡器之后的整形电路中。在数字时钟的应用中,石英晶体振荡器产生原始时钟信号,该原始时钟信号经过整形电路将其由正弦波信号整形成矩形波信号。本申请实施例中,为了解决整形得到的矩形波信号的脉宽无法满足要求的问题,在将原始时钟信号整形成矩形波信号后,进一步通过脉宽修正电路对该矩形波信号进行脉宽的修正比如变宽或者变窄,以使其达到所需的脉宽。Embodiments of the present application can be applied to a shaping circuit after a quartz crystal oscillator. In digital clock applications, a quartz crystal oscillator produces an original clock signal that is shaped by a shaping circuit to form a rectangular wave signal from a sinusoidal signal. In the embodiment of the present application, in order to solve the problem that the pulse width of the rectangular wave signal obtained by the shaping cannot meet the requirement, after the original clock signal is formed into a rectangular wave signal, the pulse width correction circuit further performs pulse width on the rectangular wave signal. Corrections such as widening or narrowing to achieve the desired pulse width.
参照图1,示出了本申请实施例一的一种脉宽修正电路的结构框图。Referring to FIG. 1, a block diagram of a pulse width correction circuit according to a first embodiment of the present application is shown.
本实施例的脉宽修正电路包括以下模块:The pulse width correction circuit of this embodiment includes the following modules:
延迟模块101,用于依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号。The delay module 101 is configured to perform delay processing on the input clock signal according to the delay control parameter to obtain a delayed clock signal.
本实施例中,延迟控制参数可以包括对输入时钟信号进行延迟处理过程中延迟的时间,该延迟控制参数由下面描述的反馈模块确定并反馈给延迟模块。 In this embodiment, the delay control parameter may include a time delay in delay processing of the input clock signal, the delay control parameter being determined by the feedback module described below and fed back to the delay module.
本实施例中,输入时钟信号来自对石英晶体振荡器产生的正弦波信号整形后得到的信号,其可以为矩形波信号。In this embodiment, the input clock signal is derived from a signal obtained by shaping a sine wave signal generated by a quartz crystal oscillator, which may be a rectangular wave signal.
将输入时钟信号(也即上述的矩形波信号)输入到延迟模块中,利用延迟模块对输入时钟信号进行延迟处理,延迟处理也即令输入时钟信号的高电平延迟一段时间出现,延迟处理后得到延迟时钟信号,延迟的时间长短表明了高电平出现的早晚,延迟时间越长,高电平出现的越晚,反之,延迟时间越短,高电平出现的越早,延迟的时间长短跟输入时钟信号的脉宽与目标脉宽之间的差距有关。The input clock signal (that is, the rectangular wave signal described above) is input to the delay module, and the delay clock is used to delay the input clock signal, and the delay processing causes the high level delay of the input clock signal to appear for a period of time, and the delay processing is obtained. Delaying the clock signal, the length of the delay indicates the presence of a high level, the longer the delay time, the later the high level appears. Conversely, the shorter the delay time, the earlier the high level appears, and the length of the delay. The pulse width of the input clock signal is related to the difference between the target pulse widths.
本实施例中,之所以要对输入时钟信号进行延迟处理,是考虑到可以通过将输入时钟信号与时钟相位不同于该输入时钟信号的其它时钟信号进行逻辑运算,以修正输入时钟信号的脉宽,而通过对输入时钟信号进行延迟处理即可得到时钟相位不同于该输入时钟信号的其它时钟信号。In this embodiment, the reason why the input clock signal is subjected to delay processing is to correct the pulse width of the input clock signal by logically calculating the input clock signal and other clock signals whose clock phases are different from the input clock signal. And by delay processing the input clock signal, other clock signals whose clock phase is different from the input clock signal can be obtained.
本实施例中,延迟模块比如是由多个延迟子单元搭建的电路结构。In this embodiment, the delay module is, for example, a circuit structure constructed by a plurality of delay subunits.
逻辑运算模块102,用于将输入时钟信号与延迟时钟信号进行逻辑运算,以对输入时钟信号进行脉宽的修正,得到输出时钟信号。The logic operation module 102 is configured to perform logic operations on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal.
将时钟相位不同的时钟信号进行逻辑运算后时钟信号的脉宽将会发生变化。因此,将输入时钟信号与延迟时钟信号进行逻辑运算后得到输出时钟信号,该输出时钟信号相对于输入时钟信号来说,由于经过逻辑运算后输入时钟信号中的部分高电平会变为低电平,或者部分低电平会变为高电平,因此通过逻辑运算的过程从而实现对输入时钟信号的脉宽进行修正,输出时钟信号即为本次对输入时钟信号进行脉宽修正后得到的信号。When the clock signal with different clock phases is logically operated, the pulse width of the clock signal changes. Therefore, the input clock signal and the delayed clock signal are logically operated to obtain an output clock signal, and the output clock signal is low-voltage due to a logic operation, and a part of the input clock signal is turned into a low level. Flat, or part of the low level will become high level, so the pulse width of the input clock signal is corrected by the logic operation process, and the output clock signal is obtained by performing pulse width correction on the input clock signal for this time. signal.
本实施例中,逻辑运算比如为逻辑或,或者逻辑与。In this embodiment, the logical operations are, for example, logical OR or logical AND.
本实施例中,逻辑模块比如是由与非门搭建的电路结构。In this embodiment, the logic module is, for example, a circuit structure constructed by a NAND gate.
反馈模块103,用于依据输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并将延迟控制参数反馈至延迟模块。The feedback module 103 is configured to determine a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to the delay module.
在经过逻辑运算模块的修正后得到输出时钟信号,后续经过反馈模块依据输出时钟信号的脉宽和目标脉宽之间的关系确定延迟控制参数,使延迟模块和逻辑运算模块继续对输入时钟信号进行脉宽的修正,直至输出时钟信号的脉宽到达目标脉宽。After the correction of the logic operation module, the output clock signal is obtained, and then the feedback module determines the delay control parameter according to the relationship between the pulse width of the output clock signal and the target pulse width, so that the delay module and the logic operation module continue to perform the input clock signal. The pulse width is corrected until the pulse width of the output clock signal reaches the target pulse width.
输出时钟信号的脉宽和目标脉宽之间的关系可以通过两者之间的差距来表示,比如是输出时钟信号的脉宽与目标脉宽之间的差距越大时,延迟控制参数包括的延迟时间越大,当输出时钟信号的脉宽和目标脉宽之间的差距越 小时,延迟控制参数包括的延迟时间越小。The relationship between the pulse width of the output clock signal and the target pulse width can be expressed by the difference between the two, for example, when the difference between the pulse width of the output clock signal and the target pulse width is larger, the delay control parameter includes The greater the delay time, the more the difference between the pulse width of the output clock signal and the target pulse width The delay time included in the delay control parameter is smaller.
本实施例中,反馈模块比如是由脉宽检测电路、比较器及寄存器搭建的电路结构。In this embodiment, the feedback module is, for example, a circuit structure constructed by a pulse width detecting circuit, a comparator, and a register.
本申请实施例通过对输入时钟信号进行延迟处理得到延迟时钟信号,再对输入时钟信号与延迟时钟信号进行逻辑运算,从而对输入时钟信号进行脉宽的修正,以使修正后得到输出时钟信号的脉宽最终到达目标脉宽。因此,本申请实施例可以经过上述脉宽修正过程自动得到各种脉宽的时钟信号,从而满足各种不同情况下数字时钟对信号脉宽的要求。In the embodiment of the present application, the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated, thereby correcting the pulse width of the input clock signal, so as to obtain the output clock signal after the correction. The pulse width eventually reaches the target pulse width. Therefore, the embodiment of the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
实施例二Embodiment 2
参照图2,示出了本申请实施例二的一种脉宽修正电路的结构框图。Referring to FIG. 2, a block diagram of a pulse width correction circuit according to a second embodiment of the present application is shown.
本实施例的脉宽修正电路包括以下模块:The pulse width correction circuit of this embodiment includes the following modules:
延迟模块201,用于依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号。The delay module 201 is configured to delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
其中,延迟控制参数中包括需要延迟多长时间,延迟控制参数通过后面描述的反馈模块得到,具体将在后面的反馈模块中介绍。延迟模块依据该延迟控制参数对输入时钟信号延迟其所指示的时间,得到延迟时钟信号。The delay control parameter includes how long the delay needs to be obtained, and the delay control parameter is obtained by a feedback module described later, which will be specifically introduced in the following feedback module. The delay module delays the input clock signal by the time indicated by the delay control parameter to obtain a delayed clock signal.
本实施例中,延迟处理的相关说明类似上述实施例一。In this embodiment, the related description of the delay processing is similar to the first embodiment.
逻辑运算模块202,用于将输入时钟信号与延迟时钟信号进行逻辑运算,以对输入时钟信号进行脉宽的修正,得到输出时钟信号。The logic operation module 202 is configured to perform logic operations on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal.
本申请实施例中,逻辑运算模块202,进一步用于将输入时钟信号与延迟时钟信号进行逻辑与运算或者逻辑或运算,得到输出时钟信号。比如,在一具体应用场景中,通过将输入时钟信号与延迟时钟信号进行逻辑与运算,由于将低电平和高电平进行逻辑与运算后得到低电平,使得输入时钟信号中的部分高电平变为低电平,从而实现使输入时钟信号的脉宽变窄;比如,在另一具体应用场景中,通过将输入时钟信号与延迟时钟信号进行逻辑或运算,由于将低电平和高电平进行逻辑或运算后得到高电平,使得输入时钟信号中的部分低电平变为高电平,从而实现使输入时钟信号的脉宽变宽。对于具体执行何种运算,逻辑运算模块可以依据运算控制参数确定,该运算控制参数则用于指示进行何种逻辑运算,运算控制参数通过后面描述的反馈模块得到,具体将在后面的反馈模块中介绍。In the embodiment of the present application, the logic operation module 202 is further configured to perform a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain an output clock signal. For example, in a specific application scenario, by logically ANDing the input clock signal and the delayed clock signal, a low level is obtained by logically ANDing the low level and the high level, so that part of the input clock signal is high. Leveling to a low level, thereby narrowing the pulse width of the input clock signal; for example, in another specific application scenario, by logically ORing the input clock signal with the delayed clock signal, due to low level and high power A logic OR operation is performed to obtain a high level, so that a portion of the low level of the input clock signal becomes a high level, thereby achieving widening of the pulse width of the input clock signal. For the specific operation, the logic operation module may be determined according to the operation control parameter, and the operation control parameter is used to indicate which logic operation is performed, and the operation control parameter is obtained by the feedback module described later, which will be specifically in the subsequent feedback module. Introduction.
反馈模块203,用于判决输出时钟信号的脉宽与目标脉宽之间的关系,根 据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,根据判决电信号确定延迟控制参数,并将延迟控制参数反馈至延迟模块。The feedback module 203 is configured to determine a relationship between a pulse width of the output clock signal and a target pulse width, and a root A decision electrical signal is generated according to a relationship between a pulse width of the output clock signal and a target pulse width, a delay control parameter is determined according to the determined electrical signal, and the delay control parameter is fed back to the delay module.
本实施例中,反馈模块203可以包括以下单元:In this embodiment, the feedback module 203 may include the following units:
脉宽检测单元2031,用于检测输出时钟信号的脉宽,获取与输出时钟信号的脉宽成正比的电信号。The pulse width detecting unit 2031 is configured to detect a pulse width of the output clock signal and acquire an electrical signal proportional to a pulse width of the output clock signal.
判决单元2032,用于根据与输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中参考电信号依据目标脉宽确定。The determining unit 2032 is configured to generate a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width.
在一种优选方式中,判决单元2032为比较器,该比较器用于将与输出时钟信号的脉宽成正比的电信号与参考电信号进行比较,确定判决电信号。In a preferred form, decision unit 2032 is a comparator for comparing an electrical signal proportional to the pulse width of the output clock signal with a reference electrical signal to determine a decision electrical signal.
为了更加方便地将输出时钟信号的脉宽和目标脉宽进行比较,本申请实施例中分别将输出时钟信号的脉宽和目标脉宽转换成与之相关的电信号,也即如上描述的将输出时钟信号的脉宽转换成与其成正比的电信号,将目标脉宽转换成参考电信号,然后进行电信号之间的比较,过程更加简便。In order to more conveniently compare the pulse width of the output clock signal with the target pulse width, in the embodiment of the present application, the pulse width and the target pulse width of the output clock signal are respectively converted into electrical signals related thereto, that is, as described above. The pulse width of the output clock signal is converted into an electrical signal proportional to it, the target pulse width is converted into a reference electrical signal, and then the comparison between the electrical signals is performed, and the process is simpler.
寄存单元2033,用于根据判决电信号确定延迟控制参数,并将延迟控制参数反馈至延迟模块。The registering unit 2033 is configured to determine a delay control parameter according to the determined electrical signal, and feed back the delay control parameter to the delay module.
在一种优选方式中,寄存单元2033为逐次逼近寄存器,该逐次逼近寄存器用于根据判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并将修正后的延迟控制参数反馈至延迟模块。具体地,逐次逼近寄存器中锁存有延迟控制参数,该延迟控制参数包括多个二进制位,逐次逼近寄存器在接收到判决单元输出的判决电信号后,将该判决电信号与已锁存的前一时钟周期的判决电信号进行比较,如果两者相同,则逐次逼近寄存器从已锁存的延迟控制参数中查找为1的二进制位,并将查找到的二进制位的后一个二进制位置为1;如果两者不同,则逐次逼近寄存器从已锁存的延迟控制参数中查找为1的二进制位,将查找到的二进制位置为0,并将查找到的二进制位的后一个二进制位置为1;如果逐次逼近寄存器在接收到判决单元输出的判决电信号后,还未锁存判决电信号,则直接将延迟控制参数的最高位置为1。In a preferred mode, the register unit 2033 is a successive approximation register for correcting the latched delay control parameter in a successive approximation according to the decision electrical signal, and feeding back the modified delay control parameter to the delay. Module. Specifically, a delay control parameter is latched in the successive approximation register, the delay control parameter includes a plurality of binary bits, and the successive approximation register receives the decision electrical signal outputted by the decision unit, and the decision electrical signal is before the latched The clocked decision electrical signals are compared. If the two are the same, the successive approximation register looks up the binary bit of 1 from the latched delay control parameter and sets the next binary bit of the found binary bit to 1; If the two are different, the successive approximation register looks for a binary bit of 1 from the latched delay control parameter, finds the binary position as 0, and sets the next binary bit of the found binary bit to 1; The successive approximation register does not latch the decision electrical signal after receiving the decision electrical signal output by the decision unit, and directly sets the highest position of the delay control parameter to 1.
本申请实施例中,反馈模块203还用于依据第一个时钟周期的输出时钟信号的脉宽及目标脉宽,确定运算控制参数,并将该运算控制参数反馈至逻辑运算模块。具体地,依据第一个时钟周期的输出时钟信号的脉宽及目标脉宽,生成判决电信号,根据判决电信号确定运算控制参数,并将该运算控制参数反馈至逻辑运算模块。具体地,如果判决电信号指示与输出时钟信号的脉宽成正比的电信号小于参考电信号,则确定运算控制参数指示进行逻辑或 运算;如果判决电信号指示与输出时钟信号的脉宽成正比的电信号大于参考电信号,则确定运算控制参数指示进行逻辑与运算。In the embodiment of the present application, the feedback module 203 is further configured to determine an operation control parameter according to a pulse width of the output clock signal of the first clock cycle and a target pulse width, and feed back the operation control parameter to the logic operation module. Specifically, the decision electrical signal is generated according to the pulse width of the output clock signal of the first clock cycle and the target pulse width, the operational control parameter is determined according to the determined electrical signal, and the operational control parameter is fed back to the logical operation module. Specifically, if the decision electrical signal indicates that the electrical signal proportional to the pulse width of the output clock signal is less than the reference electrical signal, determining the operational control parameter indication to perform a logical OR An operation; if the decision electrical signal indicates that the electrical signal proportional to the pulse width of the output clock signal is greater than the reference electrical signal, determining that the operational control parameter indicates a logical AND operation.
在一种优选方式中,寄存单元2033还用于在判定输出时钟信号的脉宽到达目标脉宽时,输出结束信号至脉宽检测单元和/或判决单元。其中,“和/或”表示可以仅将结束信号输出至脉宽检测单元,也可以仅将结束信号输出至判决单元,还可以将结束信号均输出至脉宽检测单元和判决单元。寄存单元可以根据锁存的延迟控制参数判定输出时钟信号的脉宽是否到达目标脉宽,延迟控制参数包括多个二进制位,当每个二进制位都经过修正后,则可确定输出时钟信号的脉宽到达目标脉宽。脉宽检测单元2031,还用于在接收到结束信号后,关闭自身电路。判决单元2032,还用于在接收到结束信号后,关闭自身电路。In a preferred manner, the register unit 2033 is further configured to output an end signal to the pulse width detecting unit and/or the determining unit when determining that the pulse width of the output clock signal reaches the target pulse width. Here, "and/or" means that only the end signal can be output to the pulse width detecting unit, or only the end signal can be output to the decision unit, and the end signal can be output to the pulse width detecting unit and the decision unit. The registering unit may determine whether the pulse width of the output clock signal reaches the target pulse width according to the latched delay control parameter, and the delay control parameter includes a plurality of binary bits. When each binary bit is corrected, the pulse of the output clock signal may be determined. The width reaches the target pulse width. The pulse width detecting unit 2031 is further configured to turn off the self circuit after receiving the end signal. The determining unit 2032 is further configured to close the circuit after receiving the end signal.
当输出时钟信号的脉宽到达目标脉宽后,无需再执行脉宽检测单元和判决单元的功能,因此可以将脉宽检测单元和判决单元中的至少一个关闭,从而进一步节省本申请实施例的脉宽修正电路的功耗。After the pulse width of the output clock signal reaches the target pulse width, the functions of the pulse width detecting unit and the determining unit need not be performed, so that at least one of the pulse width detecting unit and the determining unit can be turned off, thereby further saving the embodiment of the present application. The power consumption of the pulse width correction circuit.
在一种优选方式中,本申请实施例的脉宽修正电路还包括:分频模块204,用于对输入时钟信号进行分频处理,得到分频时钟信号;反馈模块,进一步用于当分频时钟信号的高电平到达时,依据输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并将延迟控制参数反馈至延迟模块。In a preferred mode, the pulse width correction circuit of the embodiment of the present application further includes: a frequency dividing module 204, configured to perform frequency division processing on the input clock signal to obtain a frequency-divided clock signal; and a feedback module, further used to divide the frequency When the high level of the clock signal arrives, the delay control parameter is determined according to the pulse width of the output clock signal and the target pulse width, and the delay control parameter is fed back to the delay module.
对于一些响应较慢的脉宽检测单元,可以增加分频模块,将输入时钟信号输入分频模块,分频模块依据设定的分频系数对输入时钟信号进行分频处理,将得到的分频时钟信号输出至反馈模块,该分频时钟信号用于指示反馈模块何时执行相关操作。对于分频系数的设定,本领域技术人员可以根据脉宽检测单元的响应速度的实际情况,设定任意合适的值,例如,脉宽检测单元的响应速度较慢,则设置的分频系数较大,反之,脉宽检测单元的响应速度较快,则设置的分频系数较小,本申请实施例对具体的数值不作限定。For some slow response pulse width detecting units, the frequency dividing module may be added, and the input clock signal is input to the frequency dividing module, and the frequency dividing module divides the input clock signal according to the set frequency dividing coefficient, and the obtained frequency dividing frequency is obtained. The clock signal is output to a feedback module, which is used to indicate when the feedback module performs related operations. For the setting of the frequency division coefficient, those skilled in the art can set any suitable value according to the actual situation of the response speed of the pulse width detecting unit. For example, if the response speed of the pulse width detecting unit is slow, the frequency dividing coefficient is set. If the response speed of the pulse width detecting unit is fast, the frequency dividing coefficient is set to be small. The specific value is not limited in the embodiment of the present application.
本申请实施例可以根据数字时钟的要求,将输入时钟信号的脉宽修正为所需脉宽,修正更易控制、更加准确。并且,通过在修正完成后对部分电路的关闭能够进一步降低电路功耗。The embodiment of the present application can correct the pulse width of the input clock signal to the required pulse width according to the requirements of the digital clock, and the correction is easier to control and more accurate. Moreover, the power consumption of the circuit can be further reduced by turning off part of the circuit after the correction is completed.
实施例三 Embodiment 3
参照图3,示出了本申请实施例三的一种脉宽修正电路的结构示意图。Referring to FIG. 3, a schematic structural diagram of a pulse width correction circuit according to Embodiment 3 of the present application is shown.
本实施例的脉宽修正电路包括以下模块: The pulse width correction circuit of this embodiment includes the following modules:
延迟模块301,包括m路n级延迟单元(n级延迟单元1-n级延迟单元m),该m路n级延迟单元,用于依据延迟控制参数对输入时钟信号(A0)进行m路n级延迟处理,得到m路延迟时钟信号(A1-Am)。上述m路n级延迟单元依次串联,输入时钟信号作为第1路n级延迟单元1的输入,第1路n级延迟单元1的输出作为第2路n级延迟单元2的输入,第2路n级延迟单元2的输出作为第3路n级延迟单元3的输入,以此类推,各路n级延迟单元分别依据延迟控制参数对各自的输入进行延迟处理。其中,m和n均为大于或等于1的整数,对于m和n的具体数值,本领域技术人员可以根据实际情况设置任意合适的值,m和n越大修正结果越准确,本申请实施例对m和n的具体数值不作限定。The delay module 301 includes an m-channel n-stage delay unit (n-stage delay unit 1-n-stage delay unit m), and the m-channel n-stage delay unit is configured to perform m-path on the input clock signal (A0) according to the delay control parameter. The stage delay processing results in an m-way delayed clock signal (A1-Am). The m-channel n-stage delay units are connected in series, and the input clock signal is input to the first-stage n-stage delay unit 1, and the output of the first-stage n-stage delay unit 1 is input to the second-channel n-stage delay unit 2, and the second path The output of the n-stage delay unit 2 is input to the third-stage n-stage delay unit 3, and so on, and each of the n-stage delay units delays the respective inputs in accordance with the delay control parameters. Wherein, m and n are integers greater than or equal to 1. For a specific value of m and n, a person skilled in the art can set any suitable value according to the actual situation, and the larger the m and n is, the more accurate the correction result is. The specific numerical values of m and n are not limited.
参照图4,示出了本申请实施例三的一种n级延迟单元的电路图。n级延迟单元包括n个时钟缓冲器(CB0—CBn-1)、n个电容(C0—Cn-1)及n个开关(S0—Sn-1),n个电容(C0—Cn-1)全部接逻辑0电平,一个时钟缓冲器和一个电容组成一个RC电路,各个RC电路依次串联,每个RC电路均由各自对应的开关控制,其中,逐次逼近寄存器的B[0]控制开关S0,B[1]控制开关S1,以此类推,B[n-1]控制开关Sn-1。输入时钟信号从时钟缓冲器CB0输入,延迟时钟信号从时钟缓冲器CBn-1输出。本申请实施例中,为了方便控制,可以设置每一级的延迟呈2倍的关系递增。Referring to FIG. 4, a circuit diagram of an n-stage delay unit of Embodiment 3 of the present application is shown. The n-stage delay unit includes n clock buffers (CB0-CBn-1), n capacitors (C0-Cn-1), and n switches (S0-Sn-1), n capacitors (C0-Cn-1) All are connected to a logic 0 level, a clock buffer and a capacitor form an RC circuit, each RC circuit is connected in series, and each RC circuit is controlled by a corresponding switch, wherein the B[0] control switch S0 of the successive approximation register , B[1] controls switch S1, and so on, and B[n-1] controls switch Sn-1. The input clock signal is input from the clock buffer CB0, and the delayed clock signal is output from the clock buffer CBn-1. In the embodiment of the present application, in order to facilitate the control, the delay of each level may be set to increase by a factor of two.
逻辑运算模块302,用于依据运算控制参数将输入时钟信号A0与m路延迟时钟信号(A1-Am)进行逻辑运算,以对输入时钟信号进行脉宽的修正,得到输出时钟信号Y。The logic operation module 302 is configured to perform logic operations on the input clock signal A0 and the m-channel delay clock signal (A1-Am) according to the operation control parameter to perform pulse width correction on the input clock signal to obtain an output clock signal Y.
参照图5,示出了本申请实施例三的一种逻辑运算模块的电路图。逻辑运算模块包括2个与门(与门1和与门2)和2个或门(或门1和或门2),输入时钟信号A0与m路延迟时钟信号A1-Am作为与门1和或门1的输入,或门1的输出和运算控制参数S作为与门2的输入,与门1的输出和与门2的输出作为或门2的输入,或门2的输出为输出时钟信号Y。逻辑预算模块的布尔表达式可以为Y=(A0|A1…|Am)&S|A0&A1…&Am,在S=1时执行逻辑或操作,而S=0时执行逻辑与操作。需要说明的是,在具体实现上有多种布尔表达式都能实现该功能,本申请实施例对布尔表达式的具体形式并不加以限制。Referring to FIG. 5, a circuit diagram of a logic operation module according to Embodiment 3 of the present application is shown. The logic operation module includes two AND gates (AND gate 1 and AND gate 2) and two OR gates (or gate 1 and OR gate 2), input clock signal A0 and m way delay clock signal A1-Am as AND gate 1 and The input of the OR gate 1, the output of the OR gate 1 and the operational control parameter S as the input of the AND gate 2, the output of the AND gate 1 and the output of the AND gate 2 as the input of the OR gate 2, or the output of the OR gate 2 is the output clock signal Y. The Boolean expression of the logical budget module may be Y=(A0|A1...|Am)&S|A0&A1...&Am, performing a logical OR operation when S=1, and performing a logical AND operation when S=0. It should be noted that a plurality of Boolean expressions can implement the function in a specific implementation, and the specific form of the Boolean expression is not limited in the embodiment of the present application.
参照图6,示出了本申请实施例三的一种将输入时钟信号与延迟时钟信号进行逻辑或运算的示意图。图中,t为延迟时间,S=1,Y=A0|A1|A2|A3,输入时钟信号A0和延迟时钟信号A1-A3进行逻辑或运算,得到的输出时钟信号Y 相比于输入时钟信号A0的脉宽变宽。Referring to FIG. 6, a schematic diagram of logically ORing an input clock signal and a delayed clock signal according to Embodiment 3 of the present application is shown. In the figure, t is the delay time, S=1, Y=A0|A1|A2|A3, and the input clock signal A0 and the delayed clock signal A1-A3 are logically ORed, and the obtained output clock signal Y The pulse width is wider than the input clock signal A0.
参照图7,示出了本申请实施例三的一种将输入时钟信号与延迟时钟信号进行逻辑与运算的示意图。图中,t为延迟时间,S=0,Y=A0&A1&A2&A3,输入时钟信号A0和延迟时钟信号A1-A3进行逻辑与运算,得到的输出时钟信号Y相比于输入时钟信号A0的脉宽变窄。Referring to FIG. 7, a schematic diagram of logically ANDing an input clock signal and a delayed clock signal is shown in Embodiment 3 of the present application. In the figure, t is the delay time, S=0, Y=A0&A1&A2&A3, the input clock signal A0 and the delayed clock signal A1-A3 are logically ANDed, and the obtained output clock signal Y is narrower than the pulse width of the input clock signal A0. .
脉宽检测单元303,用于检测输出时钟信号Y的脉宽,获取与输出时钟信号的脉宽成正比的电压Vpw。The pulse width detecting unit 303 is configured to detect a pulse width of the output clock signal Y and acquire a voltage Vpw proportional to a pulse width of the output clock signal.
参照图8,示出了本申请实施例三的一种脉宽检测单元的电路图。脉宽检测单元包括时钟缓冲器CB、电阻R和电容C,该脉宽检测单元相当于一个低通滤波器,输入时钟信号作为时钟缓冲器CB的输入,时钟缓冲器CB的输出与电阻R的一端连接,电阻R的另一端与电容C的一端连接,电容C的另一端接逻辑0电平,电压Vpw从电阻R和电容C之间输出。为了获取电压Vpw,本申请实施例可以将时钟缓冲器CB的时间常数设置得远大于(至少10倍以上)输入时钟信号的周期。Referring to FIG. 8, a circuit diagram of a pulse width detecting unit of Embodiment 3 of the present application is shown. The pulse width detecting unit includes a clock buffer CB, a resistor R and a capacitor C. The pulse width detecting unit is equivalent to a low pass filter, and the input clock signal is used as an input of the clock buffer CB, and the output of the clock buffer CB and the resistor R are One end is connected, the other end of the resistor R is connected to one end of the capacitor C, the other end of the capacitor C is connected to a logic 0 level, and the voltage Vpw is outputted between the resistor R and the capacitor C. In order to obtain the voltage Vpw, the embodiment of the present application can set the time constant of the clock buffer CB to be much longer than (at least 10 times more) the period of the input clock signal.
电压比较器304,用于将与输出时钟信号的脉宽成正比的电压Vpw与参考电压Vr进行比较,确定判决电压Vcp。本申请实施例中,参考电压Vr可以根据以下公式得到:Vr=J(Vh-Vl),其中,J为目标脉宽,Vh为时钟信号的逻辑电平1、Vl为时钟信号的逻辑电平0,对于电压比较器的具体电路结构,本领域技术人员可以根据实际情况设置任意适用的结构,本申请实施例在此不再详细描述。The voltage comparator 304 is configured to compare the voltage Vpw proportional to the pulse width of the output clock signal with the reference voltage Vr to determine the decision voltage Vcp. In the embodiment of the present application, the reference voltage Vr can be obtained according to the following formula: Vr=J(Vh-Vl), where J is the target pulse width, Vh is the logic level of the clock signal, and Vl is the logic level of the clock signal. For a specific circuit structure of the voltage comparator, a person skilled in the art can set any applicable structure according to the actual situation, and the embodiment of the present application will not be described in detail herein.
n+1位逐次逼近寄存器305,用于根据判决电压Vcp以逐次逼近的方式修正已锁存的延迟控制参数,并将修正后的延迟控制参数反馈至延迟模块。以及根据第一个时钟周期的判决电压确定运算控制参数S,并将该运算控制参数S反馈至逻辑运算模块。The n+1 bit successive approximation register 305 is configured to modify the latched delay control parameter in a successive approximation according to the decision voltage Vcp, and feed back the modified delay control parameter to the delay module. And determining the operation control parameter S according to the decision voltage of the first clock cycle, and feeding back the operation control parameter S to the logic operation module.
n+1位逐次逼近寄存器的输出参数包括n+1个二进制位(B[n:0]),其中,逐次逼近寄存器将最高位B[n]作为运算控制参数输出至逻辑运算模块,其它位B[n-1:0]作为延迟控制参数输出至n级延迟单元。对于逐次逼近寄存器的具体电路结构,本领域技术人员可以根据实际情况设置任意适用的结构,本申请实施例在此不再详细描述。The output parameter of the n+1 bit successive approximation register includes n+1 binary bits (B[n:0]), wherein the successive approximation register outputs the highest bit B[n] as an operation control parameter to the logic operation module, and other bits B[n-1:0] is output as a delay control parameter to the n-stage delay unit. For a specific circuit structure of the successive approximation register, a person skilled in the art can set any applicable structure according to the actual situation, and the embodiment of the present application will not be described in detail herein.
分频器306,用于依据设定的分频系数对输入时钟信号进行分频处理,将得到的分频时钟信号输出至n+1位逐次逼近寄存器。当分频时钟信号的高电平到达时,指示n+1位逐次逼近寄存器开始执行对应操作。对于分频器的具 体电路结构,本领域技术人员可以根据实际情况设置任意适用的结构,本申请实施例在此不再详细描述。The frequency divider 306 is configured to perform frequency division processing on the input clock signal according to the set frequency division coefficient, and output the obtained frequency division clock signal to the n+1 bit successive approximation register. When the high level of the divided clock signal arrives, the n+1 bit successive approximation register is instructed to begin the corresponding operation. For the divider The physical circuit structure, any suitable structure can be set by a person skilled in the art according to the actual situation, and the embodiments of the present application are not described in detail herein.
为了方便理解本申请实施例的工作原理,下面以m=3、n=3为例,说明将输入时钟信号的脉宽从小于50%修正到50%的修正过程。设置1-3级延迟的时间分别为1td、2td、4td,td为单位延迟时间,参考电压Vr=(Vh-Vl)/2,其中Vh为时钟信号的逻辑电平1、Vl为时钟信号的逻辑电平0,并且设置分频器的分频系数为1(不分频),脉宽检测模块在一个时钟周期里即可建立完毕。In order to facilitate the understanding of the working principle of the embodiment of the present application, the following is a modification process of correcting the pulse width of the input clock signal from less than 50% to 50% by taking m=3 and n=3 as examples. Set the delay time of 1-3 steps to 1td, 2td, 4td, td is the unit delay time, the reference voltage Vr=(Vh-Vl)/2, where Vh is the logic level of the clock signal, and Vl is the clock signal. The logic level is 0, and the division ratio of the divider is set to 1 (no division), and the pulse width detection module can be established in one clock cycle.
参照图9,示出了本申请实施例三的一种将输入时钟信号的脉宽从小于50%修正到50%的修正过程的示意图。Referring to FIG. 9, a schematic diagram of a correction process for correcting the pulse width of the input clock signal from less than 50% to 50% is shown in the third embodiment of the present application.
初始情况下,逐次逼近寄存器的输出全为0,n级延迟单元中所有开关导通,m路n级延迟单元均无延迟。In the initial case, the output of the successive approximation register is all 0, all switches in the n-stage delay unit are turned on, and the m-channel n-stage delay unit has no delay.
在第1个时钟周期,由于m路n级延迟单元均无延迟,因此A0-A3的时钟相位都一致,此时输出时钟信号Y与输入时钟信号A0完全相等。随后输出时钟信号Y经过脉宽检测单元检测得到与其成正比的电压Vpw,由于输出时钟信号的脉宽小于50%,因此电压比较器将电压Vpw与参考电压Vr进行比较得出Vpw<Vr,于是电压比较器输出判决电压Vcp=1,逐次逼近寄存器将最高位B[3]置1,则B[3:0]为4位二进制4’b1000,并将判决电压Vcp=1锁存。In the first clock cycle, since there are no delays in the m-channel n-stage delay units, the clock phases of A0-A3 are the same, and the output clock signal Y is exactly equal to the input clock signal A0. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto. Since the pulse width of the output clock signal is less than 50%, the voltage comparator compares the voltage Vpw with the reference voltage Vr to obtain Vpw<Vr, and thus The voltage comparator outputs a decision voltage Vcp=1, and the successive approximation register sets the highest bit B[3] to 1, then B[3:0] is a 4-bit binary 4'b1000, and the decision voltage Vcp=1 is latched.
在第2个时钟周期,由于Vcp=1,则逐次逼近寄存器将次高位B[2]置1,则B[3:0]为4位二进制4’b1100,因此A1-A3的延迟分别为4td、8td、12td,A0-A4进行或操作,使得输出时钟信号Y的脉宽相比于输入时钟信号A0变宽。随后输出时钟信号Y经过脉宽检测单元检测得到与其成正比的电压Vpw,由于输出时钟信号的脉宽大于50%,因此电压比较器将电压Vpw与参考电压Vr进行比较得出Vpw>Vr,于是电压比较器输出判决电压Vcp=0,逐次逼近寄存器将判决电压Vcp=0锁存。In the second clock cycle, since Vcp=1, the successive approximation register sets the second highest bit B[2], then B[3:0] is the 4-bit binary 4'b1100, so the delay of A1-A3 is 4td. , 8td, 12td, A0-A4 are performed or operated such that the pulse width of the output clock signal Y is wider than the input clock signal A0. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto. Since the pulse width of the output clock signal is greater than 50%, the voltage comparator compares the voltage Vpw with the reference voltage Vr to obtain Vpw>Vr, and thus The voltage comparator outputs a decision voltage Vcp=0, and the successive approximation register latches the decision voltage Vcp=0.
在第3个时钟周期,由于Vcp=0,则逐次逼近寄存器将B[2]置0,将B[1]置1,则B[3:0]为4位二进制4’b1010,因此A1-A3的延迟分别为2td、4td、6td,A0-A4进行或操作。随后输出时钟信号Y经过脉宽检测单元检测得到与其成正比的电压Vpw,由于输出时钟信号的脉宽大于50%,因此电压比较器将电压Vpw与参考电压Vr进行比较得出Vpw>Vr,于是电压比较器输出判决电压Vcp=0,逐次逼近寄存器将判决电压Vcp=0锁存。In the third clock cycle, since Vcp=0, the successive approximation register sets B[2] to 0 and B[1] to 1, then B[3:0] is 4-bit binary 4'b1010, so A1- The delay of A3 is 2td, 4td, 6td, and A0-A4 is performed or operated. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto. Since the pulse width of the output clock signal is greater than 50%, the voltage comparator compares the voltage Vpw with the reference voltage Vr to obtain Vpw>Vr, and thus The voltage comparator outputs a decision voltage Vcp=0, and the successive approximation register latches the decision voltage Vcp=0.
在第4个时钟周期,由于Vcp=0,则逐次逼近寄存器将B[1]置0,将B[0] 置1,则B[3:0]为4位二进制4’b1001,因此A1-A3的延迟分别为1td、2td、3td,A0-A4进行或操作。随后输出时钟信号Y经过脉宽检测单元检测得到与其成正比的电压Vpw,由于输出时钟信号的脉宽小于50%,因此电压比较器将电压Vpw与参考电压Vr进行比较得出Vpw<Vr,于是电压比较器输出判决电压Vcp=1,逐次逼近寄存器将判决电压Vcp=1锁存。并且,在该时钟周期逐次逼近寄存器判断出每个二进制位均已经过修正,则可以确定输出时钟信号的脉宽到达目标脉宽,后续则继续按照B[3:0]=1001这个参数对输入时钟信号的脉宽进行修正。In the 4th clock cycle, since Vcp=0, the successive approximation register sets B[1] to 0, which will be B[0]. When set to 1, B[3:0] is a 4-bit binary 4'b1001, so the delays of A1-A3 are 1td, 2td, 3td, respectively, and A0-A4 is ORed. Then, the output clock signal Y is detected by the pulse width detecting unit to obtain a voltage Vpw proportional thereto. Since the pulse width of the output clock signal is less than 50%, the voltage comparator compares the voltage Vpw with the reference voltage Vr to obtain Vpw<Vr, and thus The voltage comparator outputs a decision voltage Vcp=1, and the successive approximation register latches the decision voltage Vcp=1. Moreover, in the clock cycle successive approximation register to determine that each binary bit has been corrected, it can be determined that the pulse width of the output clock signal reaches the target pulse width, and then continues to input the parameter according to B[3:0]=1001. The pulse width of the clock signal is corrected.
本申请实施例提供了一种新的电路结构,实现了根据数字时钟的要求对输入时钟信号的脉宽进行修正,并且通过多路多级延迟单元对输入时钟信号进行延迟处理,使得修正更加准确。本申请实施例可以在几乎不增加功耗的情况下,将脉宽自动精确地修正到预期的值。The embodiment of the present application provides a new circuit structure, which implements correction of the pulse width of the input clock signal according to the requirement of the digital clock, and delays the input clock signal by the multi-channel multi-stage delay unit, so that the correction is more accurate. . Embodiments of the present application can automatically and accurately correct the pulse width to an expected value with little increase in power consumption.
此外,本申请实施例还提供了一种电子设备,其包括上述实施例中所描述的脉宽修正电路。该电子设备通过对输入时钟信号进行延迟处理得到延迟时钟信号,再对输入时钟信号与延迟时钟信号进行逻辑运算,从而对输入时钟信号进行脉宽的修正,以使修正后得到输出时钟信号的脉宽最终到达目标脉宽。因此,经过脉宽修正过程可以得到各种脉宽的时钟信号,从而满足各种不同情况下数字时钟对信号脉宽的要求。In addition, an embodiment of the present application further provides an electronic device including the pulse width correction circuit described in the foregoing embodiment. The electronic device obtains a delayed clock signal by delay processing the input clock signal, and performs a logic operation on the input clock signal and the delayed clock signal to correct the pulse width of the input clock signal, so that the pulse of the output clock signal is obtained after the correction. The width eventually reaches the target pulse width. Therefore, the pulse width correction process can obtain clock signals of various pulse widths, thereby meeting the requirements of the digital clock on the signal pulse width in various situations.
实施例四 Embodiment 4
参照图10,示出了本申请实施例四的一种脉宽修正方法的步骤流程图。Referring to FIG. 10, a flow chart of steps of a pulse width correction method according to Embodiment 4 of the present application is shown.
本申请实施例的脉宽修正方法包括以下步骤:The pulse width correction method of the embodiment of the present application includes the following steps:
步骤1001,依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号。Step 1001: delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
步骤1002,将输入时钟信号与延迟时钟信号进行逻辑运算,以对输入时钟信号进行脉宽的修正,得到输出时钟信号。In step 1002, the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal to obtain an output clock signal.
步骤1003,依据输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈延迟控制参数。Step 1003: Determine a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter.
本申请实施例通过对输入时钟信号进行延迟处理得到延迟时钟信号,再对输入时钟信号与延迟时钟信号进行逻辑运算,从而对输入时钟信号进行脉宽的修正,以使修正后得到输出时钟信号的脉宽最终到达目标脉宽。因此, 本申请实施例可以经过上述脉宽修正过程自动得到各种脉宽的时钟信号,从而满足各种不同情况下数字时钟对信号脉宽的要求。In the embodiment of the present application, the delayed clock signal is obtained by delay processing the input clock signal, and then the input clock signal and the delayed clock signal are logically operated, thereby correcting the pulse width of the input clock signal, so as to obtain the output clock signal after the correction. The pulse width eventually reaches the target pulse width. Therefore, The embodiment of the present application can automatically obtain clock signals of various pulse widths through the above-mentioned pulse width correction process, thereby satisfying the requirements of the digital clock on the signal pulse width in various situations.
实施例五Embodiment 5
参照图11,示出了本申请实施例五的一种脉宽修正方法的步骤流程图。Referring to FIG. 11, a flow chart of steps of a pulse width correction method according to Embodiment 5 of the present application is shown.
本申请实施例的脉宽修正方法包括以下步骤:The pulse width correction method of the embodiment of the present application includes the following steps:
步骤1101,依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号。Step 1101: delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal.
在一种优选方式中,步骤1101包括:依据延迟控制参数对输入时钟信号进行m路n级延迟处理,得到m路延迟时钟信号。In a preferred mode, step 1101 includes performing m-way n-stage delay processing on the input clock signal according to the delay control parameter to obtain an m-channel delayed clock signal.
步骤1102,将输入时钟信号与延迟时钟信号进行逻辑运算,以对输入时钟信号进行脉宽的修正,得到输出时钟信号。In step 1102, the input clock signal and the delayed clock signal are logically operated to correct the pulse width of the input clock signal to obtain an output clock signal.
在一种优选方式中,步骤1102包括:将输入时钟信号与延迟时钟信号进行逻辑与运算或者逻辑或运算,得到输出时钟信号。In a preferred manner, step 1102 includes performing a logical AND or logical OR operation on the input clock signal and the delayed clock signal to obtain an output clock signal.
步骤1103,对输入时钟信号进行分频处理,得到分频时钟信号。 Step 1103, performing frequency division processing on the input clock signal to obtain a frequency division clock signal.
步骤1104,当分频时钟信号的高电平到达时,依据输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈延迟控制参数。Step 1104: When the high level of the divided clock signal arrives, the delay control parameter is determined according to the pulse width of the output clock signal and the target pulse width, and the delay control parameter is fed back.
需要说明的是,以下描述的步骤1104是指依据输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈延迟控制参数的过程。It should be noted that the step 1104 described below refers to a process of determining a delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter.
本申请实施例中,步骤1104具体包括:判决输出时钟信号的脉宽与目标脉宽之间的关系,根据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,并根据判决电信号确定延迟控制参数,并反馈延迟控制参数。In the embodiment of the present application, the step 1104 specifically includes: determining a relationship between a pulse width of the output clock signal and a target pulse width, and generating a decision electrical signal according to a relationship between a pulse width of the output clock signal and a target pulse width, and The delay control parameter is determined according to the determined electrical signal, and the delay control parameter is fed back.
在一种优选方式中,步骤1104包括:检测输出时钟信号的脉宽,获取与输出时钟信号的脉宽成正比的电信号;根据与输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中参考电信号依据目标脉宽确定;根据判决电信号确定延迟控制参数,并反馈延迟控制参数。In a preferred mode, step 1104 includes: detecting a pulse width of the output clock signal, acquiring an electrical signal proportional to a pulse width of the output clock signal; and calculating an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal And generating a decision electrical signal; wherein the reference electrical signal is determined according to the target pulse width; determining the delay control parameter according to the determined electrical signal, and feeding back the delay control parameter.
其中,根据与输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的步骤,具体包括:将与输出时钟信号的脉宽成正比的电信号与参考电信号进行比较,确定判决电信号。根据判决电信号确定延迟控制参数,并反馈延迟控制参数的步骤,具体包括:根据判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并反馈修正后的延迟控制参数。The step of generating a decision electrical signal according to the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal specifically includes: comparing the electrical signal proportional to the pulse width of the output clock signal with the reference electrical signal, Determine the decision electrical signal. The step of determining the delay control parameter according to the determined electrical signal and feeding back the delay control parameter comprises: correcting the latched delay control parameter in a successive approximation according to the determined electrical signal, and feeding back the corrected delay control parameter.
在一种优选方式中,步骤1104还包括:在判定输出时钟信号的脉宽到达 目标脉宽时,输出结束信号;在接收到结束信号后,停止执行检测输出时钟信号的脉宽,获取与输出时钟信号的脉宽成正比的电信号的操作;和/或,在接收到结束信号后,停止执行根据与输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的操作。In a preferred manner, step 1104 further includes: determining that the pulse width of the output clock signal arrives When the target pulse width is output, the end signal is output; after receiving the end signal, the execution of detecting the pulse width of the output clock signal is performed, and an operation of obtaining an electrical signal proportional to the pulse width of the output clock signal is performed; and/or, at the end of the reception After the signal, the operation of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal is stopped.
本申请实施例可以根据数字时钟的要求,将输入时钟信号的脉宽修正为所需脉宽,修正更易控制、更加准确。并且,通过在修正完成后对部分电路的关闭能够进一步降低电路功耗。The embodiment of the present application can correct the pulse width of the input clock signal to the required pulse width according to the requirements of the digital clock, and the correction is easier to control and more accurate. Moreover, the power consumption of the circuit can be further reduced by turning off part of the circuit after the correction is completed.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located A place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,所述计算机可读记录介质包括用于以计算机(例如计算机)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等,该计算机软件产品包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, portions of the above technical solutions that contribute substantially or to the prior art may be embodied in the form of a software product that may be stored in a computer readable storage medium, the computer readable record The medium includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer). For example, a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , an infrared signal, a digital signal, etc., etc., the computer software product comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the embodiments described Methods.
最后应说明的是:以上实施例仅用以说明本申请实施例的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the embodiments of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the spirit of the technical solutions of the embodiments of the present application. range.

Claims (21)

  1. 一种脉宽修正电路,其特征在于,所述电路包括:A pulse width correction circuit, characterized in that the circuit comprises:
    延迟模块,用于依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号;a delay module, configured to delay processing the input clock signal according to the delay control parameter to obtain a delayed clock signal;
    逻辑运算模块,用于将所述输入时钟信号与所述延迟时钟信号进行逻辑运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号;a logic operation module, configured to perform logic operation on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal;
    反馈模块,用于依据所述输出时钟信号的脉宽及目标脉宽,确定所述延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。And a feedback module, configured to determine the delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to the delay module.
  2. 根据权利要求1所述的电路,其特征在于,所述反馈模块,进一步用于判决所述输出时钟信号的脉宽与目标脉宽之间的关系,根据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,并根据所述判决电信号确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。The circuit according to claim 1, wherein the feedback module is further configured to determine a relationship between a pulse width of the output clock signal and a target pulse width, according to a pulse width and a target of the output clock signal The relationship between the pulse widths generates a decision electrical signal and determines a delay control parameter based on the decision electrical signal and feeds back the delay control parameter to the delay module.
  3. 根据权利要求1所述的电路,其特征在于,所述反馈模块包括:The circuit of claim 1 wherein said feedback module comprises:
    判决单元,用于根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中所述参考电信号依据所述目标脉宽确定;a determining unit, configured to generate a decision electrical signal according to an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width;
    寄存单元,用于根据所述判决电信号确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。And a registering unit, configured to determine a delay control parameter according to the determined electrical signal, and feed back the delay control parameter to the delay module.
  4. 根据权利要求3所述的电路,其特征在于,所述判决单元为比较器,所述比较器用于将与所述输出时钟信号的脉宽成正比的电信号与参考电信号进行比较并确定判决电信号。The circuit according to claim 3, wherein said decision unit is a comparator for comparing an electrical signal proportional to a pulse width of said output clock signal with a reference electrical signal and determining a decision electric signal.
  5. 根据权利要求3所述的电路,其特征在于,所述寄存单元为逐次逼近寄存器,所述逐次逼近寄存器用于根据所述判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并将修正后的所述延迟控制参数反馈至所述延迟模块。The circuit of claim 3 wherein said register unit is a successive approximation register, said successive approximation register operative to modify the latched delay control parameter in a successive approximation based on said decision electrical signal, and The corrected delay control parameter is fed back to the delay module.
  6. 根据权利要求3所述的电路,其特征在于,所述反馈模块还包括:The circuit of claim 3, wherein the feedback module further comprises:
    脉宽检测单元,用于检测所述输出时钟信号的脉宽,以及获取与所述输出时钟信号的脉宽成正比的电信号。And a pulse width detecting unit configured to detect a pulse width of the output clock signal and acquire an electrical signal proportional to a pulse width of the output clock signal.
  7. 根据权利要求6所述的电路,其特征在于,所述寄存单元,还用于在判定所述输出时钟信号的脉宽到达目标脉宽时,输出结束信号至所述脉宽检测单元和/或所述判决单元;The circuit according to claim 6, wherein the registering unit is further configured to output an end signal to the pulse width detecting unit and/or when determining that a pulse width of the output clock signal reaches a target pulse width The decision unit;
    所述脉宽检测单元,还用于在接收到所述结束信号后,关闭自身电路; The pulse width detecting unit is further configured to: close the self circuit after receiving the end signal;
    所述判决单元,还用于在接收到所述结束信号后,关闭自身电路。The determining unit is further configured to close the circuit after receiving the end signal.
  8. 根据权利要求1所述的电路,其特征在于,所述逻辑运算模块,进一步用于将所述输入时钟信号与所述延迟时钟信号进行逻辑与运算或者逻辑或运算,以得到所述输出时钟信号。The circuit according to claim 1, wherein the logic operation module is further configured to perform a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain the output clock signal. .
  9. 根据权利要求1所述的电路,其特征在于,所述延迟模块包括m路n级延迟单元,所述m路n级延迟单元依次串联,The circuit according to claim 1, wherein said delay module comprises m-way n-stage delay units, said m-channel n-stage delay units being connected in series,
    所述m路n级延迟单元,用于依据所述延迟控制参数对所述输入时钟信号进行m路n级延迟处理,得到m路延迟时钟信号;The m-channel n-stage delay unit is configured to perform m-way n-stage delay processing on the input clock signal according to the delay control parameter to obtain an m-channel delayed clock signal;
    其中,所述m和所述n均为大于或等于1的整数。Wherein m and the n are integers greater than or equal to 1.
  10. 根据权利要求1所述的电路,其特征在于,The circuit of claim 1 wherein:
    所述电路还包括:分频模块,用于对所述输入时钟信号进行分频处理,得到分频时钟信号;The circuit further includes: a frequency dividing module, configured to perform frequency division processing on the input clock signal to obtain a frequency divided clock signal;
    所述反馈模块,进一步用于当所述分频时钟信号的高电平到达时,依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并将所述延迟控制参数反馈至所述延迟模块。The feedback module is further configured to: when a high level of the divided clock signal arrives, determine a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feed back the delay control parameter to The delay module.
  11. 一种电子设备,其特征在于,包括如上述权利要求1至10中任一项所述的脉宽修正电路。An electronic device comprising the pulse width correction circuit according to any one of claims 1 to 10.
  12. 一种脉宽修正方法,其特征在于,所述方法包括:A pulse width correction method, the method comprising:
    依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号;Delaying the input clock signal according to the delay control parameter to obtain a delayed clock signal;
    将所述输入时钟信号与所述延迟时钟信号进行逻辑运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号;Performing a logic operation on the input clock signal and the delayed clock signal to perform pulse width correction on the input clock signal to obtain an output clock signal;
    依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数。Determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter.
  13. 根据权利要求12所述的方法,其特征在于,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:The method according to claim 12, wherein the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter comprises:
    判决所述输出时钟信号的脉宽与目标脉宽之间的关系,根据所述输出时钟信号的脉宽与目标脉宽之间的关系生成判决电信号,并根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数。Determining a relationship between a pulse width of the output clock signal and a target pulse width, generating a decision electrical signal according to a relationship between a pulse width of the output clock signal and a target pulse width, and determining a delay control according to the determined electrical signal Parameters and feedback the delay control parameters.
  14. 根据权利要求12所述的方法,其特征在于,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括: The method according to claim 12, wherein the step of determining a delay control parameter according to a pulse width of the output clock signal and a target pulse width, and feeding back the delay control parameter comprises:
    根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号;其中所述参考电信号依据所述目标脉宽确定;Generating a decision electrical signal according to an electrical signal proportional to a pulse width of the output clock signal and a reference electrical signal; wherein the reference electrical signal is determined according to the target pulse width;
    根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数。Determining a delay control parameter based on the decision electrical signal and feeding back the delay control parameter.
  15. 根据权利要求14所述的方法,其特征在于,所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的步骤,包括:The method according to claim 14, wherein said step of generating a decision electrical signal based on an electrical signal proportional to a pulse width of said output clock signal and a reference electrical signal comprises:
    将与所述输出时钟信号的脉宽成正比的电信号与参考电信号进行比较并确定判决电信号。An electrical signal proportional to the pulse width of the output clock signal is compared to a reference electrical signal and a decision electrical signal is determined.
  16. 根据权利要求14所述的方法,其特征在于,所述根据所述判决电信号确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:The method according to claim 14, wherein the step of determining a delay control parameter according to the decision electrical signal and feeding back the delay control parameter comprises:
    根据所述判决电信号以逐次逼近的方式修正已锁存的延迟控制参数,并反馈修正后的所述延迟控制参数。The latched delay control parameter is corrected in a successive approximation according to the decision electrical signal, and the corrected delay control parameter is fed back.
  17. 根据权利要求14所述的方法,其特征在于,在所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的步骤之前,还包括:The method according to claim 14, wherein before the step of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal, the method further comprises:
    检测所述输出时钟信号的脉宽,获取与所述输出时钟信号的脉宽成正比的电信号。Detecting a pulse width of the output clock signal to obtain an electrical signal proportional to a pulse width of the output clock signal.
  18. 根据权利要求17所述的方法,其特征在于,所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,还包括:The method according to claim 17, wherein the step of determining a delay control parameter and feeding back the delay control parameter according to a pulse width of the output clock signal and a target pulse width, further comprising:
    在判定所述输出时钟信号的脉宽到达目标脉宽时,输出结束信号;Outputting an end signal when determining that a pulse width of the output clock signal reaches a target pulse width;
    在接收到所述结束信号后,停止执行所述检测所述输出时钟信号的脉宽,获取与所述输出时钟信号的脉宽成正比的电信号的操作;和/或,After receiving the end signal, stopping performing the operation of detecting a pulse width of the output clock signal to acquire an electrical signal proportional to a pulse width of the output clock signal; and/or,
    在接收到所述结束信号后,停止执行所述根据与所述输出时钟信号的脉宽成正比的电信号以及参考电信号,生成判决电信号的操作。After receiving the end signal, the operation of generating the decision electrical signal based on the electrical signal proportional to the pulse width of the output clock signal and the reference electrical signal is stopped.
  19. 根据权利要求12所述的方法,其特征在于,所述将所述输入时钟信号与所述延迟时钟信号进行逻辑运算,以对所述输入时钟信号进行脉宽的修正,得到输出时钟信号的步骤,包括:The method according to claim 12, wherein said step of logically operating said input clock signal and said delayed clock signal to perform pulse width correction on said input clock signal to obtain an output clock signal ,include:
    将所述输入时钟信号与所述延迟时钟信号进行逻辑与运算或者逻辑或运算,以得到所述输出时钟信号。And performing a logical AND operation or a logical OR operation on the input clock signal and the delayed clock signal to obtain the output clock signal.
  20. 根据权利要求12所述的方法,其特征在于,所述依据延迟控制参数对输入时钟信号进行延迟处理,得到延迟时钟信号的步骤,包括: The method according to claim 12, wherein the step of delaying the input clock signal according to the delay control parameter to obtain a delayed clock signal comprises:
    依据所述延迟控制参数对所述输入时钟信号进行m路n级延迟处理,得到m路延迟时钟信号;其中,所述m和所述n均为大于或等于1的整数。Performing m-way n-stage delay processing on the input clock signal according to the delay control parameter to obtain an m-channel delayed clock signal; wherein the m and the n are integers greater than or equal to 1.
  21. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, wherein the method further comprises:
    对所述输入时钟信号进行分频处理,得到分频时钟信号;Performing frequency division processing on the input clock signal to obtain a frequency division clock signal;
    所述依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数的步骤,包括:当所述分频时钟信号的高电平到达时,依据所述输出时钟信号的脉宽及目标脉宽,确定延迟控制参数,并反馈所述延迟控制参数。 Determining the delay control parameter according to the pulse width of the output clock signal and the target pulse width, and feeding back the delay control parameter, comprising: when the high level of the divided clock signal arrives, according to the The pulse width of the clock signal and the target pulse width are output, the delay control parameter is determined, and the delay control parameter is fed back.
PCT/CN2017/103686 2017-09-27 2017-09-27 Pulse width modification circuit, pulse width modification method, and electronic apparatus WO2019061077A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780001259.XA CN107820678B (en) 2017-09-27 2017-09-27 Pulse width correction circuit, pulse width correction method, and electronic apparatus
PCT/CN2017/103686 WO2019061077A1 (en) 2017-09-27 2017-09-27 Pulse width modification circuit, pulse width modification method, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103686 WO2019061077A1 (en) 2017-09-27 2017-09-27 Pulse width modification circuit, pulse width modification method, and electronic apparatus

Publications (1)

Publication Number Publication Date
WO2019061077A1 true WO2019061077A1 (en) 2019-04-04

Family

ID=61606915

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103686 WO2019061077A1 (en) 2017-09-27 2017-09-27 Pulse width modification circuit, pulse width modification method, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN107820678B (en)
WO (1) WO2019061077A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540446B (en) * 2018-11-06 2020-07-03 西安航天动力测控技术研究所 Solid engine drop-out impact test processing method based on time domain impact area
CN109905103A (en) * 2019-02-22 2019-06-18 西安交通大学 A kind of stretch circuit combining digital logical operation based on delay
CN112769035A (en) * 2019-08-20 2021-05-07 上海禾赛科技股份有限公司 Drive circuit, drive method and laser system
CN114826241A (en) * 2021-01-20 2022-07-29 长鑫存储技术有限公司 Signal width repair circuit and method and electronic equipment
US11894083B2 (en) 2021-01-20 2024-02-06 Changxin Memory Technologies, Inc. Signal width repair circuit and method, and electronic device
CN112865781B (en) * 2021-01-20 2022-04-12 长鑫存储技术有限公司 Signal width repair circuit and method and electronic equipment
US11463073B2 (en) 2021-01-20 2022-10-04 Changxin Memory Technologies, Inc. Signal width repair circuit and method, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102282765A (en) * 2008-11-21 2011-12-14 L&L建筑公司 Method and systems for digital pulse width modulator
CN103092258A (en) * 2013-01-28 2013-05-08 深圳市汇顶科技股份有限公司 Clock generation circuit self-correction system and clock generation circuit self-correction method
CN106549668A (en) * 2016-10-11 2017-03-29 加特兰微电子科技(上海)有限公司 Multi-modulus frequency divider and its basic frequency unit
CN106612111A (en) * 2016-12-30 2017-05-03 深圳市志奋领科技有限公司 High-precision delay clock calibration system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009436B2 (en) * 2004-04-09 2006-03-07 Pericom Technology (Shanghai) Co., Ltd. Pulsewidth control loop device with complementary signals
CN101388595B (en) * 2008-01-08 2011-02-02 上海大学 Pwm pulse controller
CN101741250B (en) * 2008-11-04 2012-10-03 友顺科技股份有限公司 Pulse width modulation control circuit reducing electromagnetic interference by frequency modulation of commercial power and method thereof
CN102386916A (en) * 2011-09-21 2012-03-21 复旦大学 Digital pulse width modulator circuit capable of reducing power consumption and chip area
JP2014073055A (en) * 2012-10-01 2014-04-21 Denso Corp Electronic circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102282765A (en) * 2008-11-21 2011-12-14 L&L建筑公司 Method and systems for digital pulse width modulator
CN103092258A (en) * 2013-01-28 2013-05-08 深圳市汇顶科技股份有限公司 Clock generation circuit self-correction system and clock generation circuit self-correction method
CN106549668A (en) * 2016-10-11 2017-03-29 加特兰微电子科技(上海)有限公司 Multi-modulus frequency divider and its basic frequency unit
CN106612111A (en) * 2016-12-30 2017-05-03 深圳市志奋领科技有限公司 High-precision delay clock calibration system and method

Also Published As

Publication number Publication date
CN107820678A (en) 2018-03-20
CN107820678B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2019061077A1 (en) Pulse width modification circuit, pulse width modification method, and electronic apparatus
US9490831B2 (en) Time-to-digital converter using stochastic phase interpolation
US5457719A (en) All digital on-the-fly time delay calibrator
TWI641228B (en) Method and apparatus for clock frequency multiplier
US9484895B2 (en) Self-adjusting duty cycle tuner
WO2013006481A1 (en) Method and apparatus for low jitter distributed clock calibration
US7394238B2 (en) High frequency delay circuit and test apparatus
US10054635B2 (en) Integrated system and method for testing system timing margin
WO2021126405A1 (en) Method and apparatus for synchronizing two systems
US9602115B1 (en) Method and apparatus for multi-rate clock generation
US11539354B2 (en) Systems and methods for generating a controllable-width pulse signal
CN108988832B (en) Method for detecting a delay associated with an electronic device and corresponding electronic device
US20040095169A1 (en) Clock generating circuit including memory for regulating delay amount of variable delay circuit in ring oscillator
US20060087346A1 (en) Phase difference detecting apparatus
WO2019239984A1 (en) Semiconductor device
US9571111B1 (en) System and method to speed up PLL lock time on subsequent calibrations via stored band values
EP4150760B1 (en) Frequency doubler based on phase frequency detectors using rising edge delay
CN108063619A (en) Atomic frequency standard frequency correcting device and atomic frequency standard
US7016798B2 (en) Method of extract gate delay parameter in high frequency circuits
US9203388B2 (en) Method for generating clock for system operating at rising edge
JPH04365111A (en) Synchronizing circuit
JPH0691438B2 (en) Period control pulse generator
JPH09321590A (en) Variable delay line circuit
JPH10117131A (en) Pulse duty deterioration detection circuit
JPH1022795A (en) Multiplier circuit

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: 17926873

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: 17926873

Country of ref document: EP

Kind code of ref document: A1