[Boolean90] needed an amplifier for a subwoofer, and had a lot of parts sitting around in a scrap bin. His project, a Class D sub amp made out of scrap, is a great example of what you can build with the right know-how and a very large pile of junk.
With digital logic and PWM chips, a Class D amp is one of the simpler ways to get a lot of amplification easily in an efficient package. It’s really not that complicated; an audio signal is turned into a PWM’d square wave, this is sent out to a Mosfet bridge, and finally out to the speaker.
Most Class D amps have a switching frequency of hundreds of kilohertz to the Megahertz range, but since this is an amplifier for a subwoofer that has a cutoff frequency of about 1kHz, the switching frequency doesn’t need to be quite as fast. [Boolean] is using a 50kHz carrier frequency; it’s more than high enough to recreate low frequencies.
With the completed project, [Boolean] has an extremely loud amplifier that has around 75-150W of output power. The subwoofer is only rated for 200W, but with the volume [Boolean] is getting, this isn’t an amp he’ll be rebuilding anytime soon.
[Craig] recently built himself a version of the “hassler” circuit as a sort of homage to Bob Widlar. If you haven’t heard of Bob Widlar, he was a key person involved in making analog IC’s a reality. We’ve actually covered the topic in-depth in the past. The hassler circuit is a simple but ingenious office prank. The idea is that the circuit emits a very high frequency tone, but only when the noise level in the room reaches a certain threshold. If your coworkers become too noisy, they will suddenly notice a ringing in their ears. When they stop talking to identify the source, the noise goes away. The desired result is to get your coworkers to shut the hell up.
[Craig] couldn’t find any published schematics for the original circuit, but he managed to build his own version with discrete components and IC’s. Sound first enters the circuit via a small electret microphone. The signal is then amplified, half-wave rectified, and run through a low pass filter. The gain from the microphone is configurable via a trim pot. A capacitor converts the output into a flat DC voltage.
The signal then gets passed to a relaxation oscillator circuit. This circuit creates a signal whose output duty cycle is dependent on the input voltage. The higher the input voltage, the longer the duty cycle, and the lower the frequency. The resulting signal is sent to a small speaker for output. The speaker is also controlled by a Schmitt trigger. This prevents the speaker from being powered until the voltage reaches a certain threshold, thus saving energy. The whole circuit is soldered together dead bug style and mounted to a copper clad board.
When the room is quiet, the input voltage is low. The output frequency is high enough that it is out of the range of human hearing. As the room slowly gets louder, the voltage increases and the output frequency lowers. Eventually it reaches the outer limits of human hearing and people in the room take notice. The video below walks step by step through the circuit. Continue reading “Annoy Your Enemies with the Hassler Circuit”
With a new Kenwood 5.1 receiver acquired from questionable sources, [PodeCoet] had no way to buy the necessary coax. He did have leftover Cat6 though. He knew that digital requires shielded cable, but figured hacking a solution was worth a try.
To give hacking credit where credit is due, [PodeCoet] spent over a decade enjoying home theatre courtesy of a car amp rigged to his bench supply. Not all that ghetto of a choice for an EE student, it at least worked. To hook up its replacement he pondered if Cat6 would suffice, “Something-something twisted pair, single-sideband standing wave black magic.” Clearly hovering at that most dangerous level of knowledge where one knows just enough to get further into trouble, he selected the “twistiest” (orange) pair of wires in the cables. Reasonable logic, one must select the strongest of available shoelaces for towing a car.
Continue reading “Fail of the Week: Cat6 != Coax”
Class D amps are simple – just take an input, and use that to modulate a square wave with PWM. Send this PWM signal to a MOSFET or something, and you have the simplest class D amp in existence. They’re so simple, you can buy a class D amp chip for $3, but [George] thought that would be too easy. Instead, he built his own with an ATTiny and an H-bridge motor driver. No surprise, it works, but what’s interesting is what effect the code on the ATtiny can have on the quality of the audio coming out of the speaker.
The microcontroller chosen for this project was the ATtiny 461, a part we don’t see much, but still exactly what you’d expect from an ATtiny. The heavy lifting part of this build is an L298 chip found on eBay for a few dollars. This dual H-bridge is usually used for driving motors, but [George] found a home for it in the power section of an amplifier.
The ATtiny is clocked at 16 MHz, making the ADC clock run at 1 MHz. A 10-bit precision conversion takes place, and this value sets the PWM duty cycle. Timer1 in the chip is set up to run at 32 MHz, and by counting this timer up to 1023 gives this amp its PWM cycle speed of 31.25 kHz. That’s right in the neighborhood of what a class D amp should run at, and the code is only about 30 lines. It can’t get simpler than that.
[George] put up a video of this amp in operation, and despite not following the standard design of a Class D amp, it sounds pretty good. You can see that video below.
Continue reading “Class D Amp with an H-Bridge”
Most of the work that [Ron] has done in the past with vacuum tubes and solid state electronics has been repair. At 59 years old, he finally put together his own stereo tube amplifier and we have to admit it definitely has an awesome look.
The platform is built around the well-known 6V6 beam-power tetrodes which are mostly used by major audio brands for their guitar amplifiers nowadays. The Dynaco 6V6 circuit based PCB was bought from China and minor changes were made to it. The amplifier uses one transformer to convert the US 120VAC into 240VAC and 9VAC, the first being rectified by a glassware PS-14 power supply while the later is converted regulated at 6.3V for the tube heaters. The output stage consists of two Edcor audio transformers (one for each channel) that converts the high voltage for its 8 ohms speakers. The home-made chassis provides proper grounding and as a result you can’t hear any background noise.
We are very curious to know if some our readers have been experimenting with glass tubes for audio applications. Please let us know your experience in the comments section below.
Hang around in any of the many guitar or audiophile forums or discussion boards for long enough, and eventually you’ll come across the arguments over amplifier topologies. One of the more interesting and useful of these classes of amplifier is class d – they’re extremely efficient and when well designed can sound pretty good. [Afrotech] is here to show you how they work, and how to build a 15 Watt amp using a $3 class d amplifier chip.
The very definition of an amplifier is taking a low power signal and transforming it into a high power signal. A great way to modulate a high power signal very quickly is by modulating a square wave with pulse width modulation. A class d amplifier takes a low power input signal, uses it to modulate the duty cycle of a high power square wave, and with a little filtering, amplifies the low power input.
To demo this, [Afrotech] used TI’s TPA3122 class d amplifier chip. It’s a pretty cheap chip for being a 15 Watt stereo amplifier, and the circuit is simple enough to build on a breadboard. With a few caps, resistors, and a pair of inductors, [Afrotech] built this one-chip amplifier that’s capable of powering some pretty big speakers. It’s also very efficient – no heat sink required.
Although class d amps are extremely efficient. there are a few people out there that say because the amplifier is basically a filtered square wave, you’ll be able to hear a difference in the audio over class a or class ab amplifiers. This led to the development of class t amplifiers, basically a class d amp with a higher switching speed (Megahertz for class t, a few hundred kilohertz for class d). Still, if you need a cheap amplifier for a DIY boombox or any other high power application, you could do a lot worse than a simple class d amp.
Continue reading “[Afrotech]’s Guide To Class D Amplifiers”
It was a cold January Saturday night in Chicago and we had big plans. Buddy Guy’s Legends bar was packed. We setup directly under one of the PA speakers less than 15′ from the stage. Time to celebrate. Skip the glass, one pitcher each and keep them coming. We’re about to make bootleg recording history. Conversation evolved into bloviation on what our cover art would look like, certainly it would be a photo of our battery powered tube mic pre-amp recently created in my basement lab. We had four hours to kill before Buddy’s appearance. Our rate of Goose Island and Guinness consumption would put us at three-sheets to the wind by 11. Must focus. It’s time, Buddy was on. Much fumbling about and forgetting how to turn on the Japanese-made 24 bit digital recorder with its nested LCD menus, cryptic buttons, and late 90’s firmware. Make it work. We did, just in time for the bouncers to notice the boom mike and battery packs. Wait, wait… maybe we should talk about why tube amps are worth this kind of trouble first.
Yes, vacuum tubes do sound better than transistors (before you hate in the comments check out this scholarly article on the topic). The difficulty is cost; tube gear is very expensive because it uses lots of copper, iron, often point-to-point wired by hand, and requires a heavy metal chassis to support all of these parts. But with this high cost comes good economic justification for building your own gear.
This is one of the last frontiers of do-it-yourself that is actually worth doing.
Continue reading “Keep those filaments lit, Design your own Vacuum Tube Audio Equipment”