Field of the Invention
This invention relates to ramp signals and, in particular, to a circuit for providing a constant vertical ramp signal over a large operating frequency range.
Background of the Invention
There exists a need for generating vertical ramp signals in many applications such as in a time base processor for a multi-sync monitor. However, the amplitude variation of vertical ramp signals can vary significantly over a large operating frequency range. For example, part number TDA4851 manufactured by Philips provides a 2.4 voltage ramp signal with an amplitude variation of 3 percent over an operating frequency of 40 Hertz to 125 Hertz. This amplitude variation can be unacceptable in many applications.
Hence, there exists a need to generate a vertical ramp signal having minimum amplitude variation over a large operating frequency range.
Brief Description of the Drawings
FIG. 1 is a detailed schematic/block diagram illustrating a circuit for providing a voltage ramp signal in accordance with the present invention;
FIG. 2 is a graphical diagram illustrating typical wave forms of various signals associated with the circuit of FIG. 1; and
FIG. 3 is a graphical diagram illustrating simulation results of the voltage ramp signal generated by the circuit of FIG. 1 while operating at frequencies of 40 Hertz and 125 Hertz.
Detailed Description of the Drawings
Referring to FIG. 1 there is illustrated a detailed schematic/block diagram of circuit 10 for providing a voltage ramp signal (V.sub.RAMP). Circuit 10 includes comparator circuit 12 which has a first input coupled to an output of ramp generator 14 and second input coupled to receive a first reference voltage V.sub.REF1. The output of comparator circuit 12 is coupled to a first terminal of sampling capacitor 16 and to a first input of sample and hold circuit 18. A second terminal of capacitor 16 is returned to ground.
An output of sample and hold circuit 18 is coupled to a first input of transconductance amplifier 20. The second input of transconductance amplifier 20 is coupled to receive a second reference voltage V.sub.REF2. The output of transconductance amplifier 20 is coupled to clamping circuit 22 and to the output of ramp generator 14. Ramp generator 14, comparator circuit 12, and sample and hold circuit 18 all have respective inputs coupled to receive a vertical sync pulse signal, VERT.sub.-- SYNC.sub.-- PULSE.
In particular, ramp generator 14 includes transistor 30 having a base coupled to receive the vertical sync pulse signal and an emitter returned to ground. The collector of transistor 30 is coupled through ramp capacitor 32 and return to ground. Additionally, the collector of transistor 30 is coupled through current source 34 to a first supply voltage terminal at which the operating potential V.sub.CC is applied. Also, the collector of transistor 30 is coupled to the output of ramp generator 14 which provides voltage ramp signal V.sub.RAMP.
Comparator circuit 12 includes comparator 40 having a first input coupled to the output of ramp generator 14 and a second input coupled to receive voltage V.sub.REF1. Comparator 40 is enabled via the vertical sync pulse signal and is coupled to receive frequency switching signal FREQSW. A first output of comparator 40 is coupled to switchable current 42 while a second output of comparator 40 is coupled to switchable current source 44. Switchable current source 42 is coupled between the first supply voltage terminal and the output of comparator circuit 12 while switchable current source 44 is coupled between the output of comparator circuit 12 and ground reference.
Sample and hold circuit 18 includes buffer 50 having a first input coupled to the output of comparator circuit 12 and to the first terminal of sampling capacitor 16. The second input of buffer 50 is coupled to the output of buffer 50 and to the output of sample and hold circuit 18. The output of buffer circuit 50 is coupled through hold capacitor 52 and returned to ground.
In operation, when a vertical sync pulse signal is applied to circuit 10, transistor 30 rendered operative and begins to discharge ramp capacitor 32. However, due to clamping circuit 22, the voltage appearing at the collector of transistor 30, which is the voltage ramp signal (V.sub.RAMP), will not fall below a predetermined voltage, for example, 1.5 volts. Thus, the voltage across ramp capacitor 32 will be kept at a 1.5 volt minimum during the vertical sync period and this is the start up voltage for signal V.sub.RAMP.
Also during the vertical sync pulse period, comparator 40 is disabled while sample and hold circuit 18 is enabled. As a result, the voltage appearing across sampling capacitor 16 remains constant and is coupled through buffer circuit 50 and transferred across holding capacitor 52. Hold capacitor 52 applies a voltage at the first input of transconductance amplifier 20 which has the effect of adjusting the current at the output of transconductance amplifier 20 thereby adjusting the charging current for ramp capacitor 32. In this manner, the voltage appearing across hold capacitor 52 controls and adjusts the amplitude of the voltage ramp signal V.sub.RAMP as will be explained in detail hereinafter.
After the vertical sync pulse period, that is, when the vertical sync pulse signal transitions from a logic low to a logic high, transistor 30 is rendered non-operative and the ramp capacitor 32 will be charged up by a DC current via the current supplied from current source 34 less the current sunk by the output of transconductance amplifier 20. As a result, a voltage ramp signal across capacitor 32 is developed. This voltage ramp signal will start only at the end of the vertical sync period thereby eliminating vertical jittering.
During this pulse period, comparator 40 is enabled and the voltage ramp signal V.sub.RAMP is compared with a reference voltage V.sub.REF1 to control the charging and the discharging of sampling capacitor 16. If the center (mid-point) voltage of ramp signal V.sub.RAMP is the same as reference voltage V.sub.REF1, then current source 42 is enabled for the same amount of time that current source 44 is enabled and the charging and discharging time for sampling capacitor 16 is the same. As a result, the voltage across capacitor 16 will remain unchanged from the previous pulse period. However, if the center voltage of ramp signal V.sub.RAMP is NOT the same as reference voltage V.sub.REF1, then the resulting voltage across sampling capacitor 16 will decrease if the amplitude of ramp signal V.sub.RAMP is too small or will increase if the amplitude of voltage ramp signal V.sub.RAMP is too large. In this manner, the voltage across sampling capacitor 16 is a voltage indicative of the amplitude of voltage ramp signal V.sub.RAMP.
Referring to FIG. 2, a graphical diagram illustrating typical wave forms of various signals associated with the circuit of FIG. 1 is shown. During the first vertical sync pulse period as represented by pulse 60 of signal VERT.sub.-- SYNC.sub.-- PULSE, transistor 30 is rendered operative and signal V.sub.RAMP is discharged to a predetermined minimum voltage as set by clamping circuit 22, for example, 1.5 volts. The current through capacitor 16 as represented by wave form I.sub.C16, is substantially equal to zero since comparator 40 is rendered non-operative. Also, the voltage across capacitor 16, as represented by wave form V.sub.C16, is substantially constant. Moreover, it is this voltage across capacitor 16 that is held via sample and hold circuit 18 and fed back to the first input of transconductance amplifier 20.
Once pulse 60 disappears, transistor 30 is rendered non-operative and the voltage across capacitor 32 begins to increase as represented by line segment 62. For the portion that line segment 62 is below reference voltage V.sub.REF1, current source 44 discharges capacitor 16 wherein the current through capacitor 16 (I.sub.C16) is represented as a negative value as shown by line segment 64 and the voltage across capacitor 16 (V.sub.C16) is decreasing as represented by line segment 70.
However, once line segment 62 exceeds reference voltage V.sub.REF1, then current source 42 begins to charge capacitor 16 wherein the current through capacitor 16 has a positive value as represented by line segment 68 and the voltage across capacitor 16 (V.sub.C16) is increasing as represented by line segment 72.
In this example, it is important to note that since voltage V.sub.RAMP has increased its peak amplitude value from its previous peak amplitude value by a voltage as represented by dV.sub.1. As a result, the time spent charging capacitor 16 as represented by the length of line segment 68 is longer than the time spent discharging capacitor 16 as represented by the length of line segment 64. The voltage across capacitor 16 will therefore increase from its previous value (before pulse 60) as represented by voltage dV.sub.2.
During the second vertical sync pulse period as represented by pulse 74, this new voltage appearing across capacitor 16 is held via sample and hold circuit 18 and is applied to the first input of transconductance amplifier 20. Since this voltage represents an increased voltage from the previous pulse period, transconductance amplifier 20 functions to sink an increased current at its output thereby reducing the available current (I.sub.C32) for charging capacitor 32 as represented by transition 76. In other words, since the amplitude of signal V.sub.RAMP has increased, the voltage across capacitor 16 has also increased as well as the current sunk by transconductance amplifier 20. Thus, the increased current sunk by transconductance amplifier 20 decreases the available current to charge capacitor 32 and thereby adjusts (in this case reduces) the peak voltage of signal V.sub.RAMP.
It should be understood that in a similar manner, an adjustment to the current through capacitor 32 is made if the voltage across capacitor 16 is less than its previous value wherein the current sunk by transconductance amplifier 20 is decreased to allow more current to charge capacitor 32.
Referring to FIG. 3, a graphical diagram illustrating simulation results of voltage ramp signal V.sub.RAMP as generated by the circuit of FIG. 1 while operating at frequencies of 40 Hertz and 125 Hertz is shown. Horizontal axis 90 represents time (in seconds) while vertical axis 92 represents voltage (in volts). Moreover, wave form 94 represents signal V.sub.RAMP for circuit 10 of FIG. 1 operating at a frequency substantially equal to 40 Hertz. Additionally, wave form 96 represents signal V.sub.RAMP of circuit 10 of FIG. 1 operating at a frequency substantially equal to 125 Hertz. From FIG. 3, one can clearly see that the amplitude variation between wave forms 94 and 96 are minimal. In particular, the amplitude variation is less than 0.5% over the operating frequency of 40 Hertz and 125 Hertz. In addition, it has also been simulated that the amplitude variation of signal V.sub.RAMP varies less than 1% over a temperature range of 25.degree. C. to 125.degree. C. Thus, the present invention provides a circuit for generating a voltage ramp signal having minimal amplitude variation when operating over a large frequency range. Moreover, the voltage ramp signal has minimal amplitude variation while operating over a large temperature range.
Circuit 10 also includes an additional feature. When the incoming vertical pulse signal is greater than a predetermined frequency, for example 85 Hertz, signal FREQSW is active and doubles the current output of comparator 40 thereby increasing the ac loop gain. This allows circuit 10 to operate at even higher frequencies while still maintaining minimum amplitude variation with fast pull in time.
By now it should be apparent from the forgoing disclosure that a novel circuit for generating a voltage ramp signal having minimum amplitude variation over a large frequency range has been provided. The circuit includes a comparator for comparing a voltage across a ramp capacitor with a reference voltage. From the result of this comparison, a sampling capacitor is discharged during the time that the voltage ramp signal is less than the reference voltage and charged during the time that the voltage ramp signal is greater than the reference voltage. The resulting voltage across the sampling capacitor is held and fed back to a transconductance amplifier which adjusts the current that charges the ramp capacitor thereby adjusting the peak amplitude of the voltage ramp signal.
While the invention has been described in specific embodiments thereof, it is evident that many alteration, modifications and variations will be apparent to those skilled in the art. Further, it is intended to embrace all such alterations, modifications and variations in the appended claims.