Delay chain circuit and electronic device

The delay chain circuit addresses glitches in high-speed interface systems by integrating signals with controlled delay adjustments, ensuring seamless signal transmission.

JP2024155720AActive Publication Date: 2024-10-31SHENZHEN PANGO MICROSYST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024010619
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-19
Filing Date
2024-01-27
Publication Date
2024-10-31
Estimated Expiration
2044-01-27

Smart Images

  • Figure 2024155720000001_ABST
    Figure 2024155720000001_ABST
Patent Text Reader

Abstract

To provide a delay chain circuit and an electronic device, which can achieve a delay chain switching function without a glitch.SOLUTION: A delay chain circuit includes: a delay branch circuit 100; an inversion processing branch circuit 110; and a glitch elimination branch circuit 120. The delay branch circuit receives an input signal IN and acquires a first delay signal intAC and a second delay signal intBD. The inversion processing branch circuit receives the first delay signal and acquires a third delay signal, and receives the second delay signal and acquires a fourth delay signal. The glitch elimination branch circuit integrates the third delay signal with the fourth delay signal, acquires a signal intCD after the integration, performs inversion processing on the signal after the integration and acquires an output signal OUT. When the delay chain is required to be adjusted, a delay amount of either the first delay signal or the second delay signal is adjusted, the third delay signal is integrated with the fourth delay signal, and a glitch is eliminated.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the technical field of circuits, and in particular to delay chain circuits and electronic devices. [Background technology]

[0002] A configurable delay chain is a circuit structure that can realize different delay effects by controlling the input of delay code values. It is widely used in various PHY designs and is an important circuit configuration in many interface modules, especially an essential component of PHYs in high-speed interface systems, such as DDR and Serdes. How to design an accurate and efficient delay chain is often the performance bottleneck of high-speed interface systems.

[0003] Current delay chain designs are not equipped with glitch-free switching, and are basically designs that realize several fixed delay units by using the same circuit structure. In such designs, no matter how the delay code value is converted, the transmission signal may collide with the conversion of the delay code value, which causes glitches in the transmission signal and creates risks for the transmission system. Therefore, mainstream designs generally require that there is no signal transmission when converting the delay code value, and signal transmission can only continue after the code value is stable. Such designs have great limitations in practical applications, and in many systems, data stream transmission cannot be interrupted, so the delay code value must not be changed, thus bringing many limitations to high-speed interface systems. Summary of the Invention

[0004] In view of the above problems, the present application provides a delay chain circuit and electronic device, which can realize a glitch-free delay chain switching function while imposing certain constraints on the change of delay code value each time, thereby dynamically adjusting the delay of the delay chain without interrupting the data stream transmission, thereby greatly improving the operating performance of high-speed interface systems.

[0005] The embodiments of the present application are realized by the following technical means. The delay chain circuit includes a delay branch circuit, an inversion processing branch circuit, and a glitch elimination branch circuit, the delay branch circuit performs a delay processing on an input signal, and then obtains a first delay signal and a second delay signal, and there is a delay amount between the first delay signal and the second delay signal, the inversion processing branch circuit performs an inversion delay processing on the first delay signal to obtain a third delay signal, and performs an inversion delay processing on the second delay signal to obtain a fourth delay signal, the glitch elimination branch circuit integrates the third delay signal and the fourth delay signal to obtain an integrated signal, and performs an inversion processing on the integrated signal to obtain an output signal, and the delay amount of the output signal is between the delay amount of the third delay signal and the delay amount of the fourth delay signal.

[0006] Preferably, the delay branch circuit includes a first coarse delay chain and a second coarse delay chain arranged in parallel, the first coarse delay chain delaying the input signal by a plurality of coarse delay times to obtain the first delayed signal, and the second coarse delay chain delaying the input signal by a plurality of coarse delay times to obtain the second delayed signal.

[0007] Preferably, the first coarse delay chain includes a plurality of first coarse delay groups connected in series in order, each of the first coarse delay groups receives one first coarse delay code signal, each of the first coarse delay groups includes at least two first coarse delay units, and for each of the first coarse delay groups, when the first coarse delay code signal corresponding to the first coarse delay group is valid, each of the first coarse delay units in the first coarse delay group is valid, and when the first coarse delay unit is valid, the first coarse delay unit delays the input signal by one coarse delay time, and the first coarse delay chain determines a delay amount for the input signal based on the number of corresponding valid first coarse delay code signals in the plurality of first coarse delay groups and the number of the first coarse delay units included in the first coarse delay group, and performs a delay process on the input signal based on the determined delay amount to obtain the first delay signal.

[0008] Preferably, the second coarse delay chain includes one forced delay unit and a plurality of second coarse delay groups connected in series in sequence, the forced delay unit is connected in series to the second coarse delay groups, each of the second coarse delay groups receives one second coarse delay code signal, each of the second coarse delay groups includes at least two second coarse delay units, and for each of the second coarse delay groups, when the second coarse delay code signal corresponding to the second coarse delay group is valid, each of the second coarse delay units in the second coarse delay group is valid; or When the second coarse delay unit is valid, the second coarse delay unit delays the input signal by one coarse delay time, and the forced delay unit delays the input signal by one coarse delay time, and the second coarse delay chain determines a delay amount for the input signal based on the number of corresponding valid second coarse delay code signals in the plurality of second coarse delay groups, the number of the second coarse delay units included in the second coarse delay group, and the forced delay unit, and performs a delay process on the input signal based on the determined delay amount to obtain the second delay signal.

[0009] Preferably, the glitch elimination branch circuit includes two fine delay chains, one of which inverts the first delay signal and delays it by a number of fine delay times to obtain a third delay signal, and the other of which inverts the second delay signal and delays it by a number of fine delay times to obtain a fourth delay signal, the delay amounts provided by the two fine delay chains being the same, and a maximum total delay amount provided by the number of fine delay times in one of the fine delay chains being equal to a delay amount provided by one coarse delay time.

[0010] Preferably, the precision delay chain includes a first switch and a second switch, the first switch conducting the glitch removal branch circuit to the high level when the first delay signal or the second delay signal is at a low level, and the second switch grounding the glitch removal branch circuit when the first delay signal or the second delay signal is at a high level.

