Close

Closing the loop

A project log for The (analog) 1Hz sinewave generator

The most ridiculous, overengineered, stupid way to create a 1Hz sinewave using OP-amps ..... (and a timer)

phil-weaselPhil Weasel 07/15/2025 at 11:070 Comments

I went out of space on my perfboard .... and blew my opamp power supply twice .... and broke a thing or two ... maybe even twice.

So i continued like this:

Building the reference frequency from my oscilloscope and closing the loop.

I subtract the voltage from the oscillator from the reference and get an error.

Another integrator and i added an offset so it wont get stuck on startup.

The result then gets fed into the main oscillator as a set voltage.

And .....

IT ACTUALLY WORKS I CANT BELIEVE IT.

Yellow = Triangle from oscillator

Blue = Control voltage to oscillator

After a few seconds the output actually settles to the given reference frequency i cant believe it.

Is it accurate tho? well ... no, not yet .... but we will get to that....

Discussions