Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created July 5, 2026 02:54
Show Gist options
  • Select an option

  • Save ericfont/8b8f14ffcd2969fafd7858836905cc88 to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/8b8f14ffcd2969fafd7858836905cc88 to your computer and use it in GitHub Desktop.
2nd-order DSM PWM
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont

ericfont commented Jul 5, 2026

Copy link
Copy Markdown
Author

sim

image image

@ericfont

ericfont commented Jul 5, 2026

Copy link
Copy Markdown
Author

can use RC to slow down instead of using Schmitt-trig. Or could you a little of both.

image

@ericfont

ericfont commented Jul 5, 2026

Copy link
Copy Markdown
Author

The 2nd order is nice cause the two feedback paths add some good chaos to the integration, which helps randomize the PWM transistions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment