Solid State Guitar Amp Forum | DIY Guitar Amplifiers

Solid State Amplifiers => Preamps and Effects => Topic started by: blackcorvo on March 17, 2025, 10:09:50 PM

Title: CD4049UBE Headphone Amp
Post by: blackcorvo on March 17, 2025, 10:09:50 PM
So, ever since I learned that these inverters we use for some of our pedals can deliver 5 to 25mA output, I wondered if it'd be possible to make a headphone amp out of them.

And early today, after not being able to sleep, I decided to see it for myself.

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiakkdzqjfsrj3diiz6mq7azu65xmlxqy5hnzkznc5nqtlf6k2q5ta@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiakkdzqjfsrj3diiz6mq7azu65xmlxqy5hnzkznc5nqtlf6k2q5ta@jpeg)

After tinkering a bit with the circuit, I ended up with the following schematic:

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiftkwqhqcnikqwpzlnp3rpdj3m2xwwwv2uq5uw3f33ubia2j7fdfu@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiftkwqhqcnikqwpzlnp3rpdj3m2xwwwv2uq5uw3f33ubia2j7fdfu@jpeg)

The trimpot for adjusting the bias for the output stage is actually an idea from Tim Escobedo's Circuit Snippets (https://nexp.pt/escobedo.html), specifically from the Calavera (https://nexp.pt/tpe123/calavera.gif) circuit.

I think it could do with a filter at the output to kinda "simulate" a speaker cabinet, but I'm terrible with filter stages. Wouldn't even know where to start tbh.


Sound sample:

https://youtu.be/8VQJ2Yj2IJ8?si=pFdULSaG7aHjAICO
Title: Re: CD4049UBE Headphone Amp
Post by: saturated on March 18, 2025, 01:28:32 AM
Awesome  :dbtu:

Watched the video and liked  :tu:

Love the tone at 00:52  <3)

Nice and crunchy  8|
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 18, 2025, 04:19:26 AM
v2

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiembjxl6dpxlwb3g7ehoz2ba4nm5yxggzbgdjtferwucuugxjml3q@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiembjxl6dpxlwb3g7ehoz2ba4nm5yxggzbgdjtferwucuugxjml3q@jpeg)

I figured I could use a 10k trimpot with a high value resistor from the taper to do the bias adjustment.
I also figured that I have like a half dozen of those 4M7 trimpots with the red knob, and that I'd like to use them on something, and they worked when I put them on the circuit, so I'm gonna use them in the final build.

Also V+ resistor reduced from 220R to 68R for even better driving output capabilities.
Title: Re: CD4049UBE Headphone Amp
Post by: J M Fahey on March 18, 2025, 10:05:32 AM
Loved it, great idea  :tu:
Title: Re: CD4049UBE Headphone Amp
Post by: Tassieviking on March 19, 2025, 07:51:09 AM
Love it, its going into my to do list, I might even make a tiny PCB up for it.
I might even make one in a stompbox and use it as an effect pedal.
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 20, 2025, 04:00:48 AM
Quote from: Tassieviking on March 19, 2025, 07:51:09 AMLove it, its going into my to do list, I might even make a tiny PCB up for it.
I might even make one in a stompbox and use it as an effect pedal.

This made me think of trying something else: using the chip only wired as the output stage, as a "clean" headphone amp to use with pedals. Like a really beefed up buffer that can drive earbuds. Hmm.
Title: Re: CD4049UBE Headphone Amp
Post by: Loudthud on March 20, 2025, 06:14:10 PM
The output stage doesn't use any feedback to lower the gain. Check the old National Semi application note in post 4 of this thread:

https://music-electronics-forum.com/forum/amplification/solid-state-hybrid/922490-what-does-this-ic-do-in-the-circuit
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 21, 2025, 09:35:22 PM
Just in case the link dies someday, I'm adding the file you mentioned as an attachment.