[0011] Preferably, the first switch and the second switch are both electronic switches, the control ends of the first switch and the second switch both receive the first delay signal or the second delay signal, the input end of the first switch is connected to a high level and the output end is connected to the input end of the second switch, the output end of the second switch is grounded, and the glitch elimination branch circuit is connected between the first switch and the second switch.

[0012] Preferably, the precision delay chain includes a plurality of precision delay units connected in parallel, each of the precision delay units including one charge current source and one discharge current source connected in series, the precision delay unit receives one precision delay code signal, and when the precision delay code signal is valid, turns off the corresponding charge current source and discharge current source to increase the delay amount of the signal by one precision delay time, and when the precision delay code signal is invalid, turns on the corresponding charge current source and discharge current source to decrease the delay amount of the signal by one precision delay time, the precision delay chain determines the number of the charge current source and discharge current source to be turned off based on the number of valid precision delay code signals corresponding to the plurality of precision delay units, thereby determining the delay amount for the first delay signal or the second delay signal, and performs a delay process on the inverted first delay signal or the second delay signal based on the determined delay amount to obtain the third delay signal or the fourth delay signal.

[0013] Preferably, the glitch elimination branch circuit includes an output inverter and a capacitor, one end of the capacitor is connected to the input terminal of the output inverter and connected between the negative electrode of the charging current source and the positive electrode of the discharging current source, and the other end is grounded, the capacitor combines the third delayed signal and the fourth delayed signal to obtain the combined signal, and the output inverter performs an inversion process on the combined signal to obtain an output signal.

[0014] An electronic device according to an embodiment of the present application includes the above delay chain circuit.

[0015] Compared with the prior art, the delay chain circuit and electronic device according to the embodiments of the present application include a delay chain circuit that performs different delay processing on an input signal to obtain a first delayed signal and a second delayed signal having different delay amounts, an inversion processing branch circuit that performs an inversion delay processing on the first delayed signal to obtain a third delayed signal, the inversion processing branch circuit that performs an inversion delay processing on the second delayed signal to obtain a fourth delayed signal, a glitch removal branch circuit that combines the third delayed signal and the fourth delayed signal to obtain a combined signal, and an inversion processing on the combined signal to obtain an output signal, and a delay of the output signal. the delay amount of the third delay signal and the delay amount of the fourth delay signal are between each other; when the delay chain needs to be adjusted, the delay amount of either the first delay signal or the second delay signal is adjusted, causing a glitch to occur only in the first delay signal or only in the second delay signal; when the glitch removal branch circuit combines the third delay signal and the fourth delay signal, the third delay signal and the fourth delay signal are combined to remove the glitch, and an inversion process is performed on the combined signal to obtain an output signal, thereby dynamically adjusting the delay of the delay chain without interrupting the input signal, and realizing glitch-free delay chain switching.

[0016] These and other aspects of the present application may be more readily understood in the description of the examples that follow. [Brief description of the drawings]

[0017] In order to more clearly describe the technical means in the embodiments of the present application, the following briefly introduces drawings necessary for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings based on these drawings without any creative efforts. [Figure 1] FIG. 2 is a module block diagram of a delay chain circuit according to an embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of a first coarse delay chain according to an embodiment of the present application; [Diagram 3] FIG. 4 is a schematic diagram of a second coarse delay chain according to an embodiment of the present application. [Figure 4] 1 is a circuit diagram of a precision delay chain according to an embodiment of the present application; [Diagram 5] FIG. 2 is a principle diagram of a precision delay chain and a deglitch subcircuit according to an embodiment of the present application; [Figure 6] FIG. 4 is a waveform diagram of a first delayed signal and a third delayed signal according to an embodiment of the present application. [Figure 7] FIG. 11 is a waveform diagram of a first delayed signal and a third delayed signal according to another embodiment of the present application. [Figure 8] 4A to 4C are waveform diagrams of signals before switching of code values ​​according to an embodiment of the present application. [Figure 9] 5A to 5C are waveform diagrams of signals after switching of code values ​​according to an embodiment of the present application. [Figure 10] FIG. 11 is another waveform diagram of each signal after switching of the code value according to an embodiment of the present application. [Figure 11] FIG. 11 is yet another waveform diagram of each signal after switching of the code value according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, in which the same or similar reference numerals throughout indicate the same or similar components or components having the same or similar functions. The embodiments described below with reference to the drawings are merely exemplary for interpreting the present application, and cannot be interpreted as limiting the present application.

[0019] In order to allow those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present application are described below clearly and completely with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. Based on the embodiments of the present application, all other embodiments that those skilled in the art can obtain without creative labor are all included in the scope of protection of the present application.

[0020] As shown in FIG. 1, FIG. 1 is a schematic diagram of a module of a delay chain circuit according to the present application, which includes a delay branch circuit 100, an inversion branch circuit 110 and a glitch removal branch circuit 120, the delay branch circuit 100 performs a delay process on an input signal IN, and then obtains a first delay signal int AC and a second delay signal int BD, and there is a delay between the first delay signal int AC and the second delay signal int BD; Specifically, the delay branch circuit 100 includes a first coarse delay chain Delay A and a second coarse delay chain Delay B arranged in parallel, an input end in A of the first coarse delay chain Delay A and an input end in B of the second coarse delay chain Delay B simultaneously receive an input signal IN, which may be a clock signal or other periodic signal, the first coarse delay chain Delay A delays the input signal IN by a plurality of coarse delay times CD to output a first delayed signal int AC from an output end out A, and the second coarse delay chain Delay B delays the input signal IN by a plurality of coarse delay times CD to obtain a second delayed signal int BD from an output end out B.

[0021] The inversion processing branch circuit 110 performs an inversion delay process on the first delay signal int AC to obtain a third delay signal output Delay C, and performs an inversion delay process on the second delay signal int BD to obtain a fourth delay signal output Delay D; Specifically, the inversion processing branch circuit 110 includes two fine delay chains Delay C and Delay D, where Delay C and Delay D have the same configuration, and the input end in C of one fine delay chain Delay C is connected to the output end out A of the first coarse delay chain Delay A, and the fine delay chain Delay C inverts the first delay signal int AC and delays it by a number of fine delay times FD to obtain a third delay signal output Delay C; The input end in D of another fine delay chain Delay D is connected to the output end out B of the second coarse delay chain Delay B, and the fine delay chain Delay D inverts the second delay signal int BD and delays it by a multiple of the fine delay time FD to obtain a fourth delay signal output Delay D.

