Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation {wherein the PWM mode is adapted on the running conditions of the motor, e.g. the switching frequency}