←back to thread

It's hard to build an oscillator

(lcamtuf.substack.com)
219 points chmaynard | 1 comments | | HN request time: 0.247s | source
Show context
atoav ◴[] No.46002424[source]
Coincidentally I thought a class of art students just yesterday how to build oscillators. And it is not hard at all. Take a logic inverter IC (CD40106 Schmitt-Trigger Hexinverter) pick a single gate, connect the output to the input, add a capacitor from the input to ground. That is it. Three parts and you got a Relaxation Oscillator. And then you have 5 inverter gates left.. But of course one could argue ICs are cheating, since any PLL-IC would have an oscillator onboard.

Why the first two circuits fail is also pretty obvious without derper circuit analysis: to get reliable oscillation you don't only need amplification, you also need some time setting element, usually in the form of a capacitor (or involuntary capacitance).

replies(1): >>46002532 #
1. eternauta3k ◴[] No.46002532[source]
Relaxation oscillators are easy, good phase shift oscillators are an art.