Method for Controlling an Electrical Load by Means of Pulse Width Modulation

Information

  • Patent Application
  • 20190372683
  • Publication Number
    20190372683
  • Date Filed
    August 16, 2019
    4 years ago
  • Date Published
    December 05, 2019
    4 years ago
Abstract
A method for controlling an electrical load by means of pulse width modulation, (PWM) includes specifying a setpoint switching frequency fsetpoint and a setpoint duty ratio dsetpoint and determining the carrier frequency fch of a radio transmitter. The actual switching frequency fsw of the PWM is adapted to the carrier frequency fch of the radio transmitter in such a way that a multiple k*fsw of the actual switching frequency fsw is equal to the carrier frequency fch with an integer factor k. The actual switching frequency fsw is set to the value closest to the setpoint switching frequency fsetpoint for which the amplitude of the harmonics k*fsw in the harmonic spectrum of the actual switching frequency fsw is smaller than the amplitudes of their closest lower (k−1)*fsw and upper (k+1)*fsw adjacent harmonics.
Description
TECHNICAL FIELD

The present invention relates to a method for controlling an electrical load by means of pulse width modulation (PWM), wherein a setpoint switching frequency and a setpoint duty ratio of the PWM are prescribed, the carrier frequency of a selected radio transmitter (i.e., radio station) is determined, and the actual switching frequency of the PWM is adapted to the carrier frequency of the radio transmitter in such a way that an integer multiple of the actual switching frequency is equal to the carrier frequency.


BACKGROUND

Pulse width modulation (PWM) is often used for controlling the powering of electrical loads. Examples of possible applications are the control of heating elements, or electric motors for fans or adjustment devices. A controller associated with an electrical load generates a periodic sequence of square-wave pulses whose width is modulated. A supply voltage is alternately switched on and off, wherein the so-called duty ratio d, defined as the ratio of the power-on time to the period duration, is such that on average a voltage d*Umax is present, where Umax is the peak value of the supply voltage. Conventional controllers are operated with an approximately constant PWM frequency, which may typically be in the range between approximately 10 kHz and 100 kHz.


It is known that driving electrical loads by PWM causes interference which is expressed, for example, as acoustic interfering noise during radio reception. Switching the voltage results in harmonics in the signal which may contain frequency components in the radio reception ranges. This may result in audible influences on the radio receiver, particularly in the medium wave band. These interferences are audible particularly when the harmonic is in the transmission bandwidth of the radio transmitter.


DE 10 2011 118 044 A1 describes a method for controlling an electrical load by means of pulse width modulation (PWM) in which for eliminating such interferences the switching frequency of the PWM is adapted to the previously determined carrier frequency of the radio transmitter for which interference is to be suppressed in such a way that an integer multiple of the switching frequency corresponds to this carrier frequency.


When a multiple of the switching frequency of the PWM, i.e., a harmonic from the harmonic spectrum of the switching frequency, matches the carrier frequency, ideally it is not audible since there is no audio signal present on the carrier frequency itself. The upper and lower adjacent harmonics thereof, which exactly match the carrier frequency, are outside the transmission bandwidth and therefore do not cause interference.


In this method, it is assumed, firstly, that the harmonic on the carrier frequency is small enough that it does not override the carrier, so that the latter is still detectable. Secondly, it is assumed that the harmonic is exactly on the carrier frequency. However, if the harmonic and carrier frequency are very similar but not identical, then this results in a beat between the frequencies, which may lead to new interferences.


SUMMARY

Methods according to embodiments of the present invention have the advantage over the above-described method that the interferences are also minimized on the carrier frequency itself. As a result, the possible interferences are further reduced.


In accordance with embodiments of the present invention, this is achieved in that the actual switching frequency of the PWM is set to the value closest to the setpoint switching frequency for which the amplitude of a harmonic in the harmonic spectrum of the actual switching frequency is smaller than the amplitudes of its closest lower and upper adjacent harmonics.


An embodiment provides a method for controlling an electrical load by means of PWM. The method includes specifying a setpoint switching frequency fsetpoint and a setpoint duty ratio dsetpoint of a PWM signal and determining a carrier frequency fch of a radio transmitter. The method further includes adapting an actual switching frequency fsw of the PWM signal to the carrier frequency fch of the radio transmitter such that a multiple k*fsw of the actual switching frequency fsw is equal to the carrier frequency fch with an integer factor k. The method further includes setting the actual switching frequency fsw to the value closest to the setpoint switching frequency fsetpoint for which the amplitude of a harmonic k*fsw in a harmonic spectrum of the actual switching frequency fsw is smaller than the amplitudes of its lower (k−1)*fsw and upper (k+1)*fsw adjacent harmonics.


