OK, so I understand that the PID function needs to be able to control the PWM each time it wants to change control output, so the PWM frequency must be at least equal to the PID control frequency (not necessarily equal to the sampling rate) and the PWM frequency should also be different than the sampling rate to minimize interference. From Nophead's comment, it seems that there are a few alternby bryanandaimee - Firmware - experimental, borrowed, and future
So I was on the Gen7 forum topic with Traumflug and we were both wondering why all the firmwares seem to be moving to high frequency PWM for heater control. This tends to make selection of FET's more difficult and more expensive, not to mention all the electrical noise you are injecting into the system using high power high frequency signals. So the question is what are the benefits to kHz PWM? Wby bryanandaimee - Firmware - experimental, borrowed, and future