This application claims priority to French patent application number 18/72691, filed on Dec. 11, 2018, the content of which is incorporated herein by reference it its entirety.
The present disclosure relates generally to electronic circuits, and more specifically, the programmable circuits for asynchronous delay generation. The present disclosure more specifically relates to circuits based on ramp generators.
In many applications, it is desirable to have time delay devices for electronic signals. These may for example be phase comparators, synchronization functions, clock signal generators, transmission circuits, etc. Most often, it is also desirable to be able to program the delay, that is to say, to adjust the value thereof. Furthermore, it is also generally desirable to be able to guarantee the relationship between a setpoint supplied by applying a value of the delay obtained on the signal processed by the time delay device.
The functions for generating a programmable delay generally supply a pulse after a certain amount of time following a triggering event. This time defines the value of the delay. The programming of the delay (setpoint) can assume various analog or digital forms.
The functions or circuits with programmable delay can be broken down into three major categories.
A first category relates to solutions based on digital counters incremented at the rhythm of an oscillator. The triggering event is generally an initialization of the counter.
The delay impulse is triggered when the counter reaches a given count representing the setpoint.
A second category relates to solutions based on time delay elements (most often logic inverters) mounted in a delay locked loop (DLL).
A third category relates to solutions based on a voltage ramp generator from a capacity charge. In these solutions, a voltage ramp is obtained by charging a capacitance under constant current and the delay impulse is generated when the voltage of the ramp reaches a threshold representing the setpoint.
The present disclosure more specifically relates to this third category of time-delay devices.
Document US-A-2012/212265 describes a circuit for generating a delay based on a current source with switched capacitances. One drawback of the solution proposed by this document is that the generated delay is sensitive to the temperature variations, supply voltage and variation speed of the signal to be delayed.
Document US-A-2018/0323696 describes a circuit and a control method of a power converter using a time-delay circuit based on a ramp generator.
Document US-A-2009/0268778 describes a temperature detector and the method for using the same.
Document US-A-2010/0026542 describes a circuit for adaptive bias current generation for switched-capacitor circuits.
Document FR-A-2,975,246 describes a device for generating a sawtooth signal.
There is a need to improve electronic time-delay devices in terms of operating range (range of possible values of the time delay).
There is also a need to improve electronic time-delay devices in terms of resolution (gap between two consecutive values of the time delay).
There is also a need to improve electronic time-delay devices in terms of reliability in case of drifts of the components in particular under the effect of the temperature.
There is also a need to improve electronic time-delay devices in terms of stability with respect to variations in the supply voltage.
An embodiment addresses all or some of the drawbacks of the usual time delay circuits.
An embodiment provides a circuit for generating a time delay, including a capacitive element for integrating a first current supplied by a first current source, in which the first current source includes a switched-capacitor circuit.
According to an embodiment, the circuit further includes a comparator of a first charge voltage of said first capacitive element relative to a second voltage.
According to an embodiment, the second voltage is generated by a first impedance supplied by a second current source supplying a second current proportional to a third current, the third current being generated by a third current source including a second impedance of the same nature as the first impedance.
According to an embodiment, the second current source is a digital-analog converter.
According to an embodiment, a digital value applied to the converter programs the delay.
According to an embodiment, the second voltage is referenced to a first potential greater than a potential to which the first voltage is referenced.
According to an embodiment, the first current source includes at least one first
MOS transistor in series with said switched-capacitor circuit, and an amplifier mounted as a control follower with said first transistor from a first reference voltage.
According to an embodiment, the third current source includes at least one second MOS transistor in series with said second impedance, and an amplifier mounted as a control follower with said second transistor from a second reference voltage.
According to an embodiment, the first reference voltage and the second reference voltage have a same temperature coefficient sign.
According to an embodiment, the first reference voltage and the second reference voltage are equal.
The foregoing features and advantages, as well as others, will be described in detail in the following description of specific embodiments given by way of illustration and not limitation with reference to the accompanying drawings, in which:
Like features have been designated by like references in the various figures. In particular, the structural and/or functional features that are common among the various embodiments may have the same references and may dispose identical structural, dimensional and material properties.
For the sake of clarity, only the operations and elements that are useful for an understanding of the embodiments described herein have been illustrated and described in detail. In particular, the intended use of the generated delays has not been described in detail, the embodiments being compatible with the typical intended uses of delayed signals that depend on the application, the described embodiments in particular being compatible with the usual applications of time-delay devices. Furthermore, the generation of the triggering signals or events of the delays generated by the time-delay circuits of the described embodiments have not been described in detail, the described embodiments being compatible with the usual techniques for generating triggering signals, which depend on the application.
Unless indicated otherwise, when reference is made to two elements connected together, this signifies a direct connection without any intermediate element other than conductors, and when reference is made to two elements coupled together, this signifies that these two elements can be directly connected or they can be coupled via one or more other elements.
In the description that follows, the expressions “approximately”, “around” and “in the order of” signify within 10%, and preferably within 5%.
The circuit includes a comparator 12, an input 13 of which (for example, inverter (−)) receives a reference or setpoint voltage V13 and the other input 14 of which (for example non-inverter (+)) is coupled, preferably connected, to a first electrode of a capacitor Cc, the other electrode of which is coupled, preferably connected, to the ground. The capacitor Cc is configured to be charged by a constant current I2 source 2 supplied by a direct voltage Vdd. The current source 2 couples a terminal 16 for applying the voltage Vdd to the node 14. Furthermore, the node 14 is coupled to the ground by a reset switch KR (signal RESET). The switch KR is in parallel with the capacitor Cc and makes it possible to discharge it each time the switch KR is closed. In other words, an opening of the switch KR constitutes the trigger for the time delay or the initialization of the delay. After each time the switch KR is opened, the potential of the node 14 increases under the effect of the charge of the capacitor Cc by the current I2 supplied by the source 2. Once the potential reaches the threshold corresponding to the voltage V13, the output OUT of the comparator switches.
At each moment t1 where the switch K is open (
The high and low levels of the signal OUT are connected to the supply voltage of the comparator 12 and arbitrarily denoted as being Vdd and zero (the ground), in particular neglecting the voltage drops in the transistors in the on state of the comparator 12. Likewise, a signal RESET is arbitrarily assumed for which the high and low states are respectively Vdd and the ground.
The time delay τ (deviation between the moments t1 and t2) can be programmed by controlling the slope of the ramp, that is to say, the charge current or the capacitance of the capacitor Cc, the reference voltage V13 of the comparator 12, or the initial charge of the capacitor Cc.
An analog ramp generation solution as illustrated by
However, such a time delay device is often sensitive to the operating temperature. In particular, heating will affect the value of the capacitor Cc and, in a typical time delay device, cause an offset of the value of the time delay τ under the effect of the temperature. Furthermore, the charge current is in turn sensitive to the temperature.
Such a time delay device is further sensitive to the supply voltage variations of the circuit.
According to an aspect of the present description, an effort is made to improve the temperature and voltage stability of the generated time delay.
According to an embodiment, it is provided to generate the current I2 by a switched-capacitor circuit. Thus, the charge serving to generate the constant current I2 is of the same nature as the capacitance Cc generating the ramp, and their respective contributions, in terms of variation as a function of the temperature and the supply voltage of the circuit, offset one another.
The current source 2 is, in the example of
The circuit 24 for example includes a capacitive element C0 in series with a switch K0 and in parallel with a switch K1. The switches K0 and K1 are controlled alternatingly (in opposition). In
A current mirror assembly serves to copy the current circulating in the branch of the transistor 22 on the node 14 to which the capacitive element Cc is connected. Such a current mirror assembly is typical in itself. A transistor 32 (for example MOS) couples, preferably connects, the transistor 22 (its drain) to the terminal 16 applying the voltage Vdd. The gate and the drain of the transistor 32 are interconnected. A transistor 34, of the same type as the transistor 32, is mounted in mirror on the transistor 32 with its source coupled, preferably connected, to the terminal 16. The gate of the transistor 34 is coupled, preferably connected, to the gate of the transistor 32 and its drain is coupled, preferably connected, to the node 14. With transistors 32 and 34 having identical surface ratios, the current circulating in the transistor 34, therefore injected on the node 14, is equal to the current I2 circulating in the transistor 22.
The current I2, supplied by the current source 2, is directly proportional to the product of the value of the capacitive element C0 by the voltage V27 and by the frequency f24 of the signal CT. The current I2 can be written:
I2=A×C0×V27×f24 (equation 1)
where A designates a constant.
Yet the voltage V14 of the node 14 can be written:
where t designates the time (since the beginning of charging of the capacitor Cc).
Thus, the voltage V14 can also be written:
As a result, the offsets of the capacitive elements C0 and Cc, during temperature and supply voltage variations, have inverted effects, which makes it possible to improve the temperature and voltage stability thereof.
According to a preferred embodiment, it is provided to further decrease the effects of temperature and voltage variations by acting on the generation of the setpoint voltage V13 (
In a programmable time delay device with voltage ramp, the programming is generally digital, that is to say, the value of the time delay is determined (programmed) by a digital word whose value conditions the value of the voltage V13.
This digital word is converted into an analog signal (into current) by a digital-analog converter, then applied to a current-voltage conversion resistance in order to generate the voltage V13.
According to this embodiment, the node 13, corresponding to the inverter input (−) of the comparator 12, is coupled, preferably connected, to a first terminal of a resistance R42 whose other terminal is coupled, preferably connected, to the ground. A digital-analog converter 4 (DAC) converts a binary word B of n+1 (for example between 8 and 16) bits B0, . . . , Bn into a current I4. The output of the converter 4, supplying the current I4, is coupled, preferably connected, to the node 13. The converter 4 is supplied by the voltage Vdd and uses a reference current I5 to generate the current I4.
According to this embodiment, it is provided to generate the current I5 from a resistance so that the effects of temperature and voltage variations are of the same nature on the resistance R42 and on the resistance of the current source 14 and offset one another.
Like for the generation of the current I2, it is generally preferred to generate the current I4 of the converter relative to a reference to the ground next to make a copy of this current to inject it into the resistance R42.
The current I4 corresponds to the sum of the currents in n+1 branches in parallel with the converter 4 that are individually controlled by one of the bits Bi (i between 0 and n) of the word B. Each branch includes, between a terminal 44 drawing a current I4 and the ground, a switch KB0, KB1, . . . , Kbn−1, Kbn, and a MOS transistor MB0, MB1, . . . , MBn−1, MBn connected in series. The transistors MBi are mounted in current mirror on a transistor 46 in which the current I5 circulates that is supplied by the constant current source 5. Thus, the drain and the gate of the transistor 46 are interconnected and its source is coupled, preferably connected, to the ground. The gates of the transistors MBi are connected to the gate of the transistor 46. Furthermore, the surface ratios of the transistors MBi double with the rank i. In other words, assuming a transistor MB0 with normalized surface ratio 1 (20), the transistor MB1 has a surface ratio 2 (that is to say, 21), a transistor MBi has a surface ratio 2i, the transistor MBn-1 has a surface ratio 2n−1 and the transistor MBn has a surface ratio 2n. Thus, the current I4 can be written:
The current source 5 is, in the example of
To simplify, the current mirror-based assembly (with a composition similar to the assembly based on transistors 58 and 59) has not been shown making it possible to convert the current I4 illustrated in
An assembly as illustrated by
and the current I4 can therefore be written:
Yet the voltage V13 defining the setpoint or reference value of the time delay device is equivalent to:
As a result, this setpoint voltage V13 can be written:
One can therefore see that with resistances R42 and R54 of the same type having temperature variation coefficients with the same sign and same order of magnitude, preferably the same value, their respective evolutions as a function of the temperature will have inverse effects on the voltage V13 and will therefore be offset. The same is true for any offsets thereof under the effect of variation of the supply voltage.
During operation, when the comparator 12 switches, that is to say, when the voltage ramp reaches the value V13, one has:
Or (equation 10):
The equation above can also be written (equation 11):
Advantageously, it is possible to provide voltages V27 and V57 having variation coefficients with the same sign as a function of the temperature and the supply voltage. Thus, the impact of the temperature on the generated time delay is reduced still further.
Equation 11 above indeed shows that in order to obtain a temperature and supply voltage stability (to make the generated time delay insensitive to temperature and supply voltage variations), it suffices for the ratios V57/V27, R42/R45 and Cc/C0 each to be insensitive to such variations. In other words, one ensures that in case of temperature or supply voltage variations of the circuit:
In order to obtain a similar variation of the voltages V27 and V57, such that their ratio remains constant in case of temperature or supply voltage variation, it is provided to generate these two voltages from circuits with the same structure, preferably from a same circuit. Furthermore, in the case where the voltages V27 and V57 have different values, it is possible to use a circuit generating a first reference voltage and the other of the reference voltages is obtained by using a voltage divider from the first generated voltage.
It will be noted that it is not necessary for the voltages V27 and V57 to be equal. It indeed suffices for their ratio to be insensitive to the temperature and supply voltage variations. For example, it is possible to provide for the use, like in the illustrated embodiments, of a current source circuit using a setpoint voltage (V27 or V57) supplied by a circuit generating a reference voltage. According to another example that will be described in detail hereinafter in relation with
According to a specific embodiment, the voltages V27 and V57 are identical (equal) so that their respective values have the same contribution. Thus, the time delay τ can be expressed:
or:
where cst represents a constant related to the circuit, and which is temperature-stable.
According to an embodiment variant, the resistive elements R42 and R54 are made in the form of switched capacitances. In order to respect the compensation of the temperature and voltage variation on the voltage V13, both elements R42 and R54 will then be made in the form of switched capacitors, and not only one of them.
More generally, the components (impedances) involved in generating the current 15 and the voltage V13 are of the same nature, preferably passive.
In order to guarantee the stability of the ratios V57/V27 and R42/R54, one ensures that the voltage governed by the terminals of the circuit 24 with switched capacitors at the voltage V27 and the reference voltage V13 of the comparator 12 have similar variations in case of temperature or supply voltage variations. Thus, any variations, under the effect of the temperature or the supply voltage, of the voltages V13 and V27 compared by the comparator 12 are similar.
Moreover, in order to still further improve the stability, the comparator 12 is, as shown in the figure, made in the form of an operational amplifier mounted as a comparator (or differential amplifier) with two inputs (one receiving the reference voltage V13, the other receiving the voltage V14). An advantage is then that the comparison offset is then less sensitive to temperature and voltage variations than a comparison done from inverter assemblies would be. Furthermore, different techniques exist for performing such a comparison that make it possible to make the offset of the comparator practically insensitive to the temperature and voltage variations.
According to a preferred embodiment, it is further preferred to define the programming range of the time delay device in a linear portion of the ramp. Indeed, the inventors have observed that in the vicinity of the moment t1 (
These figures are partial and respectively show an example appearance of the signal RESET and the appearance of the voltage V14 under the effect of the charge of the capacitor Cc.
One can see that at the beginning of each charge cycle, the slope of the voltage ramp V14 is not linear, but only becomes so after a time interval that depends on the composition of the circuit and the capacitor Cc. Thus, the slope only becomes linear after a moment t1′.
According to this embodiment, the reference of the voltage V13 is offset such that, irrespective of the value of the word B, the value of the delay is in the linear variation range of the voltage ramp.
The reference input (inverter input (−)) of the comparator 12 is coupled, preferably connected, to the ground by an association in series of two resistances R62 and R64. A digital-analog converter 6 (DAC) includes two current outputs 66 and 68 respectively coupled, preferably connected, to the node 13 and the midpoint of the association in series of the resistances R62 and R64. Additionally, the sum of the currents 166 and 168, supplied by the two outputs 66 and 68, is equal to the reference current I4 (
The structure is similar to that shown in
With such an embodiment, the current I66 can be written:
and the current I68 can be written:
Yet the voltage V13 can be written:
V13=V62+V64 (equation 16)
where V62 and V64 represent the voltage drops in the respective resistances
R62 and R64.
The voltages V62 and V64 can be written:
V62=I66×R62=R62×I5×Σi=0n(Bi×2i) (equation 17)
and
V64=(I66+I68)×R64=R64×I5 (equation 18)
The voltage V13 can therefore be written:
V13=I5×(R64+R62×Σi=0n(Bi×2i)) (equation 19)
By carrying the value (V57/R54) of the current I5 into the expression above, one obtains:
or
The first term
of the equation above defines the time interval t1′-t1 (
The embodiment of
Relative to the embodiment of
The embodiment of
Relative to the embodiment of
By using differential assemblies as shown in
One will endeavor to use, to generate reference voltages influencing the value of the time delay, a single circuit or circuits with identical structures. In other words, the reference voltages are generated either in the form of (external) voltages V27 and V57 coming from a same circuit, or in the form of (internal) voltages V72 and V80 by circuits of equal structure (by design of the current sources).
The embodiment of
This embodiment reiterates the principle of the use of an operational amplifier like in
In the example of
The embodiment of
The embodiment of
The diagram of
The switch 110 is controlled by a signal Cmd, and its primary role is to prevent a current I2 from circulating through the reset transistor KR when the latter is made conductive to reset the capacitor Cc. Indeed, the circulation of a current I2 through the reset transistor KR during the discharge phase induces a “residual” voltage across the terminals of the transistor, therefore the capacitor, at the end of resetting. This residual voltage can vary as a function of the temperature, the supply voltage, and furthermore as a function of the value of the current I2, which can be detrimental for a use of the time-delay circuit in which the current I2 is made variable to change the charge slope of the capacitor Cc.
The embodiment of
Relative to the circuit of
Cmdn. The use of a “complementary” switch 112, deriving the current from the ground, makes it possible to ensure that the current source 12 is fully functional at the moment when it is coupled to the capacitance Cc, and allows lower values of the voltages Cmdp and Cmdn because it is the difference in potential that matters for the activation of one branch or another and not their absolute values. In practice, it suffices to have several hundred millivolts in difference and not a full voltage excursion (0-1 V), which makes it possible to switch these control voltages more quickly for better precision of the time delay, in particular its “starting” edge.
The first two timing diagrams illustrate the operation of the diagram of
As shown by these timing diagrams, the signals Cmd (second timing diagram) and the signals Cmdn and Cmdp (fourth and fifth timing diagrams) are delayed relative to the end of the reset timeslot of the capacitance (signal RESET in the high state) in order to ensure a complete reset of the capacitance Cc, not disrupted by the current I2. In the case where the startup of the period is given by the falling edge of the reset signal, an effort will be made to minimize this offset between the falling edge of the signal RESET and the following edges of the control signals Cmd (or Cmdn and Cmdp). In a variant, the beginning of the period may correspond to the activation edge of the control signals allowing the current I2 to circulate and to charge the capacitance Cc.
An advantage of the embodiments described according to the first aspect hereinabove is that one obtains a digitally programmable time delay device that is stable in terms of temperature and voltage and the programming of which is done in a linear portion of the generated voltage ramp.
Another advantage is that the combination of the analog integration of the reference current I2 in order to obtain the voltage ramp, and the digital programming of the desired time delay, provides not only a fine resolution (which depends on the number of bits of the digital-analog converter), but also a wide operating range.
The determination of the different values to be given to the components of the time delay device depends on the application. These values can be set by applying the described formulas, then refined empirically or through tests.
Various embodiments and variants have been described. Certain features of these embodiments can be combined and other variants will readily occur to those skilled in the art. In particular, although reference has specifically been made to a programmable time delay generator, the described embodiments can be transposed to a fixed-value time delay generator (frozen upon manufacturing the circuit), then having the same advantages in terms of temperature and supply voltage stability. It in fact suffices to provide, as voltage V13, a nonadjustable fixed reference voltage. Furthermore, the determination of the different values and the sizing of the components depends on the application and is within the capabilities of one skilled in the art from the functional description given above.
Number | Date | Country | Kind |
---|---|---|---|
1872691 | Dec 2018 | FR | national |