A motor monitoring system, comprising: a motor unit comprising a motor housing and a motor arranged within the motor housing, wherein the motor comprises a stator with a plurality of stator poles each having a corresponding phase coil of a plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) coupled thereto, wherein each of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) is coupled to a corresponding phase load path of a plurality of phase load paths that supply a plurality of phase voltages for driving the motor; a plurality of first sensors (36, 37, 38) arranged within the motor housing, wherein the plurality of first sensors (36, 37, 38) are configured to: measure a first characteristic related to partial discharges that occur at one or more of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2), and generate first sensor data based on the measured first characteristic; and a motor controller configured to generate a plurality of pulse width modulation - PWM - control signals for controlling the plurality of phase voltages, receive the first sensor data from the plurality of first sensors (36, 37, 38), detect the partial discharges at at least one of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) based on the first sensor data, and adjust at least one PWM control signal of the plurality of PWM control signals based on the detected partial discharges, characterized in that the motor monitoring system further comprises at least one second sensor (41 - 46) arranged within the motor housing and configured to measure at least one gas as a second characteristic related to the partial discharges that occur at one or more of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) and generate second sensor data based on the at least one measured gas, and the motor controller is further configured to detect the partial discharges at the at least one of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) based on the second sensor data, and adjust the at least one PWM control signal of the plurality of PWM control signals based on the detected partial discharges. a motor unit comprising a motor housing and a motor arranged within the motor housing, wherein the motor comprises a stator with a plurality of stator poles each having a corresponding phase coil of a plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) coupled thereto, wherein each of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) is coupled to a corresponding phase load path of a plurality of phase load paths that supply a plurality of phase voltages for driving the motor; a plurality of first sensors (36, 37, 38) arranged within the motor housing, wherein the plurality of first sensors (36, 37, 38) are configured to: measure a first characteristic related to partial discharges that occur at one or more of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2), and generate first sensor data based on the measured first characteristic; and measure a first characteristic related to partial discharges that occur at one or more of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2), and generate first sensor data based on the measured first characteristic; and a motor controller configured to generate a plurality of pulse width modulation - PWM - control signals for controlling the plurality of phase voltages, receive the first sensor data from the plurality of first sensors (36, 37, 38), detect the partial discharges at at least one of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) based on the first sensor data, and adjust at least one PWM control signal of the plurality of PWM control signals based on the detected partial discharges, characterized in that the motor monitoring system further comprises at least one second sensor (41 - 46) arranged within the motor housing and configured to measure at least one gas as a second characteristic related to the partial discharges that occur at one or more of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) and generate second sensor data based on the at least one measured gas, and the motor controller is further configured to detect the partial discharges at the at least one of the plurality of phase coils (20, 35U1, 35U2, 35V1, 35V2, 35W1, 35W2) based on the second sensor data, and adjust the at least one PWM control signal of the plurality of PWM control signals based on the detected partial discharges.