Now one thing I wanna figure out is having a better sound on headphones. On an amp (or a higher impedance speaker, as I've shown) it sounds great, but on earbuds it can sound pretty shrill.

I'd like to try adding a small filter to shape the sound on headphones, but I'm not sure where to start.
Title: Re: CD4049UBE Headphone Amp
Post by: Loudthud on March 22, 2025, 03:19:45 AM
Operating the CMOS without feedback may emphasize higher frequencies where the impedance of the ear buds is higher. Try setting the gain of the output stage to something between 1 and 10.
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 23, 2025, 03:16:40 AM
Quote from: Loudthud on March 22, 2025, 03:19:45 AMOperating the CMOS without feedback may emphasize higher frequencies where the impedance of the ear buds is higher. Try setting the gain of the output stage to something between 1 and 10.

That's a great suggestion, but I'm liking how the output stage is sounding as-is, and since there's volume to spare on headphones and earphones, I've decided to take an idea from the earliest Runoffgroove designs of a "cab sim" at the output of their many JFET amp emulator circuits, using a pair of RC low-pass filters. There's an alternate output (amp) bypassing the RC filters for use as a pedal.

I've also drawn a layout that I plan on fitting on a Mentos CleanBreath enclosure (the thin plastic ones).

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiah2jkvi3iidxphq4m4scd5ivnyk5c66672q5umdp3tbvnmzvbm3m@jpeg)
 (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreiah2jkvi3iidxphq4m4scd5ivnyk5c66672q5umdp3tbvnmzvbm3m@jpeg)
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 24, 2025, 07:53:10 PM
Finished build:

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreibg5kn5skufxiqqxmereyex7uuhx4rt7gm4qa2cqv2fhvyg7w7z7i@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreibg5kn5skufxiqqxmereyex7uuhx4rt7gm4qa2cqv2fhvyg7w7z7i@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreicdas5tff556yq4trb7ic6o4ic6yqqgbwiayvo2jopqkqjnremwwa@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreicdas5tff556yq4trb7ic6o4ic6yqqgbwiayvo2jopqkqjnremwwa@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreidkvxn3ajt6s6gehh5fedx5vio3zq35oh7sotogojf5q476wfqibq@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreidkvxn3ajt6s6gehh5fedx5vio3zq35oh7sotogojf5q476wfqibq@jpeg)

Used a tiny 12v bulb instead of a resistor (because it looks cool when the brightness changes with harder picking).

Tried a 10M resistor in parallel with the last stage (suggestion from someone on DIYStompboxes), barely noticed any changes tbh. Leaving it there cus I'm lazy.

Sample:

Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 25, 2025, 09:12:38 AM
And, finally, the finished build in a Barkley's tin:

(https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreifi37dknbq7n77knnbrg3qunlar5yyacoqokug6c3kihpbej3o7ve@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreifi37dknbq7n77knnbrg3qunlar5yyacoqokug6c3kihpbej3o7ve@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreignrh3hqo2xj64qoqzchmtd7g3ccsvxe7njthzz6d27otrhjzhvfq@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreignrh3hqo2xj64qoqzchmtd7g3ccsvxe7njthzz6d27otrhjzhvfq@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreignj3vfztthabpvvds4zxi3yhcrtlnrhncsa7u7lyh6yluaptrvmm@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreignj3vfztthabpvvds4zxi3yhcrtlnrhncsa7u7lyh6yluaptrvmm@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreidzca3tj62yxbf6rfapyjm7i3sfewmzgnehfjabxqosh3z4rn655a@jpeg) (https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5i7f5z5b5ppxyk6ikrpup4gc/bafkreidzca3tj62yxbf6rfapyjm7i3sfewmzgnehfjabxqosh3z4rn655a@jpeg)

Unfortunately I fried my only 4049, so I botched an adapter to a 4069 to use it for now (thanks Runoffgroove! (https://www.runoffgroove.com/6949.html))
Title: Re: CD4049UBE Headphone Amp
Post by: saturated on March 25, 2025, 12:12:49 PM
Man that's crazy awesome  :dbtu:

I was gonna comment on your soldering skills which look hella awesome  <3)

For real looks like point to point wiring on an old tube amp.   :tu:

But then seeing that last post I'm floored  :dbtu:

Looks like you clearly have the dexterity skillz to accompany the acumen  8|

I'm way beyond impressed  8)
Title: Re: CD4049UBE Headphone Amp
Post by: Loudthud on March 25, 2025, 06:25:20 PM
What are the little circuit boards attached to the lid ?
Title: Re: CD4049UBE Headphone Amp
Post by: blackcorvo on March 26, 2025, 10:14:06 AM
Quote from: Loudthud on March 25, 2025, 06:25:20 PMWhat are the little circuit boards attached to the lid ?

Battery and charging board + MT3608 voltage booster set at 15v.