Electronic – Deciding which assembly is more common positive edge detector

clockedgeflipfloppulsesynchronization

I know of two circuits which can act as edge detector:

  1. A clock connected as a voltage source across a RC component where resistance is composed of a diode and a resistor and this in series with another
    enter image description here
    enter image description here

  2. A clock and its inverted output connected to AND gate.
    enter image description here

Respective images are pulses generated for a given square wave.

Which one of them is more prevalent and versatile in logic design ? because in books only 2nd is used for synchronising outputs.

I think RC circuit helps us to adjust duration of the pulse so it is better.

Best Answer

The answer is none of the above, both of them, and it depends on the application.

The RC solution has a strong dependency on signal slew rate, loads its input, and might not be adequate for logic-level circuitry, while being perfectly fine to trigger a 555 and some mostly-analog applications.

The gate solution is rather common to generate a glitch in logic circuits, with pulse-width being tuned by either adding inverters in the chain, adding capacitance to the nodes, or tuning the characteristics of the inverters.

As anything in engineering, the RC solution is good enough in many cases. If you need to add some constraints to it (e.g., independence of input slew rate, independence of source impedance, guaranteed pulse voltage, reliable pulse width) you will soon find that it becomes too complicated to be practical, so variants of the gate solution become more practical.

You will exclusively find variants of the gate solution implemented inside logic ICs. I’ve used relatively long chains of purposefully slow inverters to provide carefully sequenced guaranteed-reliable asynchronous pulses to operate IC-wide logic after an input event with 100MHz interface clocks. Given that the width of the pulses scales with the speed of the logic inside the IC, this solution is guaranteed to work for all performance corners of the technology.