[0022] The maximum total delay provided by the fine delays FD in the fine delay chains Delay C and Delay D is equal to the delay provided by one coarse delay CD, ie, CD=mFD (m is a positive integer).

[0023] At the same time, the glitch elimination branch circuit 120 is connected to the two output terminals out C and out D of the precision delay chain, and combines the third delay signal output Delay C and the fourth delay signal output Delay D to obtain a combined signal int CD, and performs an inversion process on the combined signal int CD to obtain an output signal OUT, whose delay amount is between the delay amount of the third delay signal output Delay C and the delay amount of the fourth delay signal output Delay D.

[0024] The first coarse delay chain Delay A and the second coarse delay chain Delay B simultaneously receive an input signal IN, and the first coarse delay chain Delay A and the second coarse delay chain Delay B perform different delay processes on the input signal IN to obtain a first delay signal int AC and a second delay signal int BD with different delay amounts; the fine delay chain Delay C performs an inverted delay process on the first delay signal int AC to obtain a third delay signal output Delay C; the fine delay chain Delay D performs an inverted delay process on the second delay signal int BD to obtain a fourth delay signal output Delay D; the glitch removal branch circuit 120 combines the third delay signal output Delay C and the fourth delay signal output Delay D to obtain a combined signal int CD, and performs an inverted process on the combined signal int CD to obtain an output signal OUT, such that the delay amount of the output signal OUT is between the delay amount of the third delay signal output Delay C and the delay amount of the fourth delay signal output Delay D; when the delay chain needs to be adjusted, the first delay signal int AC and the second delay signal int When the delay amount of either the first delay signal int AC or the second delay signal int BD is adjusted to cause a glitch to occur only in the first delay signal int AC or only in the second delay signal int BD, and the glitch removal branch circuit 120 combines the third delay signal output Delay C and the fourth delay signal output Delay D, the third delay signal output Delay C and the fourth delay signal output Delay D are combined to remove the glitch, and an inversion process is performed on the combined signal int CD to obtain the output signal OUT, thereby dynamically adjusting the delay of the delay chain without interrupting the input signal IN, and realizing delay chain switching without glitches.

[0025] As shown in FIG. 2, FIG. 2 shows a schematic diagram of a first coarse delay chain Delay A, which includes a plurality of first coarse delay groups connected in series in sequence, each of which receives one first coarse delay code signal, and each of which includes at least two first coarse delay units, and for each first coarse delay group, when the first coarse delay code signal corresponding to the first coarse delay group is valid, each of the first coarse delay units in the first coarse delay group is valid, and when the first coarse delay unit is valid, the first coarse delay unit delays the input signal IN by one coarse delay time CD, and when the first coarse delay unit is invalid, the delay amount of the input signal IN by the first coarse delay unit is zero.

[0026] As can be understood, when the input signal IN passes through, the input signal IN can be delayed by one coarse delay time CD, and as long as the polarity of the input signal IN is not changed, the first coarse delay unit can use a delay circuit such as an RC delay circuit, a transistor delay circuit, etc., and is not specifically limited in the embodiments of the present application.

[0027] The first coarse delay chain Delay A determines a delay amount for the input signal IN based on the number of corresponding valid first coarse delay code signals in the multiple first coarse delay groups and the number of first coarse delay units included in the first coarse delay group, and performs a delay process on the input signal IN based on the determined delay amount to obtain a first delay signal int AC.

[0028] In some embodiments, the first coarse delay chain Delay A is controlled by a code code A, which is a first coarse delay code C0, C2...C0 of n+1 bits. 2n (n is any positive integer), the first coarse delay groups are formed by a combination of n+1 groups connected in series, one first coarse delay group includes two first coarse delay units, and each first coarse delay group receives one first coarse delay code signal.

[0029] As can be seen, when code A advances by 1, i.e. the number of available first coarse delay codes increases by 1, the delay of the first delay signal increases by 2 coarse delay times CD, and the entire first coarse delay chain Delay A can provide up to n+1 step delay levels, with 2 coarse delay times CD per step, providing up to 2n+2 coarse delay times CD.

[0030] As shown in FIG. 3, FIG. 3 shows a schematic diagram of a second coarse delay chain Delay B, the second coarse delay chain Delay B includes one forced delay unit and a plurality of second coarse delay groups connected in series in sequence, the forced delay unit is connected in series to the second coarse delay groups, each second coarse delay group receives one second coarse delay code signal, and each second coarse delay group includes at least two second coarse delay units; For each second coarse delay group, when the second coarse delay code signal corresponding to the second coarse delay group is valid, each second coarse delay unit in the second coarse delay group is valid, and when the second coarse delay unit is valid, the second coarse delay unit delays the input signal IN by one coarse delay time CD, and when the second coarse delay unit is invalid, the delay amount of the input signal IN by the second coarse delay unit is zero, and the forced delay unit delays the input signal IN by one coarse delay time CD.

[0031] As can be understood, when the input signal IN passes through, the input signal IN can be delayed by one coarse delay time CD, and as long as the polarity of the input signal IN is not changed, the forced delay unit and the second coarse delay unit can use an RC delay circuit, a transistor delay circuit, etc., and are not specifically limited in the embodiments of the present application.

[0032] The second coarse delay chain Delay B determines a delay amount for the input signal IN based on the number of corresponding valid second coarse delay code signals in the multiple second coarse delay groups, the number of second coarse delay units included in the second coarse delay group, and the forced delay unit, and performs a delay process on the input signal IN based on the determined delay amount to obtain a second delay signal int BD.

[0033] In some embodiments, the second coarse delay chain Delay B is controlled by a code B, which is a second coarse delay code C1, C3...C1 of n bits. 2n-1 (n is any positive integer), the second coarse delay group is provided with n groups, each second coarse delay group receives one second coarse delay code signal, one second coarse delay group includes two second coarse delay units, and the entire second coarse delay chain Delay B can provide a maximum of n steps of delay levels (n is any positive integer), providing two coarse delay times CD per step, and providing a maximum of 2n+1 coarse delay times.

