Go Back   Home > Forums > Amplifiers > Class D
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Class D Switching Power Amplifiers and Power D/A conversion

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 14th September 2010, 03:13 PM   #11
Isaacp is offline Isaacp  Australia
diyAudio Member
 
Join Date: Jun 2010
ok, I think I'm starting to get the hang of this. I've managed to put together a second order loop which is slow and pretty temperamental with regards to changing components - especially the caps and resisters controlling the integrators, but its progress nevertheless
here's the schematic
Click the image to open in full size.
and here's the output
Click the image to open in full size.

The next step is to fiddle with component values and opamps/comparators to get a sense of which bits affect what, the goal being to make it a little more stable and of course faster, any suggestions as to where to start?

oh and one other thing, I've read that opamp integrators cant be used in loops above second order, so I suppose i really have two questions. First how would you implement an integrator without an opamp? (i'm guessing it'd be some kind of rc filter) and second is it worthwhile for a guitar amp that is likely to have distortion dialled in, one way or another regardless?

cheers,
Isaac
  Reply With Quote
Old 14th September 2010, 07:18 PM   #12
diyAudio Member
 
Join Date: May 2002
Location: Switzerland
I would start by removing the error:

Using just one feedback resistor for both integrators (i.e. R6) doesn't work. Both need an own feedback resistor !

Play a little with them first (and also the caps). We will show you how to determine a noise transfer function later on.

Regards

Charles
  Reply With Quote
Old 15th September 2010, 03:48 AM   #13
Isaacp is offline Isaacp  Australia
diyAudio Member
 
Join Date: Jun 2010
Sure, like this?
Click the image to open in full size.
actually looking at it now, i can see it why it should be there, so thankyou for preventing future headaches (or am i wrong - should it be in series with R6?)
noise transfer function sound interesting, I look forward to it. until then I'll keep fiddeling, still having trouble getting the speed up, but it seems like a much smaller problem problem compared to where I was two days ago

thanks again,
Isaac
  Reply With Quote
Old 15th September 2010, 04:20 PM   #14
diyAudio Member
 
Join Date: Apr 2010
Quote:
Originally Posted by Isaacp View Post
oh and one other thing, I've read that opamp integrators cant be used in loops above second order,
Not at all. People have managed easily going upto 3rd and 4th order. Above that, compensating becomes a nightmare. If you refer the IEEE or elsevier journals you can very frequently see people using 3rd and 4th order loops.
As far as sigma delta modulation is concerned, it is better to go for higher order loops to increase the randomness of the quantizer. It is always easy and reliable (stability-wise) to extract the coefficients from the Richard-Shreier's toolbox(MATLAB).

Quote:
Originally Posted by Isaacp View Post
so I suppose i really have two questions. First how would you implement an integrator without an opamp? (i'm guessing it'd be some kind of rc filter) and second is it worthwhile for a guitar amp that is likely to have distortion dialled in, one way or another regardless?
cheers,
Isaac
1) Impossible. Integrators can never be realized without an active element. (passive filters can never have a pole at the origin of the s-plane)
2) could you rephrase please.
  Reply With Quote
Old 16th September 2010, 04:44 AM   #15
Isaacp is offline Isaacp  Australia
diyAudio Member
 
Join Date: Jun 2010
Quote:
Originally Posted by terminator12 View Post
Not at all. People have managed easily going upto 3rd and 4th order. Above that, compensating becomes a nightmare. If you refer the IEEE or elsevier journals you can very frequently see people using 3rd and 4th order loops.
As far as sigma delta modulation is concerned, it is better to go for higher order loops to increase the randomness of the quantizer. It is always easy and reliable (stability-wise) to extract the coefficients from the Richard-Shreier's toolbox(MATLAB).
unfortunately I don't have access to any of the above, i subscription to IEEE might be worthwhile though provided its not stupidly expensive...

Quote:
Originally Posted by terminator12 View Post
1) Impossible. Integrators can never be realized without an active element. (passive filters can never have a pole at the origin of the s-plane)
sorry must have been late when I was replying I had this in mind:
RC circuit - Wikipedia, the free encyclopedia I realise now that would only work with a single time constant - not a varying signal - Fourier analysis never was my strong point .
Quote:
Originally Posted by terminator12 View Post
2) could you rephrase please.
again I blame tiredness :P my question was, is it worth going to all this trouble to reduce distortion and noise for a guitar amp that is going to have at least a little distortion added intentionally? I haven't had an opportunity to listen to the kind of distortion produced by a low order delta sigma loop, so I don't really know how it sounds.

thank you everyone for your patience I'm trying to learn all this as I go.
Isaac
  Reply With Quote
Old 16th September 2010, 01:22 PM   #16
Isaacp is offline Isaacp  Australia
diyAudio Member
 
Join Date: Jun 2010
Just did another simulation, up to third order now, using opamp integrators so in conclusion Terminator12, your right and I'm wrong as to be expected
anyway here's the schematic:
Click the image to open in full size.
and the output:
Click the image to open in full size.
if your wondering about why its such a small voltage, its because its taken through a high impedance tap from the output of the flip-flop to avoid effecting the circuit. Looks nice and clean though
  Reply With Quote
Old 17th September 2010, 04:25 AM   #17
diyAudio Member
 
Join Date: Apr 2010
Isaacp, what is the reason behind putting those comparators in-between the integrators? I think it would work better without them. Do you have any concrete reason behind using them?
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why delta sigma class D terminator12 Class D 7 6th May 2010 06:20 AM
Does a delta sigma modulator need an output filter? kipman725 Class D 6 18th January 2010 11:04 PM
Sigma Delta Bandwidth d1983 Class D 1 14th November 2007 02:17 AM
Delta-Sigma Class D contitek Class D 16 10th March 2005 12:10 PM
which clock used in delta-sigma modulator for cs43122? rlim Digital Source 1 16th July 2004 08:34 PM


New To Site? Need Help?

All times are GMT. The time now is 01:54 PM.

Page generated in 0.10904 seconds (79.30% PHP - 20.70% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio