• Become a member
  • Log In
The Institution of Electronics
  • Home
  • About us
    • Our Objectives
    • Our History
    • Governance of the Institution
  • The Electron Magazine
    • 2024
      • 2024 – Winter
      • 2024 – Spring
      • 2024 – Summer
      • 2024 – Autumn
    • 2025
      • 2025 – Winter
      • 2025 – Spring
      • 2025 – Summer
      • 2025 – Autumn
    • 2026
      • 2026 – Winter
  • Members
    • Membership Grades and Fees
    • Members’ Resources
      • The Electron Newsletter
      • The Archives
  • Education and Projects
    • National Electronics Competition
    • Student Members’ Projects
    • Arkwright Engineering Scholarships
  • News
  • Contact Us
  • Menu Menu
Uncategorised

Dual RRIO op amp makes buffered and adjustable triangles and square waves

Rail-to-rail input and output (RRIO) op amps, both FET and BJT, have been around for a long time, but the possibilities they provide for versatile waveshape generation with simple circuits can still surprise. Figure 1 is an example, outputting a variety of precision waveshapes while using just one dual RRIO op amp as the only active device.

Figure 1 Buffered triangles, sawtooth waves, and square waves from two op amps.

Wow the engineering world with your unique design: Design Ideas Submission Guide

Here’s how it works.

Amplifier A2 integrates the difference between A1’s rail-to-rail output and waveshape control R2 to produce triangle output Tout. The time constant of the integration is set by R1C1 which combines with R2 to produce positive and negative ramp rates of:

dV+/dT = VR2/R1C1 and

dV–/dT = (VR2 – Vdd)/R1C1.

 As shown in Figure 2, a symmetrical triangular waveshape results if VR2 = Vdd/2, a positive ramp sawtooth if VR2 < Vdd/2, and a negative sawtooth if VR2 > Vss/2.

As will be noted later, square wave Pout’s duty factor is also controlled by R2. 

Figure 2 Tout waveshape versus R2 where a symmetrical triangular waveshape, a positive ramp sawtooth, and a negative ramp sawtooth can be realized.

The Tout waveshape is symmetrical around Vdd/2 and its peak-to-peak amplitude is set by R3 over a range extending from 0 (fully CCW) to Vdd (fully CW) as shown in Figure 3.

Figure 3 Tout amplitude versus R3 where the Tout waveshape’s peak-to-peak amplitude is set by R3 over a range from 0 to Vdd.  

A1 acts as a comparator triggered by the difference between Tout (as scaled by R3’s setting) and the Vdd/2 reference voltage provided by R5/R6. Positive feedback looped through R4 makes A1 periodically flip-flop and reverse the direction of the Tout triangle ramp. The ratio of R4 to R3 determines the peak excursions of Tout required to make A2 switch states and thereby sets Tout’s Vpp amplitude.

A1’s rectangular 0 V to Vdd signal is provided as the Pout output, with a duty factor that goes from 0% to 100% as R2 is varied from 0 to Vdd (fully CW).

Oscillation frequency is affected by all three pots, but Tout waveshape, amplitude, and Pout duty factor are all mutually independent. Therefore, the quickest and easiest method of setting the various parameters (the method that results in the least “tail-chasing”), is to set R2 and R3 first to obtain the desired waveshape and amplitude, then adjust R1 to the desired frequency.

Depending somewhat on the choice of Vdd, total current draw is ~2mA exclusive of output loading. The maximum oscillation frequency using the TLV2372 is ca:10kHz but faster amplifiers are available if more speed is needed, as are op amps capable of handling more voltage. And of course, a bipolar supply would accommodate bipolar outputs. Chef’s choice!

Stephen Woodward’s relationship with EDN’s DI column goes back quite a long way. Nearly 100 submissions have been accepted since his first contribution back in 1974.

 Related Content

Adjustable triangle/sawtooth wave generator using 555 timer
DAC (PWM) Controlled Triangle/Sawtooth Generator
Voltage-controlled triangle wave generator
555 triangle generator with adjustable frequency, waveshape, and amplitude; and more!

<!–
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-native’); });
–>

The post Dual RRIO op amp makes buffered and adjustable triangles and square waves appeared first on EDN.

8 August 2023
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 2023-08-08 17:04:022023-08-08 17:04:02Dual RRIO op amp makes buffered and adjustable triangles and square waves

Latest news

  • Inference 2.0: How enterprise AI is reshaping AI system architectures11 August 2026 - 07:19
  • Dissecting third-party camera batteries, part 2: Swelling10 August 2026 - 14:00
  • Component and layout rules for USB-C, PD, and CMTI10 August 2026 - 07:53
  • Bear on a power pole7 August 2026 - 13:46
  • Why software-defined systems require a dynamic data layer7 August 2026 - 10:42
  • Paper-based passives show impact of re-thinking substrate6 August 2026 - 16:22
  • Drone bans harm customers and don’t actually close the door6 August 2026 - 13:20
  • BMICs enable scalable battery monitoring6 August 2026 - 04:16
  • DDR5 MRDIMM chipset boosts server bandwidth6 August 2026 - 04:16
  • MCUs streamline single-motor control6 August 2026 - 04:16
IOE LOGO 2

Become a member

click here

Become a member

click here

Become a subscriber

click here

Become a sponsor

click here

© Copyright - The Institution of Electronics | Website by WHD Solutions
  • Link to LinkedIn
  • Link to Facebook
  • Link to X
Link to: VS Code gaining traction in programming MCUs, MPUs Link to: VS Code gaining traction in programming MCUs, MPUs VS Code gaining traction in programming MCUs, MPUs Link to: Reducing noise in oscilloscope and digitizer measurements Link to: Reducing noise in oscilloscope and digitizer measurements Reducing noise in oscilloscope and digitizer measurements
Scroll to top Scroll to top Scroll to top