operational amplifier – How to ramp a bi-polar Return to Zero (RZ) digital waveform

I am using a Raspberry Pi Pico and a few op-amps and resistors to implement an ARINC 429 transmitter. ARINC 429 is a bipolar RZ serial communication protocol commonly used in avionics. See the image below for waveform details.

ARINC 429 Waveform

Right now I am just trying to implement the low-speed waveform (12-14.5 kbps circled in blue) but eventually will implement the high-speed waveform as well. I’ve successfully created the waveform except for the ramped rising and falling edges using the circuit below

Schematic Circuit

Breadboard Circuit

R1 & R2 act as a voltage divider to correctly form the RZ waveform but shifted by +1.65v due to the Pico’s digital output voltage of 3.3v. Op-Amp B is a simple non-inverting buffer. Opa-Amp A amplifies (non-inverting) and offsets the signal to the requisite +-5v. R4 & R5 set the gain. R3, R6, R7 & R8 (voltage divider) set the offset to zero volts for the RZ. R6, R7, and R8 are actually a single potentiometer for prototyping purposes on the breadboard. The yellow and red V(N$2) & V(N$1) correspond to the like-colored oscilloscope traces in the images below.

The op-amps’ slew rate gets me close to the solution but it’s a bit too fast to create the requisite 10μs rise and fall time. You can see this in the oscilloscope screenshots below. The yellow trace is the raw waveform immediately after the voltage divider coming from the Pico’s GPIO pins 14 & 15. The purple trace is coming from the output of the second op-amp (Op-Amp B in the schematic)

Zoomed out ARINC 429 Waveform at 0-3.3v & offset to +-5v

Zoomed in Waveform showing rise/fall time

I tried looking for slower op-amps with no luck and this also seems like a pretty hacky way to accomplish the desired waveform and would require different op-amps for the high-speed waveform.

If anyone has a recommendation on how to accomplish the required rise and fall ramping to meet the 10μs slow-speed and 1.5μs high-speed requirements I would be hugely appreciative.

Read more here: Source link