[0034] In some embodiments, Code A and Code B are alternately combined to generate a 2n+1-bit consecutive code, Code Coarse: C0, C1, C2...C 2n-1 , C 2n , this continuous code being the thermometer code.

[0035] As can be seen, due to the presence of the forced delay unit, no matter how the successive code Code Coarse changes, there is always a delay of one coarse delay time CD between the first delayed signal int AC and the second delayed signal int BD; at the same time, if the successive code Code Coarse changes by one bit, i.e., if Code Coarse advances by one or goes back by one, only one of the first delayed signal int AC and the second delayed signal int BD will generate a delay of two coarse delay times CD, thereby causing a glitch only in the first delayed signal int AC or the second delayed signal int BD.

[0036] As shown in FIG. 4, FIG. 4 shows the circuit principle diagram of a precision delay chain, in which two precision delay chains Delay C and Delay D have the same configuration, and the delay amounts provided by the two precision delay chains Delay C and Delay D are the same. Take the precision delay chain Delay C as an example.

[0037] the precision delay chain Delay C includes a first switch and a second switch, both of which are electronic switches; The control ends of the first switch and the second switch both receive the first delayed signal int AC, the input end of the first switch is connected to a high level, the output end of the first switch is connected to the input end of the second switch, the output end of the second switch is grounded, and the glitch elimination branch circuit 120 is connected between the output end of the first switch and the input end of the second switch.

[0038] The first switch connects the deglitch sub-circuit 120 to a high level when the first delayed signal int AC is at a low level, and the second switch connects the deglitch sub-circuit 120 to ground when the first delayed signal int AC is at a high level.

[0039] The first switch may be a field effect transistor, a relay, a triode, etc., as long as it can connect the glitch removal branch circuit 120 to a high level when the input of the control end is at a low level, and is not specifically limited in the embodiments of the present application.

[0040] The second switch may be a field effect transistor, a relay, a triode, etc., as long as it connects the glitch removal branch circuit 120 to ground when the input of the control end is at a high level, and is not specifically limited in the embodiments of the present application.

[0041] In some embodiments, the first switch includes a PMOS transistor having a gate receiving the first delayed signal int AC, a source connected to a high level, and a drain connected to the deglitch branch circuit, and the second switch includes an NMOS transistor having a gate receiving the first delayed signal int AC, a drain connected to the deglitch branch circuit 120, and a source connected to ground.

[0042] As can be seen, when the first delay signal or the second delay signal is a low level signal, the PMOS transistor of the first switch is turned on and the NMOS transistor of the second switch is turned off, and the glitch removal branch circuit 120 conducts to a high level; when the first delay signal or the second delay signal is a high level signal, the PMOS transistor of the first switch is turned off and the NMOS transistor of the second switch is turned on, and the glitch removal branch circuit 120 is grounded.

[0043] As shown in FIG. 4, the precision delay chain Delay C further includes a plurality of precision delay units connected in parallel, each precision delay unit including one charging current source and one discharging current source, and the charging current source and the discharging current source are connected in series.

[0044] The charge current source and the discharge current source both adjust the amount of charge input to the glitch removal branch circuit 120, adjust the voltage change speed, and adjust the delay time. The positive electrode of each charge current source is connected to the drain of the PMOS transistor of the first switch, the negative electrode is connected to the positive electrode of the discharge current source, and the negative electrode of each discharge current source is connected to the input end of the NMOS transistor of the second switch, and the glitch removal branch circuit 120 is connected between the multiple charge current sources and the multiple discharge current sources.

[0045] As can be seen, when the first delay signal int AC is at a low level, the PMOS transistor of the first switch is turned on, i.e. the branch circuit in which the charging current source is located is in an on state, and the multiple charging current sources can charge the glitch removal branch circuit 120; when the NMOS transistor of the second switch is in an off state, i.e. the branch circuit in which the discharging current source is located is in an off state, the discharging current source cannot discharge the glitch removal branch circuit 120; when the first delay signal int AC is at a high level, the PMOS transistor of the first switch is turned off, i.e. the branch circuit in which the charging current source is located is in an off state, and the charging current source cannot charge the glitch removal branch circuit 120; when the NMOS transistor of the second switch is in an on state, i.e. the branch circuit in which the discharging current source is located is in an on state, the multiple discharging current sources can discharge the glitch removal branch circuit 120.

[0046] Furthermore, each precision delay unit receives a precision delay code signal, and when the precision delay code signal is valid, the charging current source and discharging current source of the corresponding precision delay unit are turned off, and the precision delay unit increases the delay amount of the signal by one precision delay time FD; when the precision delay code signal is invalid, the charging current source and discharging current source of the corresponding precision delay unit are turned on, and the precision delay unit decreases the delay amount of the signal by one precision delay time FD.

[0047] The fine delay chain Delay C determines the number of charging current sources and discharging current sources to be turned on based on the number of corresponding valid fine delay code signals in the multiple fine delay units, thereby determining a delay amount, and performs a delay process on the inverted first delay signal int AC based on the determined delay amount to obtain a third delay signal output Delay C.

[0048] In some embodiments, each precision delay chain includes m charging current sources and m discharging current sources, where CD=mFD, and the precision delay chain Delay C is controlled by a code Code C, and the precision delay chain Delay D is controlled by a code Code D, and Code C and Code D have identical code content and each include m-bit precision delay code signals F0, F1...F m-2 , F m-1 and Code C and Code D are also one continuous thermometer code, Code Fine.

[0049] Specifically, when the precision delay code signal is valid, it corresponds to the current source being turned off, the current of the charge / discharge current source decreases, and the delay unit delays the signal by one FD; when the precision delay code signal is invalid, it corresponds to the current source being turned on, the current of the charge / discharge current source increases, and the delay unit decreases the delay amount of the signal by one FD; by changing the Code Fine to change the number of valid precision delay code signals, the number of charge current sources and discharge current sources that are turned on is changed, and delay control is realized.

