Created
June 29, 2026 15:32
-
-
Save ericfont/28f0a1b5809daf57277af27f5524b2de to your computer and use it in GitHub Desktop.
PWM dsm try again, with higher 500kHz sampler
Author
Author
Transfer function for feedback, from Leech textbook chapter on "Class D Amplifier":

where k = (output PWM peak) / (triangle peak)
In above example, k=1 and fo ~= 160 kHz.
Author
attempt with fo ~= 20kHz (using Cf = 750pF) somehow results in more noise:
Author
Author
if use Cf=10pF, then fo ~= 1.6 MHz
Although this is very clean, it isn't really producing a PWM but rather is more just like plain DSM.
Author
Author
Author
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment






sim