Integrated circuit generating at least a voltage linear ramp having a slow rise

Abstract: Integrated circuit (20, 80, 90) generating at least a voltage linear ramp having a slow rise of the type comprising an input terminal (21, 81, 91), connected to a first voltage reference (VREF) and an output terminal (24, 84, 94) adapted for providing a controlled ramp signal (V RAMP ), the circuit comprising at least one operational amplifier (OP3) having a non-inverting input terminal connected to said input terminal (21, 81, 91) and to an output terminal in feedback on an inverting input terminal and connected to the output terminal (24, 84, 94) of the ramp generator circuit (20, 80, 90) itself. The ramp voltage generator (20, 80, 90) according to the invention further comprises a first storage capacitance (Cs) connected between the non-inverting input terminal of the operational amplifier (OP3) and a ground voltage reference (GND) and loaded by means of a second pumping capacitance (Cp) inserted in parallel to said first capacitance (Cs) between the input terminal (21, 81, 91) of the ramp generator circuit (20, 80, 90) and the ground voltage reference (GND).

Description: Field of application The present invention relates to an integrated circuit generating at least a voltage linear ramp having a slow rise. More specifically, the invention relates to an integrated circuit generating at least a voltage linear ramp having a slow rise of the type comprising an input terminal connected to a first voltage reference, and an output terminal, adapted for providing a controlled ramp voltage signal, the circuit comprising at least one operation amplifier having a non-inverting input terminal connected to said input terminal and an output terminal in feedback to an inverting input terminal and connected to the output terminal of the ramp generator circuit itself. The invention also relates to a battery/battery charger system, in particular for cellular telephones, of the type comprising a device for controlling the switching fronts of the current supplied by a power transistor provided between said battery-charger and said battery. In particular but not exclusively, the invention relates to an integrated circuit for cellular telephony applications and the following description is made with reference to this field of application, only in order to simplify its illustration. Prior art. As known in the field of cellular telephony, when the battery of the mobile phone equipment is down, it is very important to charge it with a constant current and having a lower value than that provided by the battery-charger. As soon as the battery reaches a voltage value such to let the phone operate again, it is charged in PWM mode, that is with the maximum current available from the battery charger, but with a frequency and a duty cycle that are managed by a microprocessor MP. From the above described charging mode, the need arises of controlling the charge current fronts of the battery (charging slew rate of about 600 mA/ms) in order to avoid that quick switches may disturb the communication. A known solution, disclosed in the European Patent published under No. 0 881 770, in the name of the Applicant, is shown in figure 1. In particular, in the circuit 1 of figure 1, a voltage signal is used (VRAMP) having controlled rise and fall fronts. Such signal is converted in a current signal (IR) that is then mirrored at the output of the device (I0) on a power transistor, thus obtaining a precise control of the current fronts of the transistor. In circuit 1, hence, a MOS transistor is used in order to obtain low signal propagation times between input and output and a very precise control of the output current and of the switch fronts. Circuit 1 is inserted between a battery-charger, schematically indicated with 2 and represented by a current generator connected to a VCH terminal, and a battery 3 connected to a VBAT terminal. It is possible to distinguish in such circuit the following circuital portions: a power transistor PW of MOS type having a Drain-Source main conduction path connected between the VCH and VBAT terminals of the circuit; a drive circuit 12 of the power transistor PW comprising an operational amplifier OP1, fed by a positive voltage VCP higher than the voltage of terminal VCH and a transistor PS coupled to the power transistor PW; a voltage-current converter block 11 comprising an operational amplifier OP2, a transistor N2 and a resistance R2, with the task of converting a voltage waveform VRAMP at its positive input in a current waveform I R proportional to the value of the resistance R2; a variable voltage generator with controlled fronts VRAMP comprising a current generator I1 and a low-pass filter, schematically illustrated by a condenser C1. An analysis of the generation of the current I R will be carried out in the following. The value set on the current generator I1 is filtered by the low-pass filter C1 obtaining a voltage signal VRAMP with controlled fronts. By means of the voltage-current converter block 11, the voltage VRAMP, applied at a non-inverting input of the operational OP2, is converted in a current I R , whose pattern with time is that of the signal VRAMP and whose value is inversely proportional to the resistance R2. The current slew rate is defined by the following equation: Δ I 0 Δ t = n × Δ I R Δ t = n × Δ V RAMP Δ t × 1 R 2 = n × I 1 C 1 × 1 R 2 wherein n is the area ratio of the transistors PS and PW. The current I R is multiplied by the area ratio of the transistors PS and PW generating the output current I 0 supplied to the battery 3. The operational OP1 has the function of driving the gate node VG of the transistors PS and PW in order to maintain the current ratio I 0 /I R set by the area ratio n between PS and PW. The charge current fronts of the battery are controlled by means of such circuit; therefore it is possible to adjust the slew rate in accordance to the application. In the field of cellular telephony, the current slew rate required is 600 mA/ms; if n = 1000 and R2 = 500 Ω it is necessary to generate a voltage ramp ΔVRAMP/Δt = 300 mV/ms. One way of generating such linear voltage ramp is that of loading a capacitance with a constant current I; in such a case, if I=1 µA, a capacitance C =3.33 nF is required. Circuit 1 of known type generates the voltage ramp required in that it loads a capacitance C1 by means of a constant current generator. The disadvantage of such solution is that the capacitance C1 cannot be integrated because of its very high value, which is necessary for obtaining very slow voltage ramps as required by the specific application. Also known from EP 0 745 996 A in the name of STMicroelectronics SA is a digital ramp generator including first, second and third capacitances. In particular, the first capacitance is connected between an input terminal of a voltage follower and a ground reference, the second capacitance is connected to an input terminal of the generator and the ground reference by means of a first and a second switch, and the third capacitance is connected to the ground reference as well as to the output terminal of the voltage follower by means of a third switch. It should be noted that the ramp generator described in EP 0 745 996A obtains the voltage ramp steps by connecting the first capacitance in series with the second and third capacitances. Such second and third capacitances should thus be much larger than the first capacitance, in order to allow good performances of the generator in terms of linearity and precision of the ramp signal so generated. So, also this known solution has the disadvantage of requiring high value capacitances that cannot be easily integrated. The technical problem at the basis of the present invention is that of devising a voltage generator circuit which can be completely integrated and allows to obtain a very slow linear voltage ramp for use with cellular telephony, having structural and functional features such to overcome the limitations of the devices realised according to the prior art. Summary of the invention The resolutive idea at the basis of the present invention, is that of loading "packet-wise" a so-called "storage" capacitance by means of a so-called "pumping" capacitance, which is in turn loaded with always the same voltage reference and clock frequency. On the basis of this resolutive idea the technical problem is resolved by a ramp generator of the previously indicated type and defined in the attached claims. The features and the advantages of the device according to the invention will result from the following description of an embodiment thereof which is reported for indicative and non limiting purposes, with reference to the attached drawings. Brief description of the drawings: In such drawings: fig.1 shows a circuit for controlling the switching fronts of a power transistor, realised according to the prior art; fig, 2 shows a ramp generator circuit realised according to the present invention; fig. 3 shows the pattern as a function of time of signals generated inside the generator circuit of fig. 2; fig. 4 shows an electrical simplification of a detail of the generator circuit of fig. 2 in a first operating condition; fig. 5 shows the pattern of the main waveforms of the generator circuit of fig. 2; fig. 6 shows the pattern as a function of time of signals obtained by means of electrical simulation of the generator circuit of fig. 2; fig. 7 shows an electrical simplification of a detail of the generator circuit of fig. 2 in a second operating condition; fig. 8 shows a possible application of the generator circuit of fig. 2; fig. 9 shows a different embodiment of the generator circuit of fig. 8. Detailed description With reference to such drawings, the linear ramp generator circuit according to the invention is globally and schematically indicated with numeral 20. The ramp generator circuit 20 can be completely integrated and is able to generate a very slow linear voltage ramp. The ramp generator circuit 20 has an input terminal 21, a first and a second control terminal 22, 23. The terminal 21 is connected to a voltage reference VREF, whilst the terminals 22 and 23 receive a first and second clock signal CLKA, CLKB respectively. Further on, an output terminal 24 is provided, adapted for providing a controlled ramp voltage signal VRAMP. The ramp generator circuit 20 comprises an operational amplifier OP3 as well as a first, second, third and fourth active passgate PA1, PA2, PB1 and PB2, respectively. The operational amplifier OP3 has a non-inverting input terminal connected to the input terminal 21 of the ramp generator circuit 20 by means of the series of the first and third active passgates PA1, PB1, as well as an inverting input terminal connected to the output terminal, in turn connected to the output terminal 24 of the ramp generator circuit 20 itself. The active passgates PA1 and PA2 have respective drive terminals connected each other and to said first control terminal 22 of the ramp generator circuit 20. Analogously , the active passgates PB1 e PB2 have respective drive terminals connected each other and to said second control terminal 23 of the ramp generator circuit 20. Inside the ramp generator circuit 20 it is possible to distinguish a first, a second and a third inner circuital node A, B and C, respectively. The first node A is located between the first active passgate PA1 and the second active passgate PB1 and it is connected to a reference signal, in particular a ground GND, by means of the series of a so-called "pumping" capacitance Cp and of the third passgate PA2. The second node B is located between the second passgate PB1 and the non-inverting input terminal of the operational amplifier OP3 and it is connected to the ground GND by means of a so-called "storage" capacitance Cs. The third node C is located between the "pumping" capacitance Cp and the third passgate PA2 and it is connected to the output terminal 24 of the ramp generator circuit 20 by means of the fourth passgate PB2. With the structure described for the ramp generator circuit 20, it is possible to load "packet-wise" the so-called "storage" capacitance Cs by means of the "pumping" capacitance Cp, which is loaded always at the voltage reference VREF with the clock frequency. In particular, the passgates PA1, PA2 and PB1, PB2 are active passgates when the control signal applied to their drive terminals is at a first logical value, for example at a high or "1" logical value. It is useful to note that the clock signals CLKA and CLKB are generated by a clock signal CLK of the ramp generator circuit 20 according to the pattern shown in figure 3. During the time interval T1 the passgates PA1, PA2 are closed and the passgates PB1, PB2 are open; the "pumping" capacitance CP is loaded at the voltage VREF. The amount of charge stored in said "pumping" capacitance CP is: Q Cp = C p × V REF Then, during the time interval T2, the passgates PA1 and PA2 are open and the passgates PB1 and PB2 are closed; the charge stored by the "pumping" capacitance Cp splits between the two capacitances of "pumping" Cp and "storage" Cs: Qtot = QCp = Cp × VREF = (Cp + Cs) × V2 Hence, after the first cycle of clock signals CLK, the "storage" capacitance Cs is loaded at the voltage : V RAMP = Cp Cp + Cs × V REF In order to guarantee the voltage ramp linearity it is required that also in the next clock signal cycles the amount of charge that is transferred from the "pumping" capacitance Cp to the "storage" capacitance Cs be always the same. To this end, during the time interval T2 the third node C is connected to the output terminal 24 of the operational amplifier OP3, as schematically shown in figure 4, replacing the passgates PA1 and PA2, PB1 and PB2 with the respective electrical equivalents (short circuit or open circuit). As is evident from said figure 4, at the time the passgates PB1 and PB2 are closed, the voltage at the second node B is equal to V RAMP (n) = V REF + V RAMP (n-1) The amount Q of charge transferred to the n-th cycle by the "pumping" capacitance Cp to the "storage" capacitance Cs is given by the following formula: Q = Cp×(V RAMP (n) -V RAMP (n-1) )=Cp×(V REF + V RAMP (n) -V RAMP (n-1) ) = Cp×V REF that is to say, the amount Q of charge is equal to that transferred during the first cycle, when the "storage" capacitance Cs was completely discharged. The pattern of voltages at the first node A and at the second node B (the signal at node B being equal to V RAMP ) is shown in figure 5. As the amount of charge transferred is always the same, the voltage step ΔV is equal to the voltage at node B after the first charging cycle, that is to say Δ V = Cp Cp + Cs × V REF In order to obtain the value of slew rate of the VRAMP voltage, it is enough to divide ΔV by the clock signal CLK period T (or to multiply it by the frequency f), thus obtaining: ΔV RAMP Δt = Δ V T = Cp Cp + Cs × V REF T = Cp Cp + Cs × V REF × f As is evident from figure 5 that shows the principle pattern of the principal waveforms, the voltage ramp that is obtained , it is not a straight line but a ramp consisting of steps corresponding to the value ΔV. In order to decrease the value ΔV, and therefore render the voltage ramp as close as possible to the pattern of a straight line, it is possible to adjust the parameters of the equation (8). Supposing to fix the voltage value VREF and the pumping capacitance Cp, it is possible, by varying the other parameters, to obtain different patterns of the VRAMP voltage, as shown in figure 6. From such figure 6, it can be deduced that for values of the "storage" capacitance Cs much higher than those of the "pumping" capacitance Cp, the voltage step ΔV is remarkably reduced. It is further evident that the half-period of the clock signal CLK must be bigger than the loading time constant of the "storage" capacitance Cs. In figure 7, the electrical equivalent of the ramp generator circuit 20 of figure 2 is represented during the time interval T2 wherein passgates PA1 and PA2 are open whereas passgates PB1 and PB2 are closed. In such electrical equivalent, the resistances R1 and R2 for passgates PB1 and PB2 have been respectively introduced in series in order to calculate the time constants. In particular, as result, the circuit time constant τ is equal to: τ = ( R 1+ R 2)× C p × C s C p + C s For the equation (8) for the calculation of the slew rate to be correct, it is needed that the time constant τ be less than the half-period T2 during which the "storage" and "pumping" capacitances Cp and C, respectively, are connected through the passgates PB1 and PB2. The following equation becomes true: T2 = T 2 = 1 2 + f > 4 × τ that is to say f < 1 8 × τ If such condition is not satisfied, it is needed to correct the slew rate formula introducing the exponential term as well, thus obtaining: Another factor to be considered is the leakage current on the second node B, which, during the T1 interval, would cause the "storage" capacitance Cs to discharge, influencing the slew rate final value. In order to attenuate the effect of the leakage current, it is advisable to use a "storage" capacitance Cs of very high value. Assuming the leakage to be null, a good matching between the "pumping" capacitance Cp and the "storage" capacitance Cs to exist and further disregarding the offset of the operational amplifier OP3, the error which occurs in the calculation of the slew rate value and which is due to the process spreads, is given by: Therefore, the precision of the slew rate value essentially depends upon the precision of the voltage reference V REF and upon the clock signal frequency. The ramp generator circuit 20 according to the invention has the task of generating a rise linear voltage ramp. Introducing two further passgates, it is possible to realise a circuit 80 for generating also a fall linear voltage ramp, as illustrated schematically in figure 8. The fall ramp generator circuit 80 has a base structure identical to the ramp generator circuit 20. Identical numerals have been used to indicate like elements in terms of arrangement and operation. Analogously to the ramp generator 20 of figure 2, the generator circuit 80 has an input terminal 81, a first and a second control terminal 82 and 83, respectively. Terminal 81 is connected to a voltage reference VREF, whilst terminals 82 and 83 receive a first and a second clock signal CLKA and CLKB respectively. An output terminal 84 is also provided, which is adapted for providing a controlled ramp voltage signal V RAMP . The generator circuit 80 further comprises of a fifth and a sixth passgate PC1 and PC2, inserted between the first node A and the output terminal 84 and the second node B and the third node C, respectively. Passgates PC1 and PC2 have respective drive terminals connected to a third control terminal 81, which in turn receives a third clock signal CLKC. The passgates PC1 and PC2 are controlled by the third clock signal CLKC and permit the generation of the fall voltage ramp. The third clock signal CLKC is equal to the second clock signal CLKB. Advantageously, according to the invention, the two clock signals CLKB and CLKC cannot be contemporarily active. In this way, during the generation of the rise ramp the passgates PC1 and PC2 are always open, because the second clock signal CLKB is active, whereas in dual way during the fall ramp the passgates PB1 and PB2 are always open and the active signal is the third clock signal CLKC. An analysis of the fall ramp generator circuit 80 will be now carried out, assuming that the storage capacitance Cs is loaded at the final voltage V RAMP . During the half-period T1, the "pumping" capacitance loads up to the reference voltage V REF by means of the passgates PA1 and PA2. During the half-period T2, the passgates PC1 and PC2 are closed and the voltage at the second node B becomes equal to : V RAMP (n) = V RAMP (n-1) - V REF Hence , the amount of charge transferred by the "pumping" capacitance Cp to the "storage" capacitance Cs is equal to: The sign "-" on the transferred charge indicates that the "storage" capacitance Cs discharges according to a sequence of charge packets always of the same value. A further simple modification permits to obtain a generator circuit 90 of two voltage ramps, one of which is a rise ramp and the other is a fall ramp, with different slew rate, as illustrated in figure 9. The double ramp generator circuit 90 has a base structure which is identical to that of the ramp generator circuit 20 and to that of the fall ramp generator circuit 80. Identical numerals have been used to indicate like elements in terms of arrangement and operation. Analogously to the ramp generator circuit 20 of figure 2 and to the fall ramp generator circuit 80 of figure 8, the double ramp generator circuit 90 has an input terminal 91, a first and a second control terminal 92 and 93. The terminal 91 is connected to a voltage reference VREF whilst the terminals 92 and 93 receive a first and a second clock signal CLKA, CLKB, respectively. An output terminal 94 is further provided, adapted for providing a controlled ramp voltage signal V RAMP . The generator circuit 90 further comprises of a fifth and a sixth passgates PC1 and PC2, having respective drive terminals connected to a third control terminal 95 of the generator circuit 90 as well as a seventh and an eighth passgates PD1 and PD2, having respective drive terminals connected to a fourth control terminal 96 of the generator circuit 90. In particular, the fifth and the seventh passgates PC1 and PD1, respectively, are connected in series between the input terminal 91 and the output terminal. The double ramp generator circuit 90 comprises, further on, an additional "pumping" capacitance Cpf, provided in series to the eighth passgate PD2, between a fourth node D intermediate between passgates PD1 and PC1, and the ground GND. Finally, the sixth passgate PC2 is inserted between the second node B and a further fifth node E, intermediate with respect to the additional pumping capacitance Cpf and to the eighth passgate PD2. Maintaining the parameters f, Cs and V REF unchanged, it is possible to generate, by means of the generator circuit 90 of figure 9, two respective voltage ramps, the one being a rise ramp, the other being a fall ramp. This is effected by suitably choosing the values of the pumping capacitance Cp and Cpf, respectively. The generator circuits according to the invention find particular application in the interface between battery-charger and main battery, whose main task is that of controlling the charging of the battery. They also permit to reduce the size of the phone equipment and therefore the cost thereof, a requirement which is particularly felt in the field of the cellular telephony, reducing the number of discrete components present in the application. The advantages obtainable by the generator circuits according to the invention can be summed up as follows: full capability of being integrated, a slew rate value little dependent upon the process spreads; wide range of application.

Claims: Integrated circuit (20, 80, 90) generating at least one voltage linear ramp having a slow rise of the type comprising an input terminal (21, 81, 91), connected to a first voltage reference (V REF ) and an output terminal (24, 84, 94) adapted for providing a controlled ramp signal (V RAMP ), the circuit comprising: at least one operational amplifier (OP3) having a non-inverting input terminal connected to said input terminal (21, 81, 91) and to an output terminal in feedback on an inverting input terminal and connected to the output terminal (24, 84, 94) of the ramp generator circuit (20, 80, 90) itself; a first storage capacitance (Cs) connected between the non-inverting input terminal of the operational amplifier (OP3) and a ground voltage reference (GND); and a second pumping capacitance (Cp) having a first terminal (A) selectively connected to the input terminal (21, 81, 91) of the ramp generator circuit (20, 80, 90) and having a second terminal (C) selectively coupled to the ground voltage reference (GND) in order to load said first capacitance (Cs), characterised in that it further comprises: a first active passgate (PB1), connected between the first terminal (A) of said second capacitance (Cp) and the non-inverting input terminal of the operational amplifier (OP3). a second active passgate (PB2), inserted between a second terminal (C) of said second capacitance (Cp) and the output terminal (24, 84, 94) of ramp generator circuit (20, 80, 90). Generator circuit (20, 80, 90) of at least one linear voltage ramp according to claim 1, characterised in that said first and second active passgate (PB1, PB2) have respective drive terminals connected to each other and to a first control terminal (23, 83, 93) of the ramp generator circuit (20, 80, 90) receiving a first clock signal (CLKB). Generator circuit (20, 80, 90) of at least one linear voltage ramp according to claim 2, characterised in that it further comprises: a third active passgate (PA1), inserted between the input terminal (21, 81, 91) of the ramp generator circuit (20, 80, 90) and said first terminal (A) of the second capacitance (Cp); a fourth active passgate (PA2), inserted between said second terminal (C) of the second capacitance (Cp) and the ground voltage reference (GND). Generator circuit (20, 80, 90) of at least one linear voltage ramp according to claim 3, characterised in that said third and fourth active passgates (PA1, PA2) have respective drive terminals connected to each other and to a second control terminal (22, 82, 92) of the ramp generator circuit (20, 80, 90) receiving a second clock signal (CLKA). Generator circuit (80, 90) of at least one linear voltage ramp according to claim 3, characterised in that it further comprises: a fifth active passgate (PC1), inserted between said first terminal (A) of the second capacitance (Cp) and the output terminal (84, 94) of the ramp generator circuit (80, 90); and a sixth active passgate (PC2), inserted between said first terminal (B) of the first capacitance (Cs) and said second terminal (c) of the second capacitance (Cp). Generator circuit (80, 90) of at least one linear voltage ramp according to claim 5, characterised in that said fifth and sixth active passgates (PC1, PC2) have respective drive terminals connected to a third further control terminal (85, 95) of the ramp generator circuit (80, 90), in turn receiving a third clock signal (CLKC). Generator circuit (90) of at least one linear voltage ramp according to claim 4, characterised in that it further comprises a third capacitance (Cpf), inserted between the input terminal (91) and the ground voltage reference (GND), in order to generate at least one further linear voltage ramp with a different slew rate. Generator circuit (90) of at least one linear voltage ramp according to claim 7, characterised in that it further comprises: a fifth passgate (PC1), inserted between a first terminal (D) of said third capacitance (Cpf) and the output terminal (94) of the ramp generator circuit (90); a sixth passgate (PC2), inserted between said first terminal (B) of the first capacitance (Cs) and a second terminal (E) of the third capacitance (Cpf); a seventh passgate (PD1), inserted between the input terminal (91) and said first terminal (D) of the third capacitance (Cpf); and a eighth passgate (PD2), inserted between the second terminal (E) of the third capacitance (Cpf) and the ground voltage reference (GND). Generator circuit (80, 90) of at least one linear voltage ramp according to claim 8, characterised in that said fifth and sixth active passgates (PC1, PC2) have respective drive terminals connected to a third further control terminal (85, 95) of the ramp generator circuit (80, 90), in turn receiving a third clock signal (CLKC), while said seventh and eighth active passgates (PD1, PD2) have respective drive terminal connected to a further fourth control terminal (96) of the ramp generator circuit (90), in turn receiving a fourth clock signal (CLKD). Device (1) for controlling the switching fronts of the current supplied by a power transistor (PW) having at least one control terminal (G) and two main conduction terminals (D, S), characterised in that it comprises a linear voltage ramp generator according to any one of claims from 1 to 9. Battery-charger (2)/battery(3) system, in particular for cellular telephones, of the type comprising a device (1) for controlling the switching fronts of the current supplied by a power transistor (PW) inserted between said battery-charger (2) and said battery (3), characterised in that it comprises a linear voltage ramp generator according to any one of claims from 1 to 9.

Inventors: MILAZZO PATRIZIA, PULVIRENTI FRANCESCO, RIBELLINO CALOGERO, MILAZZO, PATRIZIA, PULVIRENTI, FRANCESCO, RIBELLINO, CALOGERO
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 1998
Main classification: H03K4
IPC codes: H03K17, H03K4