[0050] As can be seen, the number of effective fine delay code signals in the fine delay chain Delay C and the fine delay chain Delay D always match, and when Code Fine changes, the fine delay code signals in the fine delay chain Delay C and the fine delay chain Delay D change synchronously, and the amount of delay provided by the fine delay chain Delay C and the fine delay chain Delay D is always the same.

[0051] As shown in FIG. 5, the glitch elimination branch circuit 120 includes an output inverter and a capacitor C, one end of the capacitor C is connected to the input end of the output inverter and connected between the negative poles of the multiple charging current sources and the positive poles of the multiple discharging current sources, and the other end is grounded. The capacitor C integrates the third delay signal output Delay C and the fourth delay signal output Delay D to obtain an integrated signal int CD, and the output inverter performs an inversion process on the integrated signal int CD to obtain an output signal OUT.

[0052] For the third delay signal output C and the fourth delay signal output D, when the Code Fine changes, the number of charging current sources and discharging current sources operating in the precision delay chains Delay C and Delay D changes, and the charging and discharging rate of the capacitor C by the precision delay chains Delay C and Delay D is changed. Thus, the precision delay chain Delay C performs an inverted delay process on the first delay signal int AC to obtain the third delay signal output Delay C, and the precision delay chain Delay D performs an inverted delay process on the second delay signal int BD to obtain the fourth delay signal output Delay D. At this time, no glitch occurs in the third delay signal output Delay C and the fourth delay signal output Delay D. The analysis process is as follows (since the precision delay chain Delay C and the precision delay chain Delay D have the same configuration, the precision delay chain Delay C and the third delay signal output Delay C are taken as an example here).

[0053] As shown in FIG. 6, FIG. 6 shows the waveform between the first delayed signal int AC after inversion and the third delayed signal output Delay C.

[0054] When the first delay signal int AC is inverted from low level to high level, at this time, the PMOS transistor of the first switch is turned off, the branch circuit where the charging current source is located is turned off, disabling the charging current source, the charging current source cannot charge the capacitor C, the NMOS transistor of the second switch is turned on, the branch circuit where the discharging current source is located is turned on, the discharging current source discharges the capacitor C, and the third delay signal output Delay C gradually decreases.

[0055] For example, when Code C=0, the number of effective precision delay code signals is zero, the discharge current sources are all in an effective state, and the discharge current sources are all turned on, so that the capacitor C can be discharged quickly, and the voltage of the third delay signal output Delay C drops quickly; as Code C increases, the number of effective precision delay code signals increases, the number of discharge current sources turned on decreases, the discharge speed of the capacitor C slows down, and the voltage of the third delay signal output Delay C drops slowly, thereby realizing an inverted delay with respect to the first delay signal int AC.

[0056] When Code C is changed before the third delay signal output Delay C reaches a steady state, the number of effective fine delay code signals is increased or decreased. At this time, the waveforms of the first delay signal int AC and the third delay signal output Delay C are shown in FIG. 7.

[0057] For example, when Code C changes from 0 to 2, i.e., Code C increases, the number of effective precision delay code signals increases, the corresponding discharge current sources are turned off, the discharge speed of the capacitor C decreases, the decrease speed of the third delay signal output Delay C becomes slower, and the time to finally reach the steady state is delayed; when Code C changes from m-1 to 0, i.e., Code C decreases, the number of effective precision delay code signals decreases, the corresponding discharge current sources are turned on, the discharge speed of the capacitor C increases, the third delay signal output Delay C decreases quickly to reach the steady state, and the time to finally reach the steady state of the third delay signal output Delay C is accelerated.

[0058] As can be seen, the above process describes the effect of the change in Code C on the discharge speed of the capacitor C when the first delay signal int AC reverses from low level to high level, and realizes the delay control for the third delay signal outputDelayC. Similarly, the effect of the change in Code C on the charge speed of the capacitor C and the effect on the establishment time of the steady state of the third delay signal outputDelayC can be estimated when the first delay signal int AC reverses from high level to low level. As can be seen, no matter how Code C changes, only the charge and discharge speed of the capacitor C changes, so it affects the time when the third delay signal outputDelayC reaches the steady state, that is, it affects the delay amount of the third delay signal outputDelayC, and no new transition or glitch occurs in the third delay signal outputDelayC.

[0059] Since the fine delay chains Delay C and D have the same configuration, similarly, no matter how Code D changes, only the charging and discharging speed of the capacitor C changes, which affects the time when the fourth delay signal output Delay D reaches a steady state, i.e., affects the delay amount of the fourth delay signal output Delay D, and no new transition or glitch occurs in the fourth delay signal output Delay D. As described above, when Code Fine changes, no glitch occurs in the fine delay chains Delay C and D themselves, i.e., no glitch occurs in the third delay signal output Delay C and the fourth delay signal output Delay D.

[0060] From this, it can be seen that when Code Fine switches between zero and full values ​​one bit at a time, no glitches occur in the configuration of the fine delay chain Delay C and the fine delay chain Delay D, and when Code Fine switches between zero and full values ​​one bit at a time, it does not affect the first delay signal int AC and the second delay signal int BD, i.e., it does not affect the delay amount of the first coarse delay chain Delay A and the second coarse delay chain Delay B.

[0061] When Code Fine changes continuously, there will be a situation where Code Fine returns from full value to zero or jumps from zero value to full value, at this time, the corresponding Code Coarse advances or retreats by one bit, and the delay amount of the first delay signal int AC or the second delay signal int BD is changed. At this time, the interpolator circuit formed by the fine delay chain Delay C, the fine delay chain Delay D and the capacitor C, and the separate arrangement of the first coarse delay chain Delay A and the second coarse delay chain Delay B can eliminate possible glitches caused by the change of Code Coarse, and the specific process is as follows:

