Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 52
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/05 Capper (60)
11/05 cereus (73)
11/05 Mcanderson (43)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Class D amplifier help

Move Thread LAN_403
Inducktion
Wed May 25 2011, 03:26AM Print
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
I recently constructed a circuit using the skeleton Link2 of this schematic as a guide. I used the same IC, except, with a 2.2k resistor alone, and a .0015 uF capacitor instead of the values shown. I also changed the audio cap to a 4.7 uF capacitor. I also removed the 4 UF diodes, and removed any associated GDT parts including the zener diodes. The square wave I measured coming out was 333 kHZ.

As for the gate drive transformer, I did away with it and replaced it with a FAN7382, an easy to use high-low side IC. I used a 30 ohm resistor, a Schottky diode, and a 10 uF 16 V tantalum capacitor for all of the components shown on the datasheet. i used 10 ohm gate resistors, (from output to gate) and 10k gate to source resistors.

I used a 12 volt regulator for all the logic needs, and used TO-220 mosfets for the half bridge. I left out the 10,000 uF capacitors, (I'm not sure if they're needed or not?) and used a low pass filter consisting of two .1 uF caps in parallel in parallel with the speaker, and a 30 ohm resistor in series with the speaker.

Scoping around, I noticed the wave going to the speaker was a triangle wave. It worked, for the most part, but, the issue that arose was audio quality and loudness. Adding more voltage just distorted the sound even more, and drowned out any music. The actual sound quality at a certain volume is actually pretty decent; but, it's also really quiet.

Is there any way to increase the loudness and quality of the music coming out? Is there anything I possibly left out, or need to change? I appreciate the help a lot!
Back to top
Steve Conner
Wed May 25 2011, 08:17AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
The modulation is completely wrong for a Class-D amp. You've got bipolar PWM, it should be unipolar.
Back to top
Inducktion
Wed May 25 2011, 08:39PM
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
Steve McConner wrote ...

The modulation is completely wrong for a Class-D amp. You've got bipolar PWM, it should be unipolar.

Bipolar?

You mean complementary waves coming out of the 3525?

Back to top
Steve Conner
Sat May 28 2011, 06:33AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Bipolar PWM has three voltage levels: plus, minus and 0. the waveform goes +,0,-,0, etc. The plus and minus on-times are equal, and the control voltage modulates them equally. The result is a waveform symmetric about zero, with no DC component, so it passes through GDTs and SMPS transformers. When rectified in the secondary rectifier, the negative pulses are made positive, so it reverts to regular PWM, and the supply's output voltage ends up proportional to the control voltage.

But since the waveform has no DC component, connecting it straight to a speaker will do nothing. That's why you need unipolar PWM, which just goes +,0,+,0, etc, with the control voltage modulating the ratio of + to 0. This won't pass through a GDT, so you have to use an IR21xx type driver chip.
Back to top
Inducktion
Sat May 28 2011, 06:12PM
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
Steve McConner wrote ...

Bipolar PWM has three voltage levels: plus, minus and 0. the waveform goes +,0,-,0, etc. The plus and minus on-times are equal, and the control voltage modulates them equally. The result is a waveform symmetric about zero, with no DC component, so it passes through GDTs and SMPS transformers. When rectified in the secondary rectifier, the negative pulses are made positive, so it reverts to regular PWM, and the supply's output voltage ends up proportional to the control voltage.

But since the waveform has no DC component, connecting it straight to a speaker will do nothing. That's why you need unipolar PWM, which just goes +,0,+,0, etc, with the control voltage modulating the ratio of + to 0. This won't pass through a GDT, so you have to use an IR21xx type driver chip.

Does that mean a 555 timer based version would work?
Back to top
Steve Conner
Sat May 28 2011, 08:07PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Yep, probably.

Also, I think there's a way you can connect the 3525's two outputs together to get unipolar PWM, or maybe I'm getting confused with the TL494.
Back to top
Inducktion
Sat May 28 2011, 11:07PM
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
I think it is unipolar PWM, but when you connect the two it becomes bipolar.
Back to top
Steve Conner
Sun May 29 2011, 07:43AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Well, whatever PWM you have just now, you need the other kind. The kind that works with an audio modulated flyback is wrong for a Class-D amp.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.