Compensation Network Calculator

This is a little "web-app" script I wrote to calculate which component values to use for type-III compensation networks. In case you have no idea what I'm talking about, they are little circuits used in the feedback path of synchronous buck converters and class-D amplifiers to boost the output phase to stabilize the loop.

The image at the right shows the component naming used for the script. Rf2 is not used in the calculations, it attenuates the input to the amplifier and should be chosen to set the output voltage but does not affect the frequency response.

There's a standalone page here, and source code is available on BitBucket.

Do note a browser with JavaScript and HTML5 canvas support is necessary.

Filter and modulator properties
Compensator properties

Error: HTML5 canvas support is necessary.

Copyright © 2017-2020 Mattis Michel