Abstract:
A generating circuit for producing a linear ramp output voltage comprises an electronic switch and a ramp circuit connected to the electronic switch. The ramp circuit includes a single active component having first and second input terminals and an output terminal. The ramp circuit has positive and negative feedback to the input terminals of the active component.

Description:
BACKGROUND OF THE INVENTION 
     The invention relates to a ramp voltage generator circuit and, more particularly, to a linear ramp voltage generator circuit comprising an electronic switch and a ramp circuit which utilizes an operational amplifier having positive and negative feedback to provide an output voltage which is linear with time. 
     Ramp voltage generator circuits are used to provide ramp voltages which increase at a predetermined linear rate. Such ramp voltages may be used to externally control, for example, the horizontal deflection of an oscilloscope, or a plotter. The ramp circuitry that is currently known requires a plurality of active components, i.e., components which require an applied voltage. Such a ramp circuit is shown in U.S. Pat. No. 4,029,972, issued to Fox et al. on June 14, 1977. The Fox et al. ramping circuit utilizes two operational amplifiers to provide a ramp voltage from a square wave input. As the number of active components in a ramping circuit increase, the power requirements of the circuit also increase, and the usefulness of the circuit in low power applications, such as in battery operated equipment, decreases. Thus, it is desirable that the ramp circuit of a ramp voltage generator has a minimum number of active components while providing a linear output. 
     It is also desirable that the electronic switch portion of the ramp voltage generator be activated and reset manually. Such manual operation is useful where test equipment is to be externally controlled, and data is to be recorded. 
     SUMMARY OF THE INVENTION 
     A generating circuit for producing a linear ramp output voltage comprises switching means and a ramp circuit connected to the switching means. The ramp circuit includes a single active component having first and second input terminals and an output terminal. The ramp circuit also includes feedback means to each of said input terminals of said active component. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     The FIGURE is a complete circuit diagram of the preferred embodiment of the invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The FIGURE shows a linear ramp voltage generator circuit 10 comprising an electronic switch 12 and a ramp circuit 14. The electronic switch 12 includes a logic chip 16, a ramp button 18, a reset button 20, a first transistor 22 and a second transistor 24. The ramp circuit 14 includes an operational amplifier 26, a charging capacitor 28, a feedback network 29 and a feedback diode 30. 
     The logic chip 16 includes a pair of input terminals 32 and 34, a reset terminal 36, and a pair of output terminals 38 and 40. The input terminal 32 is connected to a positive potential, V 1 , and also to one side of the ramp button 18. The input terminal 34 is connected to the other side of the ramp button 18 which, through a resistor 42, is returned to a plane of reference potential, here indicated as ground. The reset terminal 36 is connected to one side of the reset button 20 and through a resistor 43 to the plane of reference potential. The other side of the reset button 20 is connected to the positive potential, V 1 . The output terminal 38 of the logic chip 16 is connected to the base of the first transistor 22. The collector of the transistor 22 is connected to the positive potential, V 1 , and the emitter of the transistor 22 is connected through a resistor 44 to the base of the second transistor 24. The emitter of the second transistor 24 is connected to the plane of the reference potential while the collector of the second transistor 24 is connected to the common terminal of the charging capacitor 28 and to a first, or positive, input terminal 46 of the operational amplifier 26. The other terminal of the charging capacitor 28 is connected to the plane of the reference potential. The amplifier 26 is also provided with appropriate terminals for connecting to the positive potential, V 1 , and to the plane of the reference potential, shown as ground. As output terminal 48 of the operational amplifier 26 provides positive feedback to the positive input terminal 46 of the amplifier 26 through the feedback network 29 comprising a feedback resistor 50 and a feedback potentiometer 52 connected in series. The output terminal 48 of the amplifier 26 also provides negative feedback, through the feedback diode 30, to a second, or negative, input terminal 54 of the amplifier 26. A load resistor 56 is connected between the negative input terminal 54 of the amplifier 26 and the plane of the reference potential. The linear ramp output voltage is available across circuit output terminals 58 and 60. 
     In the operation of the linear ramp voltage generator circuit 10, the normally open ramp button 18 is closed so that potential V 1  is applied to both of the input terminals 32 and 34 of the logic chip 16. With potential V 1  applied to both input terminals, the output of the logic chip 16 at the output terminal 38 is zero, thereby turning off the transistors 22 and 24. The positive input terminal 46 of the operational amplifier 26 is therefore at zero since it is connected to the collector of the second transistor 24. However, since a potential, V 1 , is provided to the amplifier 26, the output at the terminal 48 of the amplifier 26 increases and provides a positive feedback through the resistor 50 and the potentiometer 52 to the positve input terminal 46 and charges the capacitor 28. Because the positive and negative inputs to the operational amplifier 26 are differentially coupled, and the amplifier 26 has a high open loop gain, the output voltage, V o , at the terminal 48 of the amplifier 26 will provide a voltage that maintains the negative input at the terminal 54 at the same voltage as the positive input at the terminal 46. Therefore, the voltage, V o , at the output terminal 48 of the amplifier 26 is equal to the sum of the voltage drop, V D  across the feedback diode 30 plus the voltage, V P , applied to the positive input terminal 46 of the amplifier 26. This requires that the voltage drop across the positive feedback network 29, comprising the feedback resistor 50 and the feedback potentiometer 52, be equal to the voltage drop, V D , across the diode 30. The voltage drop across the feedback network 29 provides a constant charging current for the charging capacitor 28. The magnitude of the charging current is equal to the voltage drop, V D , across the feedback diode 30 divided by the resistance of the positive feedback network 29, which, in this instance, is the sum of the series resistance of the resistor 50 and the potentiometer 52. It is well known that when a capacitor is charged with a constant current, the voltage across it is a ramp which is linear with time. The ramp rate V/t, for a given value of capacitance for the capacitor 28, is determined by the product of the resistive and capacitive impedances in accordance with the relationship that the ramp rate in volts per second is equal to the voltage drop, V D , across the feedback diode 30 divided by the product of the resistance of the network 29 (R 50  +R 52 ) and the capacitance, C, of the capacitor 28: V/t=V D  /(R 50  +R 52 )C. The ramp rate will be maintained at the aforedescribed rate until the operational amplifier 26 saturates. The ramp rate may be changed by varying the resistance of potentiometer 52. 
     The ramp output voltage is reset to zero by actuating the reset button 20 to apply a potential, V 1 , to the reset terminal 36 of the logic chip 16. A voltage approximately equal to V 1  is then applied, over output terminal 38 of the logic chip 16, to the base of the base of the first transistor 22 to turn on first transistor 22 and second transistor 24. The charging capacitor 28 then discharges through the second transistor 24 to ground, and the ramp output voltage drops to zero. 
     As an explicit example, and without limiting the invention in any way, the following specific values for the circuit components shown in the drawing were utilized to construct the linear ramp generator circuit 10. 
     
         ______________________________________Resistors 42, 43     10 kilohmsResistor 44          62 kilohmsResistor 50          20 kilohmsResistor 56           4.7 kilohmsPotentiometer 52    1000 kilohms,                  ajustableLogic Chip 16       RCA CD 4013Operational         RCA CA 3140Amplifier 26Transistors 22, 24  2N2222Capacitor 28        2.2 microfaradsDiode 30            IN914Voltage, V.sub.1,   5 volts______________________________________