Reasons for making CVs with high-speed PWM (Patreon)
Content
My several modules that make CVs with Arduino PWMs.
LFOs, envelope generators, etc.
https://note.com/solder_state/n/n4c600f2431c3
These modules use high speed PWM.
The PWM frequency of the Arduino nano is 980 Hz, but the frequency can be increased to about 60 kHz by changing the register settings.
The reason for using high-speed PWM is shown in the figure.
It is because the ripple voltage is small, the response is fast, and the output dynamic range can be increased.
Use simulation to check the effect of high-speed PWM.
Fix the CR low-pass filter at 1k ohm and 1uF, and use the PWM frequency
At 980 Hz, the ripple voltage was 1.25 V and the response was 2 msec.
At 60 kHz, the ripple voltage was 0.02 V and the response was 2 msec.