Zibb

Design Idea

Integrator ramps up/down, holds output level

Originally designed for controlling a model train, the integrator ramps up or down at a preset rate in response to changes in the input-dc level and holds at the circuit's input voltage level.

Glen Chenier, TeeterTotterTreeStuff, Allen, TX; Edited by Charles H Small and Fran Granville -- EDN, 9/27/2007

Op-amp integrators can ramp to saturation, and a capacitor-discharge switch can reset them. Alternatively, you can input-switch them to ramp up and down in triangle-waveform-generator applications. Much searching through online “cookbook” circuits turned up no means of ramping an op-amp integrator to hold at a preset constant voltage level. This Design Idea describes a single-supply op-amp circuit that outputs a rising or falling linear-voltage ramp in response to a step change of a positive dc-input voltage of 0V to VCC. The output ramp’s dV/dt slope is adjustable to 1V/minute with the values in Figure 1, is independent of the input-step amplitude, and terminates at a constant dc level approximately equal to the input-step voltage. Any further change in the dc-input voltage causes the output to ramp up or down at the preset dV/dt to the new dc-input voltage. In effect, this circuit is an amplitude-bounded constant-slope integrator.

The circuit uses a rail-to-rail I/O quad op amp, the National Semiconductor LMC6484. The rail-to-rail feature makes it easy to use, the low input leakage is great for long-time-constant integration, and the 3-mV maximum input-offset voltage is respectable. Potentiometer R1, a linear taper, sets the input voltage for final output voltage after the ramp ends. IC1A’s output is in saturation at VCC or ground while the output is ramping down or up, respectively.

Nonpolarized capacitor C1 and potentiometer R2, a linear taper, determine the time constant of integrator IC1B. The adjustment range is 0.5V/msec to 1V/minute. The reference bias for IC1B is 108 mV, which you derive from IC1D as a unity-gain buffer for divider R7 and R8. R6 ensures that you do not exceed IC1B’s input current when you turn off the power, that C1 discharges through IC1B’s input and output diodes, and that IC1B’s output does not excessively load back into IC1D’s output with R2 at a minimum.

R3 and R4 divide the saturated IC1A’s output to approximately 100 mV unloaded above or below the 108-mV bias. This division causes approximately 20 mV to drop across R5 to slew IC1B upward or downward at the integration rate that C1 and R2 set; 20 mV is comfortably above the op amp’s possible 3-mV input-offset voltage to minimize offset effects. When IC1B’s output-voltage ramp reaches that of the input voltage from the R1 wiper, IC1A comes out of saturation and rests at approximately 2.5V, providing the loop-negative feedback to maintain integrator IC1B’s output equal to the input voltage. This action sets the boundary on the integration ramp’s terminal voltage. IC1C can be spare, or, as the figure shows, you can drive it with a triangle-wave signal to convert IC1B’s dc level or ramp to a corresponding PWM (pulse-width-modulated) signal for a motor-drive circuit (not shown).

R5 eliminates differential errors arising from bias-resistor tolerance, and it provides a compromise between IC1B’s 3V maximum input-offset voltage at 25°C and 20-mV input amplitude to allow the slowest dV/dt. The values in the figure result in a maximum time of approximately 1V/minute, or 5 minutes at VCC of 5V to reach full speed. If you require longer times, you can raise VCC to 15V with adjustments to the bias resistors or raise C1’s value by using parallel nonpolarized capacitors. Alternatively, you could raise R2’s value, although selection is sparser for potentiometers with values greater than 1 MΩ.

If your application does not require a long time constant or if you use the aforementioned methods to increase the time constant, you can eliminate R5 at the expense of a higher level differential input to IC1B and correspondingly faster integration. You could also eliminate IC1D and the R7-R8 resistive-bias divider that connects directly to IC1B’s Pin 5, but resistor tolerance becomes more critical to minimize differential error (reference 1 and reference 2).


References
  1. “Tractive effort, acceleration, and braking,” The Mathematical Association, 2004.
  2. Woof, Tony, “Kilo newtons, kilo watts, kilometres per hour,” 2001.


Reed Business Information Resource Center

Featured Company


Related Resources

ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author


ADVERTISEMENT

Knowledge Center


Events

Design for Testability and for Built-In Self Test
Dates: 12/8/2009 - 12/10/2009
Location: Los Angeles, CA

Advanced Analog IC Design course
Dates: 1/6/2010 - 1/9/2010
Location: HKUST, Hong Kong

IMI's 21st Annual Thermal Printing Conference
Dates: 2/1/2010 - 2/3/2010
Location: Chandler, AZ, USA

CDMA and EV-DO Technology
Dates: 2/8/2010 - 2/10/2010
Location: San Jose, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites