Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created July 1, 2026 05:59
Show Gist options
  • Select an option

  • Save ericfont/11d39076af1f46f07c2ac0f31583ed0f to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/11d39076af1f46f07c2ac0f31583ed0f to your computer and use it in GitHub Desktop.
promising PWM DSM
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 1, 2026

Copy link
Copy Markdown
Author

sim

image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author

1nF integrator feedback capacitor also works:

image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author

seems to work with both inputs:

image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author

creates a peak in input response:

image

and noise response has peak around 50 KHz:

image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author
image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author
image

@ericfont

ericfont commented Jul 1, 2026

Copy link
Copy Markdown
Author

lowpass-filtered of above:

image

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