Method and Apparatus for Pulse Width Modulation
20170170816 ยท 2017-06-15
Assignee
Inventors
Cpc classification
G06F17/142
PHYSICS
G06F1/025
PHYSICS
H03K17/165
ELECTRICITY
H03K7/10
ELECTRICITY
International classification
H03K7/10
ELECTRICITY
H03K17/16
ELECTRICITY
G06F1/025
PHYSICS
Abstract
A ternary pulse width modulation (PWM) method and apparatus. In one embodiment, the start of the pulse sequence in the current frame is referenced to the end of the pulse sequence in a previous, reference frame, rather than to the frame boundary at the start of the current frame, thereby allowing the compensation portion of the pulse sequence to overlap into the preceding or following frame, thus achieving a higher modulation index without dropping the compensation pulses. Although in most instantiations, the reference frame will be the frame immediately preceding in time the current frame, in other instances, the reference frame may be any frame preceding the current frame that falls within the constraints of the timing facility.
Claims
1. A ternary pulse width modulation (PWM) method comprising the steps of: [1.1] receiving a first input sample during a reference frame; [1.2] developing a first compensated composite waveform as a function of at least the first input sample; [1.3] receiving a second input sample during a current frame; and [1.4] developing a second compensated composite waveform as a function of the second input sample and a selected one of the first compensated composite waveform and a boundary of the reference frame that is not a boundary of the current frame.
2. The method of claim 1 wherein the reference frame immediately precedes in time the current frame.
3. The method of claim 2 wherein a compensation portion of the second compensated composite waveform overlaps in time a frame boundary between the reference frame and the current frame.
4. The method of claim 2 wherein a compensation portion of the second compensated composite waveform precedes in time a frame boundary between the reference frame and the current frame.
5. The method of claim 2 wherein a compensation portion of the first compensated composite waveform overlaps in time a frame boundary between the reference frame and the current frame.
6. The method of claim 2 wherein a compensation portion of the first compensated composite waveform succedes in time a frame boundary between the reference frame and the current frame.
7. In a ternary pulse width modulation (PWM) method comprising the steps of: [7.1] receiving a first input sample during a first frame; and [7.2] developing a first compensated composite waveform as a function of the first input sample; the improvement comprising the additional steps of: [7.3] receiving a second input sample during a second frame; and [7.4] developing a second compensated composite waveform as a function of the second input sample and a selected one of the first compensated composite waveform and a boundary of the first frame that is not a boundary of the current frame.
8. The method of claim 7 wherein the first frame immediately precedes in time the second frame.
9. The method of claim 8 wherein a compensation portion of the second compensated composite waveform overlaps in time a frame boundary between the first frame and the second frame.
10. The method of claim 8 wherein a compensation portion of the second compensated composite waveform precedes in time a frame boundary between the first frame and the second frame.
11. The method of claim 8 wherein a compensation portion of the first compensated composite waveform overlaps in time a frame boundary between the first frame and the second frame.
12. The method of claim 8 wherein a compensation portion of the first compensated composite waveform succedes in time a frame boundary between the first frame and the second frame.
13. A ternary PWM facility configured to perform the method of any of the claims 1 to 12.
14. A digital signal processing system comprising a ternary PWM facility according to claim 13.
15. A non-transitory computer readable medium including executable instructions which, when executed in a processing system, causes the processing system to perform the steps of a method according to any one of claims 1 to 12.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
[0026] My invention may be more fully understood by a description of certain preferred embodiments in conjunction with the attached drawings in which:
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] In the drawings, similar elements will be similarly numbered whenever possible. However, this practice is simply for convenience of reference and to avoid unnecessary proliferation of numbers, and is not intended to imply or suggest that my invention requires identity in either function or structure in the several embodiments.
DETAILED DESCRIPTION OF THE INVENTION
[0040] In accordance with my invention, the start of the pulse sequence in the current frame is referenced, not to the leading edge of the current frame boundary but rather to an event in a previous reference frame, e.g., the trailing edge of the last pulse in the signal pulse sequence, or a boundary of the reference frame that is not a boundary of the current frame. By allowing the compensation portion of the pulse sequence to overlap into the preceding or following frame, a higher modulation index may be achieved without dropping the compensation pulses. Although in most cases, the reference frame will be the frame immediately preceding in time the current frame, it is possible to select as the reference frame any frame preceding the current frame that falls within the constraints of the timing facility.
[0041] In
[0042] In
A=current pulse width
D=compensation pulse width
E=CD
where:
[0043] n=number of clock cycles per frame; and
[0044] a primed value comprises the enumerated value from a reference frame.
[0045]
[0046]
[0047]
[0048] Although I have described my invention in the context of particular embodiments, one of ordinary skill in this art will readily realize that many modifications may be made in such embodiments to adapt either to specific implementations. Thus it is apparent that I have provided a ternary pulse width modulation method and apparatus that are both effective and efficient. Further, I submit that my method and apparatus provide performance generally superior to the best prior art techniques.