[0062] For example, suppose that Code Coarse is 2i-1 (i is any positive integer smaller than n) and Code Fine is m-1. As can be seen from the arrangement of Code Coarse, the first coarse delay chain Delay A and the second coarse delay chain Delay B each provide an i-step delay level, and the fine delay chain Delay C and the fine delay chain Delay D each provide an m-1-step delay level. At this time, the delay time provided by the branch circuit AC (composed of the first coarse delay chain Delay A and the fine delay chain Delay C, and so on) is 2i×CD+(m-1)×FD, the delay time provided by the branch circuit BD (composed of the second coarse delay chain Delay B and the fine delay chain Delay D, and so on) is (2i+1)×CD+(m-1)×FD, and the delay amount of the output signal OUT is between 2i×CD+(m-1)×FD and (2i+1)×CD+(m-1)×FD. The Code Fine thermometer code advances by 1 from m-1, i.e., increases to m, which is actually expressed as clearing to zero, and the Code Coarse advances by 1, i.e., increases to 2i. At this time, the delay time provided by the branch circuit AC is (2i+2)×CD, the delay time provided by the branch circuit BD is (2i+1)×CD, and the delay amount of the entire circuit is between (2i+1)×CD and (2i+2)×CD, i.e., the first delay signal int AC increases by 2 CD, the second delay signal int BD does not change, and the fine delay time FD provided by the fine delay chain Delay C and the fine delay chain Delay D returns to zero.

[0063] As shown in FIG. 8, FIG. 8 shows the waveform diagram of each signal when there is no change in Code Coarse before the Code Fine thermometer code advances by 1 from m-1.

[0064] As can be seen, the interval between the inversion of the first delayed signal int AC and the inversion of the second delayed signal int BD is a time difference of one CD, i.e., interval t1 in FIG. 8; In the period t0, neither the inverting edge of the first delay signal int AC nor the second delay signal int BD is reached, and in the period t1, the first delay signal int AC inverts from low to high, the charging current source branch circuit of the precision delay chain Delay C is turned off, the discharging current source branch circuit is turned on, and the capacitor C is discharged to ground, so that the output current pre Delay C of the precision delay chain Delay C becomes a small negative current -I m-1 and the voltage of the third delay signal output Delay C begins to decrease. At this time, the second delay signal int BD has not yet inverted, the output current pre Delay D of the precision delay chain Delay D does not change, and the fourth delay signal output Delay D does not change. The voltage of the integrated signal int CD obtained after integrating the third delay signal output Delay C and the fourth delay signal output Delay D begins to become smaller. During the period t2, the second delay signal int BD is inverted from low to high, the charging current source branch circuit of the precision delay chain Delay D is turned off, the discharging current source branch circuit is turned on, the capacitor C is discharged to ground, and the output current pre Delay D of the precision delay chain Delay D also becomes a negative small current -I m-1 and the fourth delay signal output Delay D starts to decrease, at this time, the voltage of the integrated signal int CD starts to change rapidly until it becomes lower than the threshold voltage of the output inverter, the output signal OUT is inverted in this section, and the integrated signal int CD is inverted by the output inverter to obtain the output signal OUT.

[0065] In section t3, the charge on capacitor C is released and then no longer discharged, the integrated signal int CD reaches a steady state, the fine delay chains Delay C and Delay D no longer discharge, and the delay inversion process ends.

[0066] In some embodiments, as shown in FIG. 9, FIG. 9 is a waveform diagram of another embodiment, showing the waveform diagram of each signal when the Code Fine thermometer code advances by 1 from m-1 and the Code Coarse advances by 1.

[0067] As can be seen, before Code Coarse advances by 1, the inversion of the first delayed signal int AC exceeds the inversion of the second delayed signal int BD by a time difference of 1 CD, but after Code Coarse advances by 1, the first delayed signal int AC lags the second delayed signal int BD by a time difference of 1 CD, and if it is exactly within the time of 2 CD after the inversion of the first delayed signal int AC after Code Coarse advances by 1, then a glitch will occur in the first delayed signal int AC, and this glitch will not be reflected in the output signal OUT, as shown in FIG. 9 . At this time, the interpolator formed by Delay C, Delay D and capacitor C can eliminate the glitch, and the specific process is as follows:

[0068] In the t0 section, neither the inverting edge of the first delay signal int AC nor the second delay signal int BD arrives. In the t1 section, the first delay signal int AC inverts, and the output current post Delay C of the precision delay chain Delay C becomes a small negative current −I m-1 At this time, the second delay signal int BD has not yet been inverted, and the output current post Delay D of the fine delay chain Delay D does not change much, that is, the voltage of the third delay signal output Delay C begins to decrease, and the fourth delay signal output Delay D does not change. At this time, the voltage of the post-integration signal int CD begins to decrease.

[0069] During the t2 period, the second delay signal int BD is inverted, and the output current post Delay D of the precision delay chain Delay D also becomes a small negative current -I m-1That is, the fourth delay signal output Delay D also starts to decrease, and at this time, the voltage of the integrated signal int CD starts to change rapidly until it becomes lower than the threshold voltage of the output inverter, causing the output signal OUT to be inverted in this section.

[0070] In the t3 section, when the code value is inverted, Code Coarse advances by 1, and the first delay signal int AC is inverted due to the occurrence of a glitch. At this time, the first delay signal int AC and the second delay signal int BD are in a state of opposite polarity, the control code Fine Code of the fine delay chain Delay C and the fine delay chain Delay D returns to zero, and the charging current source and the discharging current source are both in a globally on state. Therefore, in the fine delay chain Delay C, the branch circuit where the charging current source is located is turned on, and the branch circuit where the discharging current source is located is turned off, and the charging current source charges the capacitor C, so that the output current post Delay C of the fine delay chain Delay C becomes a positive large current I0, the third delay signal output Delay C rises quickly, and in the fine delay chain Delay D, the branch circuit where the charging current source is located is turned off, and the discharging current source discharges the capacitor C, so that the output current post Delay D of the fine delay chain Delay D becomes a negative large current -I0, and the fourth delay signal output Delay Since D falls quickly and cancels each other out after the two are integrated, the voltage of the integrated signal int CD does not change and does not affect the state change of the output signal OUT.

[0071] At section t4, the first delay signal int AC is inverted again and has the same polarity as the second delay signal int BD. At this time, the output current post Delay C of the precision delay chain Delay C and the output current post Delay D of the precision delay chain Delay D are both negative large currents −I0, which further releases the charge in the capacitor C. This process does not affect the state change of the output signal OUT, and the delay inversion process is completed.

