<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.0//EN" "ep-patent-document-v1-0.dtd">
<ep-patent-document id="EP99830668A1" file="99830668.xml" lang="en" country="EP" doc-number="1096676" kind="A1" date-publ="20010502" status="n" dtd-version="ep-patent-document-v1-0">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYAL..............................</B001EP><B005EP>J</B005EP><B007EP>DIM360 (Ver 1.5  21 Nov 2005) -  1100000/0</B007EP></eptags></B000><B100><B110>1096676</B110><B120><B121>EUROPEAN PATENT APPLICATION</B121></B120><B130>A1</B130><B140><date>20010502</date></B140><B190>EP</B190></B100><B200><B210>99830668.2</B210><B220><date>19991025</date></B220><B250>it</B250><B251EP>en</B251EP><B260>en</B260></B200><B400><B405><date>20010502</date><bnum>200118</bnum></B405><B430><date>20010502</date><bnum>200118</bnum></B430></B400><B500><B510><B516>7</B516><B511> 7H 03K   3/03   A</B511></B510><B540><B541>de</B541><B542>Oszillator mit hoher Genauigkeit und Stabilität</B542><B541>en</B541><B542>Oscillator with elevated precision and stability</B542><B541>fr</B541><B542>Oscillateur à précision et stabilité élevées</B542></B540><B590><B598>2</B598></B590></B500><B700><B710><B711><snm>STMicroelectronics S.r.l.</snm><iid>01014060</iid><irf>99150/EP-ml</irf><syn>sgs thomson micro</syn><adr><str>Via C. Olivetti, 2</str><city>20041 Agrate Brianza (Milano)</city><ctry>IT</ctry></adr></B711></B710><B720><B721><snm>Poletto, Vanni</snm><adr><str>Via Candiani d'Olivola 7/A</str><city>15033 Casale Monferrato (AL)</city><ctry>IT</ctry></adr></B721></B720><B740><B741><snm>Mittler, Enrico</snm><iid>00040772</iid><adr><str>c/o Mittler &amp; C. s.r.l.,
Viale Lombardia, 20</str><city>20131 Milano</city><ctry>IT</ctry></adr></B741></B740></B700><B800><B840><ctry>AT</ctry><ctry>BE</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>IE</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LU</ctry><ctry>MC</ctry><ctry>NL</ctry><ctry>PT</ctry><ctry>SE</ctry></B840><B844EP><B845EP><ctry>AL</ctry></B845EP><B845EP><ctry>LT</ctry></B845EP><B845EP><ctry>LV</ctry></B845EP><B845EP><ctry>MK</ctry></B845EP><B845EP><ctry>RO</ctry></B845EP><B845EP><ctry>SI</ctry></B845EP></B844EP></B800></SDOBI><!-- EPO <DP n="8000"> -->
<abstract id="abst" lang="en">
<p id="pa01" num="0001">The present invention refers to an oscillator of the type using digital inverter circuits. In an embodiment the oscillator comprises:
<ul id="ula01" list-style="dash" compact="compact">
<li>a first inverter (20) having a first input and a first output;</li>
<li>a second inverter (21) having a second input and a second output; said first output being coupled to said second input;</li>
<li>a first capacitor (C) applied between said second output and said first input;<br/>
characterized by further comprising</li>
<li>a first current generator (22) generating a first prefixed current able to charge said capacitor responsive to a first control signal;</li>
<li>a second current generator (25) generating a second prefixed current able to discharge said capacitor responsive to a second control signal;</li>
</ul> said first and second control signal being complementary.<img id="iaf01" file="imgaf001.tif" wi="127" he="102" img-content="drawing" img-format="tif"/></p>
</abstract><!-- EPO <DP n="1"> -->
<description id="desc" lang="en">
<p id="p0001" num="0001">The present invention refers to an oscillator of the type using digital inverter circuits.</p>
<p id="p0002" num="0002">They are known circuits using one or more inverters, or analogous logical circuits, to carry out oscillators the working frequency of which is determined mainly from capacitors and resistances properly connected to the inverters.</p>
<p id="p0003" num="0003">The working frequency of such oscillators depends, beyond that from the applied resistances and capacitors, from the threshold voltage of the used logical circuits.</p>
<p id="p0004" num="0004">The threshold voltage of the logical circuits can vary and it is different from a logical circuit to an other, therefore the working frequency can not be determined with precision.</p>
<p id="p0005" num="0005">In view of the state of the art described, it is an object of the present invention to provide a precision oscillator the working frequency of which doesn't depend on the threshold voltage of the used logical circuits.</p>
<p id="p0006" num="0006">According to the present invention, such object is attained by means of an oscillator comprising:
<ul id="ul0001" list-style="dash" compact="compact">
<li>a first inverter having a first input and a first output;</li>
<li>a second inverter having a second input and a second output; said first output being coupled to said second input;</li>
<li>a first capacitor applied between said second output and said first input;</li>
</ul>    characterized by further comprising
<ul id="ul0002" list-style="dash" compact="compact">
<li>a first current generator generating a first prefixed current able to charge said capacitor responsive to a first control signal;</li>
<li>a second current generator generating a second prefixed current able to discharge said capacitor responsive to a second control signal;</li>
</ul><!-- EPO <DP n="2"> -->    said first and second control signal being complementary.</p>
<p id="p0007" num="0007">Thanks to the present invention it is possible to carry out a precision oscillator the working frequency of which doesn't depend on the threshold voltage of the used logical circuits, because the charging and discharging current of the capacitor that determines the working frequency is independent from the threshold voltage of the logical circuits.</p>
<p id="p0008" num="0008">The features and the advantages of the present invention will be made more evident by the following detailed description of a particular embodiment, illustrated as a non-limiting example in the annexed drawings, wherein:
<ul id="ul0003" list-style="none" compact="compact">
<li>figure 1 represents an oscillator scheme according to the known art;</li>
<li>figure 2 represents a basic oscillator scheme according to the present invention;</li>
<li>figure 3 shows the waveforms in any knots of the circuit of figure 2;</li>
<li>figure 4 represents a simplified scheme of an embodiment of an oscillator according to the present invention.</li>
</ul></p>
<p id="p0009" num="0009">In figure 1 is shown a scheme of an oscillator 1 according to the known art, which comprises a<br/>
   first 10 a second 11 and a third 12 inverter connected in series between them, and fed between Vdd and ground. A capacitor C is connected between the input of the first 10 inverter and the input of the third 12 inverter, and a resistance R is connected between the output of the third 12 inverter and the input of the first 10 inverter.</p>
<p id="p0010" num="0010">The oscillation period T of the oscillator circuit 1 is determined by the charging and discharging time of the capacitor C through the resistance R.</p>
<p id="p0011" num="0011">It can be proved that the two oscillator semiperiods T1 and T2 are given by the following formulas:<maths id="math0001" num=""><img id="ib0001" file="imgb0001.tif" wi="117" he="14" img-content="math" img-format="tif"/></maths>    where Vtha represents the threshold voltage of the first 11 inverter.<!-- EPO <DP n="3"> --></p>
<p id="p0012" num="0012">As it is possible to see both the semiperiods T1 and T2 depend on the threshold voltage value of the inverter. As it is known that the threshold voltage of a logical circuit depends on many factors, among which the temperature, the doping of the input circuits and it varies also from circuit to circuit because of the manufacture tolerances.</p>
<p id="p0013" num="0013">In the circuit of figure 1, in the instants of commutation, the input voltage of the first 10 inverter it is equal to the threshold voltage Vtha added to the voltage, positive or negative, present at that time to the heads of the capacitor C that it is equal in absolute value to Vdd. The input voltage of the first 10 inverter, at the starting of each semiperiod, it will be therefore equal to Vtha+Vdd or Vtha-Vdd, therefore overcome the supply voltages of Vdd and ground, unless there are limiting diodes to avoid such drawback.</p>
<p id="p0014" num="0014">In figure 2 it is represented a basic scheme of an oscillator 2 according to the present invention that comprises a first 20 inverter and a second 21 inverter connected in series, fed between Vdd and ground. A first capacitor C is connected between the input of the first 20 inverter and the output of the second to 21 inverter. Preferably, a second capacitor Cs is connected between the input of the first 20 inverter and ground.</p>
<p id="p0015" num="0015">A first current generator 22, delivering. a current I1, has a terminal connected to the supply Vdd and the other terminal is connected in series to a first controlled switch 23, which in turn is connected to the input of the first 20 inverter.</p>
<p id="p0016" num="0016">A second current generator 23, delivering a current I2, has a terminal connected to ground and the other terminal is connected in series to a second controlled switch 24, which in turn is connected to the input of the first 20 inverter.</p>
<p id="p0017" num="0017">A signal is taken from the output of the 20 inverter first and it is used to control the first switch 23 directly, the same signal complementaried through a third 26 inverter is used to control the second switch 24. When the signal is taken from the output of the first 20 inverter is in a high logical level the first<!-- EPO <DP n="4"> --> switch 23 is closed and the second switch 24 is opened.</p>
<p id="p0018" num="0018">In this way the first 22 and the second 23 current generator deliver the charging and discharging current of the capacitor C controlled by the logical level available to the output of the first 20 inverter.</p>
<p id="p0019" num="0019">Referring to figure 3 it can be seen that during the semiperiod T1 of charging of the capacitor C, the voltage Va at the input of the first 20 inverter, it is a increasing voltage ramp. In the moment in which it reaches and overcome the threshold voltage Vtha of the first 20 inverter, the first 20 inverter switches, consecutively switches also the second 21 inverter. At this point, at the output of the second 21 inverter it will be present a high value logical Vc equals to the Vdd voltage; that it is reflected on the voltage Va through the capacitor divider C and Cs with positive voltage jump, that it is to be added to the voltage Va, and equals to<maths id="math0002" num=""><math display="block"><mrow><mtext mathvariant="italic">Vam</mtext><mtext>=</mtext><mtext mathvariant="italic">Vdd</mtext><mtext>∗</mtext><msup><mfenced open="(" close=")"><mrow><mfrac><mrow><mtext mathvariant="italic">C</mtext></mrow><mrow><mtext mathvariant="italic">C</mtext><mtext>+</mtext><mtext mathvariant="italic">Cs</mtext></mrow></mfrac></mrow></mfenced><mrow><mtext>-</mtext></mrow></msup></mrow></math><img id="ib0002" file="imgb0002.tif" wi="35" he="7" img-content="math" img-format="tif"/></maths></p>
<p id="p0020" num="0020">The event that provokes the switching of the inverters, and particularly the Vb voltage at the output of the second 20 inverter, causes the opening of the first switch 23 and the closing of the second switch 24, and that is the interruption of the current I1 of charging of the capacitor C and the deliver of the current I2 of discharge. At this point the second semiperiod T2 starts in which the voltage Va is a descent ramp, that will stop when it has become lesser than the threshold voltage Vtha.</p>
<p id="p0021" num="0021">The values of the two semiperiods T1 and T2 have been given by the following relationships.<maths id="math0003" num=""><math display="block"><mrow><mtext mathvariant="italic">T</mtext><mtext>2=</mtext><mfrac><mrow><mtext mathvariant="italic">Vam</mtext></mrow><mrow><mtext mathvariant="italic">I</mtext><mtext>2</mtext></mrow></mfrac><mtext>(</mtext><mtext mathvariant="italic">C</mtext><mtext>+</mtext><mtext mathvariant="italic">Cs</mtext><mtext>) = </mtext><mfrac><mrow><mtext mathvariant="italic">Vdd</mtext></mrow><mrow><mtext mathvariant="italic">I</mtext><mtext>2</mtext></mrow></mfrac><mtext mathvariant="italic">C</mtext><mtext>   </mtext><mtext mathvariant="italic">T</mtext><mtext>1 = </mtext><mfrac><mrow><mtext mathvariant="italic">Vam</mtext></mrow><mrow><mtext mathvariant="italic">I</mtext><mtext>1</mtext></mrow></mfrac><mtext>(</mtext><mtext mathvariant="italic">C</mtext><mtext>+</mtext><mtext mathvariant="italic">Cs</mtext><mtext>) = </mtext><mfrac><mrow><mtext mathvariant="italic">Vdd</mtext></mrow><mrow><mtext mathvariant="italic">I</mtext><mtext>1</mtext></mrow></mfrac><mtext mathvariant="italic">C</mtext></mrow></math><img id="ib0003" file="imgb0003.tif" wi="114" he="9" img-content="math" img-format="tif"/></maths></p>
<p id="p0022" num="0022">In the case in which I1 and I2 are equal it is T1= T2= T.</p>
<p id="p0023" num="0023">It is to be noted as the two semiperiods T1 and T2 are independent from the voltage threshold Vtha of switching of the first 20 inverter and besides they are independent from the capacitor Cs.<!-- EPO <DP n="5"> --></p>
<p id="p0024" num="0024">The two semiperiods T1 and T2 are instead sensitive to the delay, not considered in the above formulas, with which the first 20 inverter switches its own output starting from the moment in which the input voltage Va is crossing upwards or downwards the Vtha threshold.</p>
<p id="p0025" num="0025">The first 20 inverter effects the function of threshold comparator. Each threshold comparator requires an overdrive (overdrive) which represents that voltage value for which the theoretical threshold value must be overcome to get the complete switching of the output of the comparator itself. This overdrive is necessary to the input stage of the comparator for generating those current that must charge the inevitable stray capacitors associated to those knots, inside the comparator, whose voltage must vary. The overdrive can be reduced increasing the gm (variation of current divided by variation of the input voltage) of the input stage in order to get large current with small overvoltage. The overdrive can be also reduced simplifying the circuit structure of the comparator with consequent reduction of the stray capacitors.</p>
<p id="p0026" num="0026">Both these arrangements carry inevitably to a threshold value not very controllable in absolute value.</p>
<p id="p0027" num="0027">The overdrive of a comparator used. in an oscillator introduces, therefore, an error in the oscillation frequency because lengthens the times T1 and T2 of a variable quantity with the manufacture process and with the working conditions (temperature most of all), therefore it is opportune to take all the useful arrangements to reduce it.</p>
<p id="p0028" num="0028">An oscillator according to the present invention, the period of which doesn't depend on the threshold voltage, can allows or does not allow the precision respects the comparator speed of the threshold comparator, it is in fact possible to design a comparator, with known techniques, in which speed take advantage over precision. Thanks to this greater speed the overdrive problem is minimized.</p>
<p id="p0029" num="0029">In figure 4 a simplified scheme of an embodiment of an oscillator<!-- EPO <DP n="6"> --> according to the present invention is represented.</p>
<p id="p0030" num="0030">To be noted the inverter 20 and 21, represented in this case by means of two MOS transistors, and the capacitors C and Cs already present in figure 2.</p>
<p id="p0031" num="0031">The switches 23 and 24 of figure 2 are preferably carried out by means of a further inverter 30, the current generators 22 and 25 of figure 2 are preferably carried out by means of two MOS transistors and respectively referred with the reference 31 and 32. Such transistors 31 and 32 deliver the current I1 and I2, in this embodiments they are identical, and are controlled by means of a current mirror 33, which is in turn is driven by a current generator 34.</p>
<p id="p0032" num="0032">The current generator 34 comprises a resistive divider connected between the voltage supply Vdd and ground constituted of two resistances R1 and R2 which deliver a reference voltage to an operational amplifier 35. The operational amplifier 35, working as voltage follower, drives a MOS transistor 36 (in this case of P type), whose source is connected to the voltage supply Vdd through a R resistance, and the drain is connected to a MOS transistor of the current mirror 33.</p>
<p id="p0033" num="0033">The figure 4 shows as for instance the two switches 23 and 24 carried out by means of the two MOS transistors that constitute the inverter 30.</p>
<p id="p0034" num="0034">Such MOS transistors have the body terminal normally connected to Vdd, for the pmos type, or to ground, for the nmos type. This configuration involves the presence of stray diodes that don't allow to the Va voltage, at the input of the first 20 inverter, to go above the Vdd voltage or below the ground voltage.</p>
<p id="p0035" num="0035">When the Va voltage is next to the supply voltages (Vdd and ground) the stray diodes become active and therefore a fraction of the current I1 or I2 will flow in the diodes. In this way the charging and discharging current of the capacitor C results altered from the current flowing in the stray diodes.</p>
<p id="p0036" num="0036">Placing the capacitor Cs between Va and ground (but it can also be<!-- EPO <DP n="7"> --> connected between Va and Vdd) limits the voltage step to be applied to Va. The Vam value delivered by the divider C and Cs is calculated so that, this value added or subtracted from the Vtha threshold value, never overcomes Vdd or ground, getting in this way a precise charging and discharging current of the Va voltage not altered by the activation of the stray diodes, the current of which would alter the oscillator period in a not very predictable way.</p>
<p id="p0037" num="0037">A further reason to limit the Va voltage value is that the oxide with which the transistors input gate of the inverters is manufactured would result periodically stressed by voltage values higher than all the other transistors. That would involve a technological over dimensioning of all the oxides to support the over voltage, with a performances degrade of all those transistors not interested by such over voltage. As alternative it would require an increasing of technological complexity to build two different oxides, one for the normal voltages and an other appropriate one for the input transistors of the inverter.</p>
<p id="p0038" num="0038">The resistances R1, R2 and R determine the current I delivered by the current generator 34, in fact<maths id="math0004" num=""><math display="block"><mrow><mtext>α</mtext><mtext mathvariant="italic">Vdd</mtext><mtext>=</mtext><mtext mathvariant="italic">Vdd</mtext><mfrac><mrow><mtext mathvariant="italic">R</mtext><mtext>2</mtext></mrow><mrow><mtext>(</mtext><mtext mathvariant="italic">R</mtext><mtext>1+</mtext><mtext mathvariant="italic">R</mtext><mtext>2)</mtext></mrow></mfrac></mrow></math><img id="ib0004" file="imgb0004.tif" wi="36" he="10" img-content="math" img-format="tif"/></maths><maths id="math0005" num=""><math display="block"><mrow><mtext mathvariant="italic">I</mtext><mtext>=</mtext><mfrac><mrow><mtext>α</mtext><mtext mathvariant="italic">Vdd</mtext></mrow><mrow><mtext mathvariant="italic">R</mtext></mrow></mfrac></mrow></math><img id="ib0005" file="imgb0005.tif" wi="16" he="9" img-content="math" img-format="tif"/></maths></p>
<p id="p0039" num="0039">Being the current I1= I2= I it is that<br/>
   It can be seen therefore that the period could be linearly controlled by<maths id="math0006" num=""><math display="block"><mrow><mtext mathvariant="italic">T</mtext><mtext>1=</mtext><mtext mathvariant="italic">T</mtext><mtext>2=</mtext><mtext mathvariant="italic">T</mtext><mtext>=</mtext><mfrac><mrow><mtext mathvariant="italic">Vdd</mtext></mrow><mrow><mtext mathvariant="italic">I</mtext></mrow></mfrac><mtext mathvariant="italic">C</mtext><mtext>=</mtext><mfrac><mrow><mtext mathvariant="italic">RC</mtext></mrow><mrow><mtext>α</mtext></mrow></mfrac></mrow></math><img id="ib0006" file="imgb0006.tif" wi="43" he="9" img-content="math" img-format="tif"/></maths> the Vdd voltage. The oscillation frequency can be linearly controlled by the current I. The length of the two semiperiods T1 and T2 could be eventually controlled by two currents I1 and I2 generated by two separate current generators.<!-- EPO <DP n="8"> --></p>
<p id="p0040" num="0040">The oscillation period can also be made independent by the supply voltage Vdd through the uses of the R, R1 and R2 resistances, generating charging and discharging current proportional (α factor) to the voltage supply.</p>
<p id="p0041" num="0041">The technological variations of the capacitor C of the resistance R, from which the frequency of oscillation depends, can be recovered controlling, by calibrating the value of R or the value of R1 and R2 and therefore the factor a.</p>
<p id="p0042" num="0042">If the resistance R has a known dependence on the temperature, like it happens in the integrated technology, a recovery would be possible in a known way for instance selecting an operational amplifier 35 having an input offset which varies with the temperature.</p>
<p id="p0043" num="0043">The oscillator can be carried out with integrated technology using only an external component (the resistance R) getting in this way an elevated stability at the varying of the temperature and the VDD (variation of frequency lesser than 1% in the normal use conditions in which Vdd changes of the ±10% and the temperature change from- 40°C to + 150°C).</p>
<p id="p0044" num="0044">The extreme rapidity of switching of the first 20 inverter with function of threshold comparator, allows a use, of the oscillator according to the present invention, up to frequencies moderately elevated (10 MHz), in which good stability and linearity characteristics are still guaranteed.</p>
</description><!-- EPO <DP n="9"> -->
<claims id="claims01" lang="en">
<claim id="c-en-0001" num="0001">
<claim-text>Oscillator comprising:
<claim-text>- a first inverter having a first input and a first output;</claim-text>
<claim-text>- a second inverter having a second input and a second output; said first output being coupled to said second input;</claim-text>
<claim-text>- a first capacitor applied between said second output and said first input;</claim-text>    characterized by further comprising
<claim-text>- a first current generator generating a first prefixed current able to charge said capacitor responsive to a first control signal;</claim-text>
<claim-text>- a second current generator generating a second prefixed current able to discharge said capacitor responsive to a second control signal;</claim-text>    said first and second control signal being complementary.</claim-text></claim>
<claim id="c-en-0002" num="0002">
<claim-text>Oscillator according to claim 1 characterized in that said first and second generator are connectable to said first input through two switches controlled from said first and second control signal.</claim-text></claim>
<claim id="c-en-0003" num="0003">
<claim-text>Oscillator according to claim 1 characterized in that said two switches are essentially constituted by a third inverter having a third input, connected to said second output, and a third output connected to said first input.</claim-text></claim>
<claim id="c-en-0004" num="0004">
<claim-text>Oscillator according to claim 3 characterized in that said third inverter is connected to a first supply voltage through said first current generator and to a second supply voltage through said second current generator.</claim-text></claim>
<claim id="c-en-0005" num="0005">
<claim-text>Oscillator according to claim 1 characterized by comprising a second capacitor connected between said first input and a supply voltage.</claim-text></claim>
<claim id="c-en-0006" num="0006">
<claim-text>Oscillator according to claim 1 characterized in that said first and second generator comprises a current generator, a positive current mirror generating a current able to charge said capacitor, and a negative current mirror generating a current able to discharge said capacitor.</claim-text></claim>
<claim id="c-en-0007" num="0007">
<claim-text>Oscillator according to claim 1 characterized in that said first and<!-- EPO <DP n="10"> --> second generator deliver a current proportional to the supply voltage.</claim-text></claim>
<claim id="c-en-0008" num="0008">
<claim-text>Oscillator according to claim 1 characterized in that said first and second generator are calibrated.</claim-text></claim>
<claim id="c-en-0009" num="0009">
<claim-text>Oscillator according to claim 1 characterized in that said first and second prefixed currents are equal.</claim-text></claim>
<claim id="c-en-0010" num="0010">
<claim-text>Oscillator according to claim 1 characterized in that said first and second prefixed currents are independent from the threshold voltage of said inverters.</claim-text></claim>
</claims><!-- EPO <DP n="11"> -->
<drawings id="draw" lang="en">
<figure id="f0001" num=""><img id="if0001" file="imgf0001.tif" wi="138" he="214" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="12"> -->
<figure id="f0002" num=""><img id="if0002" file="imgf0002.tif" wi="163" he="203" img-content="drawing" img-format="tif"/></figure>
</drawings><!-- EPO <DP n="9000"> -->
<search-report-data id="srep" lang="en" srep-office="EP" date-produced=""><doc-page id="srep0001" file="srep0001.tif" wi="153" he="231" type="tif"/><!-- EPO <DP n="9001"> --><doc-page id="srep0002" file="srep0002.tif" wi="153" he="232" type="tif"/></search-report-data>
</ep-patent-document>
