# Ramp Generators

**We highly recommend EasyEDA for Circuit Design and PCB Prototype****Low Cost PCB Manufacturing & Fabrication Service - EasyEDA****Only $8.21 for 10 pcs, 2-Layer 100x100mm PCBs, 2-3 days'delivery**

Voltage and current linear ramp generator find wide application in instrumentation and communication systems. Linear ramp generators are also known as sweep generators, from basic building blocks of cathode ray oscilloscope and analog to digital converters. Linear current ramp generator are extensively used in television deflection systems. This topic consider the circuits employed in the generation of voltage and current sweeps.

## Ramp Generation Methods

Although there are a number of methods of ramp generation, yet the following are important from the topic point of view.

### Exponential Charging

In this method a capacitor is charged through a resistor to a voltage which is small in comparison with the supply voltage.

### Constant Current Charging

In this method a capacitor is charged linearly from a constraint current source.

### Miller Integration

In this method a constant current is approximated by maintaining nearly constant voltage across a fixed resistor in series with a capacitor.

## RC Ramp Generator

Figure 1 shows the basic circuit of RC ramp generator. This circuit requires a gating waveform V_{i} as shown in Figure 1(b). It may be obtained from a Monostable multivibrator (i.e. one shot) or an Astable multivibrator.

**Figure 1: (a) RC Ramp Generator (b) Input and Output Waveforms**

Initially the transistor is biased ON and operates in the saturation region. Thus when there is no input (i.e. V_{i} = 0 ), the output voltage is zero. Actually its value is equal to V_{CE} (sat). When gating pulse i.e. a negative pulse is applied the transistor turns OFF. As a result of this, the capacitor voltage rises to a target value V_{CC} with a time constant R_{C}C. The charging curve ignoring V_{CE} (sat) is given by the relation.

If t / R_{C}C << 1, then above relation may be expanded into a power series in t / R_{C}C. Then taking only the first term of the power series, the output voltage.

This equation represents an approximately linear waveform.

It may be observed that the transistor switch is OFF only for the gating time (T_{S}). At the end of time T_{S}, the capacitor discharges and the voltage is again zero.

## Constant Current Ramp Generator

**Figure 2: Constant Current Ramp Generator**

Figure 2 shows a circuit to generate a ramp using constant current from a common base transistor. We know that except for very small value of collector to base voltage, teh collector current of a transistor in the common base configuration is very nearly constant, when the emitter current is held fixed. This characteristics may be used to generate a quite linear ramp by causing a constant current to flow into a capacitor. The value of emitter current is given by the relation.

I_{E} = ( V_{EE} - V_{EB }) / R_{E}

If the emitter to base voltage V_{EB} remains constant with time after the switch S is opened, then the collector current will be a constant whose normal value,

I_{C} = h_{FB} . I_{B} = α I_{E}

The draw back of constant current ramp circuit is that it makes the sweep rate as a function of temperature. Since the emitter base junction voltage V_{BE} for a fixed current decreases by about 2 mv/c^{o}, therefore the ramp speed increases with the temperature.

## UJT Relaxation Oscillator

The UJT relaxation as a relaxation oscillator is shown in Figure 3, generates a voltage waveform V_{B1}(Figure 3), which can be applied as a triggering pulse to an SCR gate to turn on the SCR. When switch S is first closed, applying power to the circuit, capacitor C starts charging exponentially through R to the applied volatage V. The voltage across its the volatge V_{E} applied to the emitter of UJT. When C has charged to the peak point voltage V_{P} of the UJT, the UJT is turned on, decreasing greatly the effective resistance R_{B1} between the emitter and base1. A sharp pulse of current I_{E} (limited only be R_{1}) flows from base 1 into the emitter, discharging C. When the voltage across C has dropped to approximately 2V, the UJT turns off and the cycle is repeated. The waveforms in figure 3 shows the saw-tooth voltage V_{E}, generated by the charging of C and the output pulse V_{B1} developed across R_{1}, V_{B1} is the pulse which will be applied to the gate of an SCR to trigger the SCR.

**Figure 3: UJT Relaxation Oscillator**

The frequency f of the relaxation oscillator depends on the time constant RC and the characteristics of the UJT. For values of R_{1} < 100KΩ, the period of oscillation T is given approximately by the equation.

T = 1 / f = R_{T} C_{T}1Ƞ (1 / 1 - Ƞ)

The value of R is limited to the range 3000Ω to 3MΩ. The supply voltage V normally used lies in the range of 10 to 35 V and etc Ƞ is called intrinsic standoff ratio of injunction transistor ( i.e. ratio of R_{B1} and R_{BB})

## Bootstrap Ramp Generator

Figure 4: Bootstrap Ramp Generator

Figure 4 shows the bootstrap ramp generator. In such case the transistor Q_{1} acts as a switch and Q_{2} as an emitter follower i.e. a unity gain amplifier.

Suppose the transistor Q_{1} is ON and Q_{2} is OFF. Therefore the capacitor C_{1} is charged to V_{CC} through the diode forward resistance R_{E}. At this instant, the output voltage V_{o} is zero.

When negative pulse as shown in Figure 4 is applied to the base of transistor Q_{2} it turns OFF. Since transistor Q_{2} is an emitter follower, therefore the output voltage (V_{o}) is the same as the base voltage of transistor Q_{2}. Thus as the transistor Q_{1} turns OFF, the capacitor C_{1} starts charging this capacitor C through resistor R. As a result of this , both the base voltage of Q_{2 }and the output voltage begins to increase from zero. As the output voltage increases, the diode D becomes reverse biased. It is because of the fact that the output voltage is coupled through the capacitor C_{1} to the diode. Since the value of capacitor C_{1} is much larger than that of capacitor C, therefore the voltage across capacitor C_{1} practically remains constant. Thus the voltage drop across the resistor R also remains constant because of this, the current i_{R} through the resistor also remains constant. This causes the voltage across the capacitor C (and hence the output voltage) to increase linearly with time.

## Miller Integrator Ramp Generator

**Figure 5: Miller Integrator Ramp Generator**

Figure 5 shows the miller integration ramp generator. It is also called Miller integrator. In such a case transistor Q_{1} acts as a switch and transistor Q_{2} is a common emitter amplifier i.e. a high gain amplifier.

Suppose that initially, the transistor Q_{1} is ON and Q_{2} is OFF. At this instant, the voltage across the capacitor and the output voltage is equal to V_{CC}. Let us suppose that a pulse of negative polarity as shown in Figure 5(b) is applied at the base of the transistor Q_{1}. As a result of this, the emitter-base junction of the transistor Q_{1} is reverse biased and it turns OFF. This causes the transistor Q_{2} to turn ON.

As the transistor Q_{2} conducts, the output voltage begins to decrease towards zero. Since the capacitor C is coupled to the base of transistor Q_{2} therefore the rate of decrease of the output voltage is controlled by the rate of discharge of capacitor C. The time constant of the discharge is R_{B}C.

As the value of time constant is very large, therefore the discharge current remains constant. Hence a result of this, the rundown of the collector voltage is linear.

When the input pulse is removed the transistor Q1 turns ON and Q_{2} turns OFF. It will be interesting to know that as the transistor Q_{1} turns OFF, the capacitor C charges quickly through resistor R_{C} to V_{CC} with the time constant equal to R_{C}C. The waveform of the generated ramp or the output voltage is shown in Figure 5(b). The Miller integrator provide an excellent ramp linearity as compared to the other ramp circuits.