EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

Op Amp - Based Schmitt Trigger with Precise Hysteresis

@Stoners123
10 hours ago
https://everycircuit.com/circuit/5727107518955520
1. The Input and Protection Stage Located on the upper far left, this is the supply voltage (5 V) VCC that is being manipulated . Located on the lower far left, (3.9 V) this section handles the incoming raw signal. In reality probably from some type of sensor. AC Source (3.9 V):** Generates the primary green trace seen in the oscilloscope graph above. It feeds a dynamic, fluctuating voltage into the circuit. Manipulate this voltage to switch the OpAmp High and Low. 100 Ω Resistor:** Acts as a current-limiting resistor to protect the downstream components from excessive current spikes. Diode connected to Ground:** Serves as a clamping diode. It prevents the input voltage from dropping below approximately -0.7 V, protecting the operational amplifiers (op-amps) from negative voltage damage. 2. The Reference Voltage Divider Located in the upper-left middle area, running vertically. DC Power Supply (5 V) & 100 nF Capacitor:** The DC source establishes a stable positive rail. The capacitor next to it acts as a decoupling/bypass filter, smoothing out any power supply noise to ground. 96 kΩ and 4.03 kΩ Resistors:** This forms a precise voltage divider. It takes the 5 V rail and scales it down to create a steady reference voltage (represented by the purple line on the graph), which is fed into the first op-amp stage. 3. The Amplification and Peak Detection Stage Located in the lower-middle section, centered around the first op-amp. First Op-Amp (labeled 100 kV/V):** This op-amp is configured as a non-inverting amplifier or active peak/threshold tracker. It takes the fluctuating input signal on its non-inverting (+) terminal and compares/mixes it with the reference network. Dual 50 kΩ Potentiometer Network:** Connected in the feedback loop of the first op-amp, this allows for manual tuning of the circuit's sensitivity, gain, or trigger threshold. 4. The Comparator Stage Located immediately to the right of the first op-amp. Second Op-Amp (functioning as a Comparator):** This op-amp has no feedback loop, meaning it operates at open-loop gain. It compares the processed signal from the first stage against a hard threshold. *The Result:** When the green input signal rises above the threshold, the op-amp rapidly saturates to its positive rail (5 V). When it drops below, it switches to ground (0 V). This turns the smooth green wave into the sharp, square blue digital pulses seen on the oscilloscope. 5. The Output Switching and Logic Stage Located on the far right side of the schematic. 1 kΩ and 10 kΩ Resistors:** These act as biasing and current-limiting resistors to safely drive the logic gates/transistors. *NPN BJT Transistors and Switches:** The square-wave output from the comparator drives the base of these transistors. They act as electronic switches, turning on and off in perfect synchronization with the blue digital pulse. This allows the circuit to drive external loads, trigger logic systems, or signal an output state change (indicated by the toggling terminals on the far right). Summary of the Oscilloscope Graph Green Trace:** The raw, fluctuating input voltage showing peaks and valleys. Purple Trace:** The steady DC reference voltage generated by the voltage divider. Blue Trace:** The converted digital square wave. As highlighted by the delta measurements (1.02 ms width), the blue pulse perfectly flags the exact window where the input wave exceeds a precise voltage peak threshold (4.81 V down to 4.09V). Search @Stoners123 in the community tab, for more circuits..
Comments
Post