[0072] Figure 10 shows the waveform diagram of each signal in another embodiment. In some embodiments, when the Code Fine thermometer code advances by 1 from m-1 and the Code Coarse advances by 1, there is a situation where the integrated signal int CD does not reach the threshold voltage of the output inverter in the t2 section, and at this time, the situation from t0 to t2 is the same as the situation from t0 to t2 in Figure 9, and is not described here repeatedly, but the output signal OUT has not yet inverted in the t2 section and still maintains the state before inversion.

[0073] In section t3, the output current post Delay C of the precision delay chain Delay C is a large positive current I0, so that the third delay signal output Delay C rises, while the output current post Delay D of the precision delay chain Delay D is a large negative current -I0, so that the fourth delay signal output Delay D falls, and the two cancel each other out, so that the voltage of the post-integration signal int CD does not change and the output signal OUT is not inverted.

[0074] At section t4, the first delay signal int AC is inverted again and has the same polarity as the second delay signal int BD. At this time, the output current post Delay C of the precision delay chain Delay C and the output current post Delay D of the precision delay chain Delay D are both negative large currents -I0, the capacitor C quickly discharges until it is completely discharged, the third delay signal output Delay C and the fourth delay signal output Delay D both decrease, and the post-integration signal int CD quickly decreases until it reaches the threshold of the output inverter. During this process, the output signal OUT is inverted and the delay inversion process is completed.

[0075] 11 shows waveform diagrams of the signals in yet another embodiment. In another situation, i.e., the Code Fine thermometer code advances by 1 from m-1 and the Code Coarse advances by 1, occurs after the first delay signal int AC inverts and before the second delay signal int BD inverts. In the t1 section, the first delay signal int AC inverts to a high level, and the output current post Delay C of the fine delay chain Delay C becomes a negative small current -I m-1 , the voltage of the third delayed signal output Delay C decreases, and the voltage of the integrated signal int CD starts to decrease gradually.

[0076] At the beginning of the t2 period, Code Coarse advances by 1, Code Fine is cleared, and the first delay signal int AC is inverted to a low level. At this time, the output current post Delay C of the precision delay chain Delay C outputs a positive large current I0, the charging current source charges the capacitor C until it is fully charged, the voltage of the third delay signal output Delay C rises quickly, and the voltage of the post-integration signal int CD rises quickly to a high level. After the capacitor C is fully charged, the output current post Delay C of the precision delay chain Delay C returns to zero.

[0077] In section t3, the second delay signal int BD is inverted and Code Fine is cleared, so that the output current post Delay D of the fine delay chain Delay D is a large negative current I0. At this time, the output current post Delay C of the fine delay chain Delay C and the output current post Delay D of the fine delay chain Delay D are both I0 and have opposite directions, and therefore cancel each other out, so the voltage of the integrated signal int CD does not change.

[0078] At section t4, the first delay signal int AC is inverted again. At this time, the output current post Delay C of the precision delay chain Delay C and the output current post Delay D of the precision delay chain Delay D are both negative large currents −I0, the capacitor C is quickly discharged, and the post-integration signal int CD quickly decreases until it reaches the threshold voltage of the output inverter. During this process, the output signal OUT is inverted, the delay inversion process is completed, and the output current post Delay C of the precision delay chain Delay C and the output current post Delay D of the precision delay chain Delay D return to zero.

[0079] In some embodiments, the code value change where Code Coarse advances by 1 and Code Fine is cleared occurs before the t0 period, in which case no glitch occurs in the first delayed signal int AC and no glitch occurs affecting the output signal OUT. If the Code Coarse advances by 1 just outside the time of two CD after the first delayed signal int AC is inverted, i.e., after the t4 period, then the output signal OUT will reach a steady state and the Code Coarse advance by 1 will not affect the output signal OUT.

[0080] As described above, when a code value change occurs in which Code Coarse advances by 1 and Code Fine is cleared, the interpolator circuit formed by the fine delay chain Delay C, the fine delay chain Delay D and the capacitor C, and the separate arrangement of the first coarse delay chain Delay A and the second coarse delay chain Delay B can eliminate possible glitches due to the code value change, and no glitches occur in the output signal OUT.

[0081] In some other embodiments, similarly, suppose that the Code Coarse thermometer code is 2i-1 and the Code Fine thermometer code is 0, then the delay time provided by the branch circuit AC is 2i×CD, the delay time provided by the branch circuit BD is (2i+1)×CD, and the delay amount of the entire circuit is between 2i×CD and (2i+1)×CD. When the Code Fine thermometer code returns from 0 to 1, that is, drops to -1, and is expressed as actually being full, the Code Coarse returns by 1, that is, decreases to 2i-2. At this time, the delay time provided by the branch circuit AC is 2i×CD+(m-1)×FD, and the delay time provided by the branch circuit BD is (2i-1)×CD+(m-1)×FD, and the delay amount of the entire circuit is between (2i-1)×CD+(m-1)×FD and 2i×CD+(m-1)×FD, that is, Delay A remains unchanged, Delay B decreases by 2 CD, and Delay C and Delay D increase to their maximum.

[0082] If the same analysis is performed on the process as above when Code Coarse goes back by 1 and Code Fine goes back from zero to full, when a code value change occurs such that Code Coarse goes back by 1 and Code Fine goes full, the interpolator circuit formed by the fine delay chain Delay C, the fine delay chain Delay D and the capacitor C, and the separate arrangement of the first coarse delay chain Delay A and the second coarse delay chain Delay B can eliminate possible glitches due to the code value change, and no glitches will occur in the output signal OUT.

[0083] The electronic device includes a delay chain circuit according to the above embodiment.

[0084] As described above, in the delay chain circuit and electronic device of the present application, when it is necessary to adjust the delay chain, the delay amount of either the first delay signal int AC or the second delay signal int BD is adjusted, so that a glitch occurs only in the first delay signal int AC or only in the second delay signal int BD; when the capacitor C combines the third delay signal output Delay C and the fourth delay signal output Delay D, the third delay signal output Delay C and the fourth delay signal output Delay D are combined to remove the glitch; and the output inverter performs an inversion process on the combined signal int CD to obtain the output signal OUT, thereby dynamically adjusting the delay of the delay chain without interrupting the input signal IN, and realizing delay chain switching without glitches.

