Path: EDN Asia >> Design Ideas >> Power/Smart Energy >> Linear ramp generator employs single op-amp
Power/Smart Energy Share print

Linear ramp generator employs single op-amp

04 Feb 2015  | Einar Abell

Share this page with your friends

Here is a design idea that demonstrates a simple way to turn a step input into a ramp of nearly constant slew rate. The basic circuit uses a single op-amp; a circuit built on an integrator will typically require three.

Figure 1 shows the basic circuit.

Figure 1: Ramp generator.

The op-amp is wired as a voltage follower, with D1 & D2 clamping the input to one diode drop above or below the output. When the input step-changes by a volt or more, the diodes will keep the voltage across R2 at a nearly constant 0.3V (because the output will follow any change on C), creating a constant slew rate at the output of 0.3V/R2C1 V/s. The output will slew to within 0.3V of the input and then follow an RC ((R1+R2)C1) curve until reaching a final value equal to Vin. For best results, R2 should be larger than R1, preferably by factor of ten or more. This simple circuit gives best results with fairly large steps, where the slow settling time won't be objectionable.

Figure 2 adds an extra amplifier to make the output slew to within a few millivolts of the input.

Figure 2: Improved ramp generator.

Amplifier A1 amplifies the difference between the input and the output so as to keep the diode clamp operating until the output voltage nearly reaches the input. The output will slew to within the diode forward voltage divided by the gain of A1 (that is, 1+(R3/R4)). If the gain is made too large, the circuit will become unstable. The slew rate of A1 should be at least ten times (the higher the better) the output slew rate times the gain of A1. A1 needs extra headroom to keep D1 & D2 conducting, which usually means restricting the input so that it is more than one volt away from the max/min output swing of A1.

About the author
Einar Abell contributed this article.

Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.

Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming

News | Products | Design Features | Regional Roundup | Tech Impact