The method may further include setting a duty ratio d of the PWM signal at a ratio m/n that is close to the setpoint duty ratio dsetpoint, where m and n are natural numbers; and setting the actual switching frequency fsw to a value for which the frequency k*fsw assumes the value closest to the setpoint switching frequency fsetpoint for which k/m is a natural number.


n may be less than or equal to 10 or may be less than or equal to 5.


The method may further include setting the duty ratio d at the smaller ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T1 and setting the duty ratio d at the larger ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T2. The times T1 and T2 are selected such that the duty ratio d on a time average is equal to the setpoint duty ratio dsetpoint.


The radio transmitter may be an amplitude-modulated radio transmitter or a frequency-modulated radio transmitter.







DETAILED DESCRIPTION

Detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the present invention that may be embodied in various and alternative forms.


In one practical implementation of the method according to the present invention, it is provided that the duty ratio is set at a ratio m/n that is close to the setpoint duty ratio, where m and n are natural numbers, and that the actual switching frequency fsw of the PWM is set to a value for which the frequency k*fsw assumes the value closest to the setpoint switching frequency for which k/m is a natural number.


The method according to the present invention makes use, among other things, of the finding that the amplitudes of the harmonics in the harmonic spectrum of the switching frequency of a pulse width-modulated (PWM) control may be very different. Whereas the frequencies of the harmonics in the spectrum are specified by a so-called Dirac comb custom-characterδ(f−i·fsw) as integer multiples of the switching frequency, their amplitudes are determined by an envelope. This envelope may be described by a cardinal sine function:








2

·
d
·

U
max

·
sinc







(

d
·

f

f
sw



)





Thus, it may be shown that for the spectrum of a PWM signal having infinitely steep switching edges and an amplitude of Umax, the following relationship applies:








U
Spektrum



(
f
)


=





2

·
d
·

U
max

·
sinc








(

d
·

f

f
sw



)

·




i










δ


(

f
-

i
·

f
sw



)











At the frequencies for which a zero point of the cardinal sine coincides with a harmonic, this specific harmonic is missing in the spectrum.


The zero points of the cardinal sine are at the following frequencies:






f
sinc,0
=m·f
sw
/d;m∈
custom-character



The harmonics of the Dirac comb are at the following frequencies:






f
dirac
=n·f
sw
;n∈
custom-character



Thus, the following condition should be met for the method (with reception channel fch):






f
sinc,0
=f
dirac
=f
ch


A mathematical method with which the PWM frequency may be appropriately determined is described below by way of example. For this purpose, a setpoint switching frequency fsetpoint is defined as the starting variable.


In the first step it is determined which zero points of the cardinal sine and which harmonics coincide:










f

sinc
,
0


=



f
dirac












m
·


f
sw

d



=

n
·

f
sw












d

=


m
n



(
truncated
)









It follows that each mth zero point of the cardinal sine coincides with each nth harmonic.


In the second step it must be determined which of the mth zero points of the cardinal sine are to lie on the reception channel:







f

sinc
,
0


=



f
ch


k

=