[0085] The above is merely a preferred embodiment of the present application, and does not limit the present application in any way. Although the present application is disclosed as above in a preferred embodiment, the present application is not limited thereto. A person skilled in the art can make equivalent embodiments with equivalent changes by utilizing the technical content disclosed above without departing from the scope of the technical means of the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical substance of the present application without departing from the content of the technical means of the present application all belong to the scope of the technical means of the present application.

Claims

1. a delay branch, an inversion branch and a deglitch branch; the delay branch circuit performs a delay process on an input signal, and then obtains a first delay signal and a second delay signal, and there is a delay between the first delay signal and the second delay signal; the inversion processing branch circuit performs an inversion delay processing on the first delay signal to obtain a third delay signal, and performs an inversion delay processing on the second delay signal to obtain a fourth delay signal; the glitch removal branch circuit combines the third delayed signal and the fourth delayed signal to obtain a combined signal, and performs an inversion process on the combined signal to obtain an output signal; 2. A delay chain circuit comprising: a delay amount of said output signal that is between a delay amount of said third delayed signal and a delay amount of said fourth delayed signal.

2. the delay branch circuit includes a first coarse delay chain and a second coarse delay chain arranged in parallel; the first coarse delay chain delays the input signal by a plurality of coarse delay times to obtain the first delayed signal; 2. The delay chain circuit of claim 1, wherein the second coarse delay chain delays the input signal by a multiple of the coarse delay time to obtain the second delayed signal.

3. the first coarse delay chain includes a plurality of first coarse delay groups connected in series in sequence, each of the first coarse delay groups receiving one first coarse delay code signal, each of the first coarse delay groups including at least two first coarse delay units; For each of the first coarse delay groups, when the first coarse delay code signal corresponding to the first coarse delay group is valid, each of the first coarse delay units in the first coarse delay group if both are enabled and the first coarse delay unit is enabled, the first coarse delay unit delays the input signal by one coarse delay time; 3. The delay chain circuit of claim 2, wherein the first coarse delay chain determines a delay amount for the input signal based on a number of corresponding valid first coarse delay code signals in a plurality of the first coarse delay groups and a number of the first coarse delay units included in the first coarse delay group, and performs a delay process on the input signal based on the determined delay amount to obtain the first delay signal.

4. the second coarse delay chain includes one forced delay unit and a plurality of second coarse delay groups connected in series in sequence, the forced delay unit is connected in series to the second coarse delay groups, each of the second coarse delay groups receives one second coarse delay code signal, and each of the second coarse delay groups includes at least two second coarse delay units; for each of the second coarse delay groups, when the second coarse delay code signal corresponding to the second coarse delay group is valid, each of the second coarse delay units in the second coarse delay group is valid, and when the second coarse delay unit is valid, the second coarse delay unit delays the input signal by one coarse delay time, and the forced delay unit delays the input signal by one coarse delay time; 3. The delay chain circuit of claim 2, wherein the second coarse delay chain determines a delay amount for the input signal based on a number of corresponding valid second coarse delay code signals in the plurality of second coarse delay groups, a number of the second coarse delay units included in the second coarse delay group, and the forced delay unit, and performs a delay process on the input signal based on the determined delay amount to obtain the second delay signal.

5. the deglitch subcircuit includes two precision delay chains; one of the fine delay chains inverts and delays the first delayed signal by a plurality of fine delay times to obtain a third delayed signal; another of the precision delay chains inverts and delays the second delayed signal by a plurality of precision delay times to obtain a fourth delayed signal; 2. The delay chain circuit of claim 1, wherein the delay amounts provided by the two fine delay chains are the same, and the maximum total delay amount provided by the multiple fine delay times in one fine delay chain is equal to the delay amount provided by one coarse delay time.

6. the precision delay chain includes a first switch and a second switch; 6. The delay chain circuit of claim 5, wherein the first switch conducts a high level to the glitch removal branch circuit when the first delay signal or the second delay signal is at a low level, and the second switch grounds the glitch removal branch circuit when the first delay signal or the second delay signal is at a high level.

7. the first switch and the second switch are both electronic switches; 7. The delay chain circuit of claim 6, wherein the control ends of the first switch and the second switch both receive the first delay signal or the second delay signal, the input end of the first switch is connected to a high level and the output end is connected to the input end of the second switch, and the output end of the second switch is grounded, and the glitch removal branch circuit is connected between the first switch and the second switch.

8. the precision delay chain includes a plurality of precision delay units connected in parallel, each of the precision delay units including a charging current source and a discharging current source connected in series; The fine delay unit receives a fine delay code signal, and when the fine delay code signal is valid, turns off a corresponding charging current source and a discharging current source to increase a delay amount of the signal by the fine delay unit by one fine delay time, and when the fine delay code signal is invalid, turns on a corresponding charging current source and a discharging current source to decrease a delay amount of the signal by the fine delay unit by one fine delay time; 6. The delay chain circuit of claim 5, wherein the precision delay chain determines the number of times the charging current source and the discharging current source are turned off based on the number of valid precision delay code signals corresponding to a plurality of the precision delay units, thereby determining a delay amount for the first delay signal or the second delay signal, and performs a delay process on the inverted first delay signal or the second delay signal based on the determined delay amount to obtain the third delay signal or the fourth delay signal.

9. The glitch elimination branch circuit includes an output inverter and a capacitor, one end of the capacitor is connected to the input end of the output inverter, one end of the capacitor is connected between the negative terminal of the charging current source and the positive terminal of the discharging current source, and the other end is grounded; 9. The delay chain circuit of claim 8, wherein the capacitor combines the third delayed signal and the fourth delayed signal to obtain the combined signal, and the output inverter performs an inversion process on the combined signal to obtain an output signal.

10. An electronic device comprising a delay chain circuit according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Interpolating circuit, dll circuit and semiconductor integrated circuit

    JP2003091331A

  • Variable delay apparatus

    JP2008067352A

  • DLL circuit and semiconductor device having the same

    JP2011009922A