Variable pulse-width modulation with zero D.C. average in each period
View Patent ↗Pulse-width modulation (PWM) finds wide use in many applications including motor control, communication systems, music synthesizers, power supplies, class-D and digital amplifiers, among others. The Fourier series expansion of each period of a pulse waveform includes an additive term that is a function of the pulse width in that period. As the pulse width is varied, this additive term varies, which can be problematic in many applications. In an embodiment, a single-pulse per period pulse width modulated waveform comprising a zero d.c. term in each period regardless of pulse width is generated. In various realizations these waveforms may be generated by electronic circuitry without the use of capacitive coupling or may be generated by algorithms. Further aspects include “through-zero” pulse width modulation and zero-centered asymmetric triangle waveforms and use in instrumentation for measurement of a phase angle of an exogenous system or phenomena.
1. A method for generating a pulse waveform comprising a zero d.c. term in each period, the method comprising:
providing a periodic reference signal that varies in value over at least one portion of the period;
providing a pulse width control value;
comparing the periodic reference signal with the pulse width control value to produce a first pulse waveform;
subtracting a function of the control value from the first pulse waveform to produce a second pulse waveform; and
providing the second pulse waveform as an output.
2. The method of claim 1 wherein the function is a linear function.
3. The method of claim 1 wherein the function is an affine function.
4. The method of claim 1 wherein the function comprises an inverse trigonometric function.