Change switching frequency in order to prevent switching noise