Electrical – 74HC14 Schmitt Trigger Oscillator – Weird output at certain voltages

hexinverterschmitt-trigger

Recently bought some TI SN74HC14 Hex Inverter IC's to learn and am having weird issues with them. I've looked at many examples online and have tried wiring them the same with the same passive values. Here's one that I tried: http://www.learningaboutelectronics.com/Articles/7414-schmitt-trigger-oscillator-circuit.php

I hooked the output to my oscilloscope and messed around. It seemed like when I turn on the power from my supply to 5V, the output goes high for a period, then the output goes low for a period, then the output goes to a 'middle noisy state' (similar to what you see if you have take out the capacitor). I tried different capacitor values which would extend the pause period but no matter what it would stop working after the first cycle. Its like the capacitor would start low (bring the output high), get charged (bring the output low), and then never discharge again (like having no capacitor there at all).

As a random last ditch effort I tried going down to 2-3V, and the output is what you'd expect – a square wave. Success!!… kind of…

The chip is rated for up to 7V so i'm not sure why this would be happening. I would assume there must be a way to get this to work everywhere within the IC's spec voltage. My circuit is the exact same as the one in the link posted, with the output going to just an LED and to my oscilloscope (i've also tried it just going to my oscilloscope with the same results). Anyone have any ideas?

Thanks,

Andrew

Edit: 1/23/17
Thanks for the comments so far. To give more information based on your comments, I have added a 0.1 uF decoupling cap (I also tried other values). I've tested the circuit with and without the LED, and the resistor on the LED is 330 Ohms (also tested other values). Also you're right about 7V not being the max, the datasheet says 2V-6V operating voltage, I think I just typed the wrong number.

Edit: After trying stuff…

I tried bumping up the LED resistor from 330 ohms to 1-2k, which let me bring the power supply voltage up a few tenths of a volt before the output became unstable. I then tried grounding the unused outputs, and as I ground them one by one it allows me to increase the supply voltage up to the usable 2-6V range! Looks like the issue was mostly just grounding the unused pins. Thanks!

Best Answer

Check the function without LED. It's well possible that your LED has too low resistance current limiting resistor which prevents the full output swing. This theory is compatible with the improved operation at lower supply voltages.The resistance in series with the LED should be at least 2 kOhm.

Addendum due the downvotes and comments:

At +5V supply voltage 74HC series output current sink or source capablity is rated to be max 5 mA. Loading that heavily or more is well visible as narrowed output voltage swing. Let's assume the led has 1,5 V forward drop. This leaves 3,5 V to series resistor. 2 kOhm series resistor determines the LED current to be = 1,75 mA. This is about a third part of the rating, surely on the safe side. If we want to stretch to the limit, then 680 Ohm series resistor is absolute minimum, but the oscillation frequency is difficult to pretend, it can be remarkably lower than without the output load.

As written in comments, a capacitor over the supply voltage, with short wires to the IC (=decoupling) is needed to keep the supply voltage stable. This is a basic practice in logic circuits. No decoupling implies parasitic oscillations (=unquessably complex instability).

Another basic practice is to short unused logic inputs to high or low. Open MOS inputs easily collect stray signals that drive the IC to have half-state logic elements which are unstable and draw plenty of current. On breadboard all IC pins are connected to metal strips that are substantial capacitors. That increases the stray-effect remarkably.

Reducing the supply voltage makes a logic IC slower, but it still can operate. Slowdown is caused by the increase of internal resistances which makes all time constats longer. A slow IC is less prone to parasitic oscillations because its frequency bandwidth is low when compared to normal.

By the questioner noticed "noise" can be high frequency parasitic oscillation. It can be quite chaotic, far from pure sinewave, but some short term periodicity should be seen, if the oscilloscope is set to have 0,1us/div.