{





nint


{


d
·

f
ch



m
·

f
Soll



}






f


u
¨


r





nint


{


d
·

f
ch



m
·

f
Soll



}


>
0





1




f


u
¨


r





nint


{


d
·

f
ch



m
·

f
Soll



}


=
0




,







where “nint” is the nearest integer function. Thus, the (k·m)th zero point of the cardinal sine should lie on the reception channel.


In the third step the switching frequency must be determined:







k
·
m
·


f
sw

d


=



f
ch



f
sw


=


d
·

f
ch



k
·
m







It is apparent that different switching frequencies must be set, depending on the duty ratio d and the selected reception channel fch. Since, as shown above, each mth zero point of the cardinal sine coincides with each nth harmonic, such duty ratios d=m/n are particularly well suited for an implementation in which n is particularly small, since each nth harmonic is missing. This means that for a small n, the missing harmonics are situated closer together, so that only a comparatively small variation in the switching frequency is necessary to arrive at the next closest missing harmonic, and to thus suppress interference for the particular reception channel.


Thus, the larger the value of n that must be selected to describe the required duty ratio d, the greater the change in the switching frequency that is possibly necessary in order to arrive at the next closest missing harmonic.


In such cases, there are three options for avoiding duty ratios that are “unfavorable” in the sense of the method:


1. The duty ratio is maintained, as the result of which very large frequency adaptations may be necessary.


2. Both the switching frequency and the duty ratio are adapted. The applicability of this method should be checked on an application-specific basis. If a variation in the duty ratio is possible, for example the next closest “favorable” duty ratio may be selected. The peak voltage Umax may also be adapted here in such a way that, despite the changed duty ratio, the average value of the voltage to be set by the pulse width modulation results.


3. A modified PWM signal is used in which various “favorable” duty ratios are used to avoid an “unfavorable” duty ratio.


As an example of the case described under item 3, it is assumed that a duty ratio of 22% is to be achieved. Since this duty ratio, which would be specified by d=m/n=22/100, must not be decreased further than to 11/50, this means that only every 50th harmonic is missing in the spectrum, and a great change in the control frequency may thus be necessary.


However, it is then possible, for example, to set a duty ratio of 20% corresponding to d=1/5 for a time period T1, and a duty ratio of 25% corresponding to d=1/4 for a time period T2, in each case in alternation. T1 and T2 should be selected in such a way that on average a duty ratio of 22% results. The switching frequencies fsw1 and fsw2 are determined according to the described algorithm.


Thus, in general the following averaging must apply, in which any desired number (iϵcustom-character) of PWM signals may be combined:






d
=


1







T
i



·








d
i

·

T
i








The above algorithm is used to derive the following relationship:






f
i(fch,fsw,nom,di)


The criterion also applies that the times Ti should correspond to multiples of the period duration so that no switching periods are prematurely terminated:







T
i





l
i


f
i







with






(


l
i



)






An alternating switching pattern is proposed to avoid a low-frequency oscillation






(


f
sum

=

1







T
i




)




in the system. The PWM signals are not varied according to the particular time Ti, but instead are alternated within a macrocycle ΣTi after a few pulses. It is crucial that the PWM signal in question in sum was effective within the macrocycle ΣTi for the time Ti. The low-frequency oscillation is reduced as a result of this alternation.


The method according to the invention may be used for suppressing interference for amplitude-modulated (AM) as well as for frequency-modulated (FM) radio transmitters.


While exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms of the present invention. Rather, the words used in the specification are words of description rather than limitation, and it is understood that various changes may be made without departing from the spirit and scope of the present invention. Additionally, the features of various implementing embodiments may be combined to form further embodiments of the present invention.

Claims
  • 1. A method for controlling an electrical load by means of pulse width modulation (PWM), the method comprising: specifying a setpoint switching frequency fsetpoint and a setpoint duty ratio dsetpoint of a PWM signal;determining a carrier frequency fch of a radio transmitter;adapting an actual switching frequency fsw of the PWM signal to the carrier frequency fch of the radio transmitter such that a multiple k*fsw of the actual switching frequency fsw is equal to the carrier frequency fch with an integer factor k; andsetting the actual switching frequency fsw to the value closest to the setpoint switching frequency fsetpoint for which the amplitude of a harmonic k*fsw in a harmonic spectrum of the actual switching frequency fsw is smaller than the amplitudes of its lower (k−1)*fsw and upper (k+1)*fsw adjacent harmonics.
  • 2. The method of claim 1 further comprising: setting a duty ratio d of the PWM signal at a ratio m/n that is close to the setpoint duty ratio dsetpoint, where m and n are natural numbers; andsetting the actual switching frequency fsw to a value for which the frequency k*fsw assumes the value closest to the setpoint switching frequency fsetpoint for which k/m is a natural number.
  • 3. The method of claim 2 wherein: n is less than or equal to 10.
  • 4. The method of claim 3 further comprising: setting the duty ratio d at the smaller ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T1, and setting the duty ratio d at the larger ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T2, wherein the times T1 and T2 are selected such that the duty ratio d on a time average is equal to the setpoint duty ratio dsetpoint.
  • 5. The method of claim 2 wherein: n is less than or equal to 5.
  • 6. The method of claim 3 further comprising: setting the duty ratio d at the smaller ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T1, and setting the duty ratio d at the larger ratio m/n that is closest to the setpoint duty ratio dsetpoint for a time T2, wherein the times T1 and T2 are selected such that the duty ratio d on a time average is equal to the setpoint duty ratio dsetpoint.
  • 7. The method of claim 1 wherein: the radio transmitter is an amplitude-modulated radio transmitter.
  • 8. The method of claim 1 wherein: the radio transmitter is a frequency-modulated radio transmitter.
Priority Claims (1)
Number Date Country Kind
10 2017 001 788.3 Feb 2017 DE national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/EP2018/053675, published in German, with an International filing date of Feb. 14, 2018, which claims priority to DE 10 2017 001 788.3, filed Feb. 24, 2017; the disclosures of which are hereby incorporated in their entirety by reference herein.

Continuations (1)
Number Date Country
Parent PCT/EP2018/053675 Feb 2018 US
Child 16543113 US