Method for generating a digital signal from an analog signal (IA, UA) generated by means of a frequency converter on the basis of pulse width modulation, wherein the digital signal corresponds to a mean value of the analog signal over a period of the pulse width modulation, the method comprising the steps: - generating a bit stream (i)) having a predetermined bit repetition duration in response to the analog signal by means of a sigma-delta modulator, and - during a time interval having a duration that is at least equal to the period of the pulse width modulation: - multiplying a respective bit (BS(i)) of the bit stream by a corresponding rating coefficient (BK(i)) for generating a respective bit/rating coefficient product, wherein the rating coefficients are generated by superimposing weighting coefficients (GK(i)) of weighting functions, wherein a midpoint of a respective weighting function is within a period of the pulse width modulation, a respective weighting function corresponds to a digital filter function, adjacent weighting functions are temporally shifted with respect to one another by one or a multiple of the bit repetition duration, and a respective weighting function has a predetermined number of weighting coefficients, and - summing the respective bit/rating coefficient products, wherein the sum represents the digital signal. - generating a bit stream (i)) having a predetermined bit repetition duration in response to the analog signal by means of a sigma-delta modulator, and - during a time interval having a duration that is at least equal to the period of the pulse width modulation: - multiplying a respective bit (BS(i)) of the bit stream by a corresponding rating coefficient (BK(i)) for generating a respective bit/rating coefficient product, wherein the rating coefficients are generated by superimposing weighting coefficients (GK(i)) of weighting functions, wherein a midpoint of a respective weighting function is within a period of the pulse width modulation, a respective weighting function corresponds to a digital filter function, adjacent weighting functions are temporally shifted with respect to one another by one or a multiple of the bit repetition duration, and a respective weighting function has a predetermined number of weighting coefficients, and - summing the respective bit/rating coefficient products, wherein the sum represents the digital signal. - multiplying a respective bit (BS(i)) of the bit stream by a corresponding rating coefficient (BK(i)) for generating a respective bit/rating coefficient product, wherein the rating coefficients are generated by superimposing weighting coefficients (GK(i)) of weighting functions, wherein a midpoint of a respective weighting function is within a period of the pulse width modulation, a respective weighting function corresponds to a digital filter function, adjacent weighting functions are temporally shifted with respect to one another by one or a multiple of the bit repetition duration, and a respective weighting function has a predetermined number of weighting coefficients, and - summing the respective bit/rating coefficient products, wherein the sum represents the digital signal.