익명 05:22

Simplest 74HC14 + potentiometer circuit fails with self oscillation at hysteresi...

Simplest 74HC14 + potentiometer circuit fails with self oscillation at hysteresis

I recently got 2 SN74HC14N from a local shop, they look quite legitimate with the TI logo on them, but when tested they both exhibit undesired self oscillation (~150MHz) close to threshold:

Behavior

It seems to me that the switching level isn't exactly the same when increasing the voltage versus when lowering it and could indicate that they are in fact legitimate 74HC14 hysteresis, but maybe I am wrong.

If I am not mistaken the purpose of using a 74HC14 instead of a 74HC04 is precisely to allow smooth transitions, and I was planning on using them as oscillators, which is currently impossible because of this issue. I have included the schematics and a picture of the breadboard which was used for the test.

All unused inputs are tied to ground. A 100nF X7R is near the chip VCC.

At some point I tried adding a 22uF electrolytic, replacing the breadboard with another one, buffering the output of the potentiometer with a LM358, different values for the decoupling cap (10nF, 1nF, 100pF, 10pF) all without success.

Breadboard

schematic

simulate this circuit – Schematic created using CircuitLab

Here are some pictures of the beginning of the oscillation, the last one includes the +5V rail in blue:

threshold zoomed out

threshold zoomed 1

threshold zoomed 2

threshold with power rail

EDIT:

Several people suggested connecting pins 7 and 14 directly to the 100 nF capacitor, which was actually the first configuration I had tried. I decided to revisit it to make sure, but unfortunately it didn't make any difference.

Another suggestion was to connect all unused inputs to pin 7 using the shortest possible traces, so I updated the layout accordingly. That didn't resolve the issue either.

At that stage, the board looked like this:

Breadboard rework pin 7

Since I wasn't entirely sure I remembered the results of buffering the input voltage correctly, and because it was also suggested that the trimpot value might be causing issues for the 74HC14 input, I decided to try buffering the signal with the LM358 again.

This time, it did improve the situation: the instability on the positive-going threshold disappeared, although the negative-going threshold was still very unstable.

Here is the corresponding breadboard setup and the measurements:

Buffering Breadboard

Buffering Oscilloscope

I also decided to try the 10nF capacitor separately (without buffering) and it did have pretty much the same effect (clean on the positive-going threshold, still messy on the negative going threshold):

10nF Breadboard

10nF Oscilloscope

Then I tried combining both and it finally seems to work.

10nF + LM358 Breadboard

10nF + LM358 Oscilloscope



Top Answer/Comment:

Your bypassing of the chip is inadequate, but I suspect that's not the main problem. The input and output pins of the inverter are adjacent in the 74HC14 (so there is substantial capacitance between input and output) and you have a very high impedance (at the wiper) source when the voltage is near the threshold. Here is your circuit with that parasitic element shown:

enter image description here

You can solve this problem by swamping the parasitic element with an input capacitor as so:

enter image description here

Physically, there are two long and fairly wide parallel strips of metal connected to pins 1 & 2 of the chip, separated by a divider made of plastic with an \$\epsilon_r\$ probably around 4. Image from here. If that looks like a parallel-plate capacitor.. that's because that's essentially what it is.

enter image description here

상단 광고의 [X] 버튼을 누르면 내용이 보입니다