# How to avoid square wave parasitic oscillation?

I try to recreate the circuit from here using discrete components logic gates. How can I avoid these parasitic oscillations in a square wave in one of its outputs?

• It's not oscillation, just capacitive coupling. Set the source risetime to a more realistic value like 10 or 100ns. And 10V like the supply I guess. Jun 25 at 8:06
• For a proper simulation of a discrete circuit with such speeds, you must include parasitic inductance of the interconnects which is in the ballpark of 10 nH and more for almost each of the interconnects. Jun 25 at 8:09

Your design has the wrong threshold to act as Schmitt Triggers on slew-rate limited pulses in order to create "complementary-exclusive transitions" or a "deadtime control circuit."

The transistor delays in your simulation cause these glitches from the XOR arrangement of components.

There are many ways to correct this error.

• If the rise time is above the transistor delays, you might prevent this or make it worse

• define the hysteresis with resistor ratios. in a Schmitt trigger and input slope to exceed propagation delay. This is similar to what you have used but without the added positive feedback R's. $$\V_{HT}=V+ \dfrac{R_E}{R_E+RC1}\$$

• you need to specify your dead time by slew rate and thresholds then redesign according to this logic.