Author Topic: PWM new article from S. Woodward  (Read 3940 times)

0 Members and 3 Guests are viewing this topic.

Offline RandallMcReeTopic starter

  • Frequent Contributor
  • **
  • Posts: 547
  • Country: us
PWM new article from S. Woodward
« on: February 23, 2023, 06:20:20 pm »
Just saw this in EDN 

Thought folks here would be interested.

https://www.edn.com/cancel-pwm-dac-ripple-with-analog-subtraction-revisited/
 
The following users thanked this post: johansen, doktor pyta, mikerj, mycroft, alm, MiDi, dietert1, miro123

Offline guenthert

  • Frequent Contributor
  • **
  • Posts: 816
  • Country: de
Re: PWM new article from S. Woodward
« Reply #1 on: February 26, 2023, 07:19:03 pm »
Thanks for the pointer, but if I understand the comments correctly, one would want a Sallen-Key filter anyhow for better ripple suppression and faster settling times (at the cost of marginally higher complexity and an OpAmp [1]).  Is that right?



[1] https://www.edn.com/design-second-and-third-order-sallen-key-filters-with-one-op-amp/
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 16239
  • Country: de
Re: PWM new article from S. Woodward
« Reply #2 on: February 26, 2023, 07:40:26 pm »
I had looked at the current more compensation circuit in a simulation and AFAIR the compensation part had the same effect as an addition 1st order filter stage. Same attenuation and same extra settling time. As digital inverters are relative cheap it could still be wort it, but the response of 1 st order filters is still not ideal and a proper 2nd order filter may be better performing.
The simple 2nd order Sallen-key filter can have the problem of direct feed through via the capacitor in the feedback, if the OP amps is not very fast. So ideally one would have a 3rd order filter with an extra passive stage in front.

I don't think the voltage compensation would be significant different. As a first crude guess mainly a shift in the cross over freqency and this way faster settling but likely more ripple to start with.
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: br
    • CADT Homepage
Re: PWM new article from S. Woodward
« Reply #3 on: February 27, 2023, 06:53:03 pm »
Isn't the proposed compensation circuit equivalent to a second order filter? Without compensation it's a 1st order filter, with compensation we have the equivalent of another 1st order filter. With two resistors and two capacitors it should be second order.

Regards, Dieter
 

Offline spostma

  • Regular Contributor
  • *
  • Posts: 147
  • Country: nl
Re: PWM new article from S. Woodward
« Reply #4 on: March 01, 2023, 09:01:11 pm »
thank you for the link!
Stephen Woodward is the most creative analog designer I know.
Check out all his design ideas on EDN!
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13864
Re: PWM new article from S. Woodward
« Reply #5 on: March 01, 2023, 10:41:46 pm »
Its a bit early for April Fools articles!
If you tweak the time constants for equal ripple to the simple cascaded two stage passive RC alternative, it doesn't settle significantly faster, nor does it settle faster than his 2017 offering.  I've attached a LTspice SIM comparing the various proposed circuits.

TLDR: It doesn't appear to be worth it even if your MCU gives you complimentary PWM outputs 'for free'!  :horse:
 
The following users thanked this post: Mickle T., Andreas, PCB.Wiz, MegaVolt

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 2846
  • Country: au
Re: PWM new article from S. Woodward
« Reply #6 on: October 20, 2024, 08:42:55 pm »
Its a bit early for April Fools articles!
If you tweak the time constants for equal ripple to the simple cascaded two stage passive RC alternative, it doesn't settle significantly faster, nor does it settle faster than his 2017 offering.  I've attached a LTspice SIM comparing the various proposed circuits.

TLDR: It doesn't appear to be worth it even if your MCU gives you complimentary PWM outputs 'for free'!  :horse:

I'll bump this with another tweak.
The classic 2 stage passive LPF uses a lazy equal R equal C choice, but that actually means the second stage loads the first and compromises the roll off.
If you do not mind choosing a lower loading second stage, you can get an improvement with no added parts.

Attached spice shows a 2nd stage loading of 2x improves ~ 10% and a loading of 4.5x (and tuned for equal ripple) gives a ~20%  35~43% gain in speed over an equal-value RC pair, now much faster than the EDN offering, yet with fewer parts. 
A fully buffered second stage example using an opamp shows ~ 55% improvement over equal-value RC for these ripple settings (+/- 1/256th of full scale).
A design may have the spare opamp for free.

Addit : Updated circuit to include OpAmp buffer reference point, to show loading effect.
« Last Edit: October 20, 2024, 09:26:31 pm by PCB.Wiz »
 
The following users thanked this post: mikerj, Ian.M


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf