US 6,404,251 B1Grant
Systems and methods for linearly varying a pulse-width modulation signal with a control signal
Issue Date:2002-06-11
•43 Claims
•8 Drawing Sheets
Abstract
A linear pulse-width modulator system is provided. The pulse-width modulation system of the present invention provides a pulse-width modulated (PWM) signal from a control voltage. The PWM signal varies linearly with the control voltage over a full range of duty cycles. The pulse width modulation system of the present invention has as plurality of comparators, each having one input coupled to a control voltage and a second input coupled to a periodic waveform signal provide by a waveform generator. The periodic waveform signals are identical except that each waveform is time delayed with respect to the other waveform signals. The outputs the comparators are coupled to a multiplexer which selects the output of each comparator as the PWM signal for a time interval corresponding to when the output signal of the comparator has substantially constant propagation delays. The propagation delays in the a comparator's output signal are substantially constant when the periodic waveform signal input of the comparator is not near the its minimum or maximum voltage.
Metadata
Assignee
- Linear Technology Corporation
Inventors
- David M. Dwelley
- Trevor W. Barcelo
Application Information
Application Number:US 09/536,271
Filing Date:2000-03-27
Priority Date:2000-03-27
Art Unit:7
Classifications
IPC:
H03K 3017
Field of Search:
327100327124327129327131
Patent Drawings (8 sheets)
Description
Background of the Invention
[0002] This invention relates to pulse-width modulation systems. More specifically, this invention relates to linear pulse width modulation systems that provide a pulse-width modulated (PWM) signal that has a duty cycle from 0-100% that varies linearly with a control voltage signal.
[0003] A pulse-width modulator is a circuit that generates a PWM signal from a DC control voltage and a periodic analog waveform such as a triangular waveform. A previously known pulse width modulator 10 is shown in FIG. 1. Pulse-width modulator 10 comprises comparator 14 that compares a control voltage VCat its non-inverting input to periodic analog waveform signal VWgenerated by waveform generator 12 at its inverting input to generate PWM signal VPWM. The comparator provides VPWMthat alternates between LOW (e.g., 0 volts) and HIGH (e.g., 5 volts) in response to the voltage difference between the inverting and non-inverting inputs.
[0004] A PWM signal is a periodic signal that has an amplitude that alternates between LOW and HIGH, and has a duty cycle of between 0-100%. The period of VPWMis set by the period of VW. The duty cycle of VPWMis typically defined as the percentage of time that VPWMis HIGH during its period. The duty cycle of VPWMis set by the value of VC, and varies based on changes in VC.
[0005] Many applications require pulse-width modulators that provide a PWM signal having a duty cycle that varies linearly with the control voltage over the entire range of duty cycles from 0% to 100%. The duty cycle of the PWM signal may vary non-linearly with VCwhen the output signal of the comparator in the pulse-width modulator has varying propagation delays. The propagation delay of comparator 14 is the time required for its output signal (VPWM) to reach the midpoint between the LOW and HIGH values from the time when the voltage difference between the non-inverting and inverting inputs passes through zero. There are two distinct propagation delays: tPLHis the propagation delay when VPWMtransitions from LOW to HIGH, and tPHLis the propagation delay when VPWMtransitions from HIGH to LOW.
[0006] Example of signals VW, VC, and VPWMfor circuit 10 are shown in FIG. 2. VWvaries between VMAXand VMIN, and VPWMhas two states (HIGH and LOW). Ideally, VPWMis HIGH when VC>VW, and VPWMis LOW when VC<VW. In reality, however, comparator 14 has non-zero propagation delays tPHL20 and tPLH22. In particular, tPHL20 is the difference between the time when VWcrosses from just below to just above VCand the time when VPWMreaches the midpoint between HIGH and LOW, and tPLH22 is the difference between the time when VWcrosses from just above to just below VCand the time when VPWMreaches the midpoint between LOW and HIGH.
[0007] Propagation delays tPHLand tPLHmay vary as VCvaries between VMAXand VMINdue to variations in the overdrive (i.e., the magnitude of the difference between the voltages at the non-inverting and inverting inputs of the comparator), and the finite slew rate of the comparator's internal nodes. For example, tPLHincreases and tPHLdecreases as VCapproaches VMIN, and tPLHdecreases and tPHLincreases as VCapproaches VMAX.
[0008] FIG. 3 is a graph of the duty cycle of signal VPWMof circuit 10 where VWis a symmetrical triangular periodic waveform signal. The peak-to-peak amplitude of VWis its maximum voltage VMAXminus its minimum voltage VMIN. Control voltage VCvaries between VMAXand VMINcausing the duty cycle of VPWMto vary between 100% and 0%. Variations in propagation delays tPHLand tPLHof comparator 14 cause non-linearity 38 in VPWMnear 100% duty cycle when VCis near VMAX(e.g. when VCis greater than 80% of the peak-to-peak amplitude of VW), and non-linearity 39 in VPWMnear 0% duty cycle when VCis near VMIN(e.g. when VCis less than 20% of the peak-to-peak amplitude of VW). Non-linearities in VPWMnear 100% and 0% duty cycles also exist in pulse-width modulators that use asymmetrical sawtooth periodic waveforms.
[0009] A high speed comparator may be used to achieve a more linear relationship between VCand the duty cycle of VPWM. The duty cycle of the PWM signal output of a high speed comparator used in a pulse-width modulator is able to approach closer to 0% and 100% before propagation delay variations cause non-linearities in the relationship between VCand VPWM. High speed comparators, however, typically require significantly more power and more complex circuitry than a standard comparator.
[0010] It would, however, be desirable to provide a pulse width modulator that has substantially constant propagation delays over a full range of duty cycles without significantly added power consumption and complex circuitry.
Summary of the Invention
[0011] It is therefore an object of the invention to provide a pulse width modulator that has substantially constant propagation delays over a full range of duty cycles without significantly added power consumption and complex circuitry.
[0012] These and other objects of the present invention are provided by a pulse width modulator that includes a plurality of comparators, a multiplexer, and at least one waveform generator that generates a plurality of periodic waveform signals. Each of the plurality of comparators monitors control voltage VCand compares it to one of the periodic waveform signals. Each of the periodic waveform signals is time delayed with respect to the other waveform signals.
[0013] The outputs of the comparators are coupled to inputs of the multiplexer. The multiplexer selects the output signal of one of the comparators to be the PWM signal when the periodic waveform signal input to that comparator is not near its maximum or minimum voltage. During this time interval, transitions in the output signal of the selected comparator have substantially constant propagation delays.
[0014] Because each periodic waveform is time delayed with respect to the other periodic waveforms, the output of only one comparator is selected as the PWM signal during each cycle of the PWM signal. By using multiple comparators and periodic waveforms, the multiplexer is able to “stitch together” a composite PWM signal that uses the output signal of each comparator only when that comparator has substantially constant propagation delays. Low speed, low power comparators may be used in the present invention to achieve a PWM signal with a duty cycle that varies linearly with the control voltage over a full range of duty cycles. The present invention also provides methods for generating a PWM signal with a duty cycle that varies linearly with the control voltage over a full range of duty cycles.
Brief Description of the Drawings
[0015] The above-mentioned objects and features of the present invention can be more clearly understood from the following detailed description considered in conjunction with the following drawings, in which the same reference numerals denote the same structural elements throughout, and in which:
[0016] FIG. 1 is a block diagram of a prior art pulse-width modulator;
[0017] FIG. 2 is a timing diagram of signals of the prior art circuit of FIG. 1;
[0018] FIG. 3 is a timing diagram of the duty cycle transfer function of a PWM signal of the prior art circuit of FIG. 1;
[0019] FIG. 4A is a block diagram of an illustrative embodiment of pulse width modulators of the present invention;
[0020] FIG. 4B is a schematic diagram of an illustrative waveform generator of FIG. 4A;
[0021] FIG. 5 is a timing diagram of exemplary signals for the circuitry of FIG. 4A;
[0022] FIG. 6 is another timing diagram of exemplary signals for the circuitry of FIG. 4A;
[0023] FIG. 7 is a block diagram of another illustrative embodiment of pulse width modulators of the present invention;
[0024] FIG. 8 is a timing diagram of exemplary signals for the circuitry of FIG. 7;
[0025] FIG. 9 is another timing diagram of exemplary signals for the circuitry of FIG. 7;
[0026] FIG. 10 is another timing diagram of exemplary signals for the circuitry of FIG. 7; and
[0027] FIG. 11 is another timing diagram of exemplary signals for the circuitry of FIG. 7.
Detailed Description of the Preferred Embodiment
[0028] An embodiment of the linear pulse width modulation system of the present invention is shown as circuit 40 in FIG. 4A. Circuit 40 generates PWM signal VPWMfrom control voltage signal VC. The duty cycle of signal VPWMvaries linearly with control voltage VC.
[0029] Circuit 40 (which may be an integrated circuit) includes waveform generator 48, comparators 42 and 44, and multiplexer 46. Waveform generator 48 provides periodic waveforms V1and V2, which are coupled to the inverting inputs of comparators 42 and 44, respectively. The non-inverting inputs of comparators 42 and 44 are coupled to control voltage VC. Comparator 42 generates signal VZ1at node 52 which is coupled to a first input of multiplexer 46. Comparator 44 generates signal VZ2at node 54 which is coupled to a second input of multiplexer 46. Select signal VSis coupled to the S input of multiplexer 46. Multiplexer 46 provides output signal VPWMat node 56.
[0030] Examples of signals V1, V2, VC, VS, VZ1, VZ2, and VPWMare shown in FIG. 5. V1and V2are, in this example, asymmetrical rising edge sawtooth waveform signals with rapidly falling edges that vary between VMAXand VMIN. Waveform signals V1and V2have the same wave shape and the same frequency, but are 180° apart in phase. Waveform generator 48 may also generate sawtooth waveforms with rapidly rising edges, or sawtooth waveforms with non-rapidly rising and falling edges. Waveform generator 50 in FIG. 4B is one possible example of waveform generator 48. Waveform generator 50 generates example sawtooth waveform signals V1and V2with rapidly falling edges as shown in FIG. 5.
[0031] Waveform generator 50 includes clock signal generator 60, constant current sources 61 and 64, capacitors 62 and 65, n-channel MOS field effect transistors 63 and 66, and one shots 67 and 68. Constant current source 61 has a first terminal coupled to supply voltage VCCand a second terminal coupled to a first terminal of capacitor 62, a drain of transistor 63, and V1. Capacitor 62 has a second terminal coupled to GROUND, and transistor 63 has a source coupled to GROUND. Constant current source 64 has a first terminal coupled to supply voltage VCCand a second terminal coupled to a first terminal of capacitor 65, a drain of transistor 66, and V2. Capacitor 65 has a second terminal coupled to GROUND, and transistor 66 has a source coupled to GROUND. Clock signal generator 60 has an output terminal coupled to input terminals of one shots 67 and 68 at node 69. One shot 67 has an output coupled to the gate of transistor 63, and one shot 68 has an output coupled to the gate of transistor 66.
[0032] Clock signal generator 60 generates a square wave digital clock signal with a 50% duty cycle that alternates between HIGH and LOW at node 69. During each cycle of the clock signal, constant current source 61 charges up capacitor 62 from VMINto VMAXand constant current source 64 charges up capacitor 65 from VMINto VMAX. When the clock signal goes HIGH, the signal at the output of one shot 67 goes from LOW to HIGH turning ON transistor 63. The voltage on capacitor 62 at V1then falls from VMAXto VMIN. The output of one shot 67 remains HIGH only for a brief period of time (e.g., 1% of the time that the clock signal at node 69 remains HIGH). The output of one shot 67 then transitions LOW and transistor 63 turns OFF. Constant current source 61 then begins to charge up capacitor 62 to VMAXagain. The output of one shot 67 remains LOW until the next rising edge of the clock signal.
[0033] When the clock signal goes LOW, the signal at the output of one shot 68 goes from LOW to HIGH turning on transistor 66. The voltage on capacitor 65 at V2then falls from VMAXto VMIN. The output of one shot 68 remains HIGH only for a brief period of time (e.g., 1% of the time that the clock signal at node 69 remains LOW). The output of one shot 68 then transitions LOW and transistor 66 turns OFF. Constant current source 64 now begins charging up capacitor 65 to VMAXagain. The output of one shot 68 remains LOW until the next falling edge of the clock signal.
[0034] Select signal VSis, for example, a digital signal that has an amplitude that has two states (i.e., HIGH or LOW) as shown in FIG. 5. Signal VScontrols which signal (VZ1or VZ2) that multiplexer 46 selects as VPWM. Signal VScauses multiplexer 46 to select VZ1as VPWMwhen VSis HIGH, and VZ2as VPWMwhen VSis LOW.
[0035] VYis the value of V1when VStransitions from HIGH to LOW, and the value of V2when VStransitions from LOW to HIGH. VXis the value of V1when VStransitions from LOW to HIGH, and the value of V2when VStransitions from HIGH to LOW. Circuit 40 causes the duty cycle of VPWMto vary between 0% and 100% as VCvaries between VXand VY.
[0036] Multiplexer 46 couples the signal at input node 52 or the signal at input node 54 to output node 56 as a function of select signal VS. For example, when VSis HIGH, multiplexer 46 couples the output of comparator 42 to output node 56 as VPWM, and when VSis LOW, multiplexer 46 couples the output of comparator 44 to output node 56 as VPWM. Multiplexer 46 alternately couples the output signals of comparators 42 and 44 to node 56 as VPWMfor consecutive time intervals. In one cycle of VS, VPWMequals the output signal of comparator 42 (VZ1) for a first time interval, and then VPWMequals output signal of comparator 44 (VZ2) for a second subsequent time interval. This cycle of VSrepeats periodically. Each time interval during which an output of comparator 42 or 44 is coupled to node 56 corresponds to one cycle of VPWM.
[0037] Signal VSselects VZ1to be VPWMwhen comparator 42 is in a region of operation when V1is between VXand VY, and selects VZ2to be VPWMwhen comparator 44 is in a region of operation when V2is between VXand VY. Signal VSpreferably does not select VZ1to be VPWMduring periods of time when comparator 42 has varying propagation delays tPHLand tPLH. The propagation delays of comparator 42 may vary when V1crosses VCbelow VXor above VY. Signal VSpreferably does not select VZ2to be VPWMduring periods of time when comparator 44 has varying propagation delays tPHLand tPLH. The propagation delays of comparator 44 may vary when V2crosses VCbelow VXor above VY.
[0038] Only variations in VCbetween VXand VYare used to vary the duty cycle of VPWM, because the propagation delays of comparators 42 and 44 may not be substantially constant with respect to each other when VCis less than VXor greater than VY. Circuit 40 provides VPWMthat has a duty cycle that varies linearly with VCby only using the output signals of comparators 42 and 44 during periods of time when their propagation delays tPHLand tPLHare substantially constant.
[0039] FIG. 5 illustrates signal waveforms of circuit 40 with V1and V2as rapidly falling edge sawtooth waveforms. On the rising edge of VS, V1equals VXand is rising, and V2equals VYand is rising. When VSis HIGH, V1ramps up from VXto VY, and multiplexer 46 selects VZ1as VPWM. On the falling edge of VS, V2equals VXand is rising, and V1equals VYand is rising. When VSis LOW, V2ramps up from VXto VY, and multiplexer 46 selects VZ2as VPWM. Comparators 42 and 44 of circuit 40 may have propagation delays tPHLand tPLHthat vary if their corresponding input waveform signals V1and V2cross VCbelow VXor above VY, because the output signals of comparators 42 and 44 are not used to form VPWMduring these time periods.
[0040] FIG. 5 also shows waveform VEFF, which is an effective waveform comprised of portions of V1and V2used to generate VPWM. VPWMis LOW when the waveform VEFFis above VC, and VPWMis HIGH when waveform VEFFis below VC. Thus, VPWMtransitions LOW when V1or V2ramps up above VC. VPWMtransitions HIGH when VStransitions from LOW to HIGH or from HIGH to LOW.
[0041] In the example of FIG. 5, comparator 42 is preferably selected so that it has substantially constant propagation delays tPHLwhen VCis between VXand VY, and comparator 44 is preferably selected so that it has substantially constant propagation delays tPHLwhen VCis between VXand VY. Comparator 42 has a region of operation when V1and VCare between VXand VYin which tPHLis substantially constant since the HIGH to LOW transitions in VZ1are used to form VPWMin the example of FIG. 5. Comparator 44 has a region of operation when V2and VCare between VXand VYin which tPHLis substantially constant since the HIGH to LOW transitions in VZ2are also used to form VPWMin the example of FIG. 5. Propagation delays tPLHof comparators 42 and 44 do not need to be substantially constant between VXand VYin the example of FIG. 5 because the LOW to HIGH transitions in VZ1and VZ2are not used to form VPWM. However, VZ1should transition from LOW to HIGH before VZ1is selected by multiplexer 46 as VPWM(when V1ramps up to VX), and VZ2should transition from LOW to HIGH before VZ2is selected by multiplexer 46 as VPWM(when V2ramps up to VX).
[0042] In further embodiments of the present invention, the LOW to HIGH transitions in VZ1and VZ2may be used to form VPWM. For example, VCmay be coupled to the inverting inputs of comparators 42 and 44, and V1and V2may be coupled to the non-inverting inputs of comparators 42 and 44, respectively. This embodiment of the invention functions the same as circuit 40 except that the polarity of VPWMis inverted. In these embodiments, propagation delays tPLHof comparators 42 and 44 should be substantially constant with respect to each other when V1and V2cross VCbetween VXand VYto achieve a linear relationship between the duty cycle of VPWMand VC. The LOW to HIGH transitions in VZ1and VZ2may be used to generate the LOW to HIGH transitions in VPWM, and the HIGH to LOW and LOW to HIGH transitions in VSmay be used to generate the HIGH to LOW transitions in VPWM. Propagation delays tPHLneed not be substantially constant with respect to other since the HIGH to LOW transitions of VZ1and VZ2are not used to form VPWM.
[0043] The duty cycle of VPWMvaries between 0% and 100% as VCvaries between VXand VY. When VCequals VY, the duty cycle of VPWMis 100%. When VCequals VX, the duty cycle of VPWMis 0%. The duty cycle of VPWMincreases as VCincreases, and decreases as VCdecreases. Variations in VCabove VYor below VX, in the regions in which the propagation delays tPHLand tPLHof comparators 42 and 44 vary, are ignored by circuit 40.
[0044] Waveform signals V1and V2may be generated by a single waveform generator or multiple waveform generators. Waveform signals V1and V2may, for example, be asymmetrical sawtooth waveforms that have non-rapidly rising edges and rapidly falling edges (e.g., FIG. 5). Alternatively, V1and V2may be asymmetrical sawtooth waveforms that have rapidly rising edges and non-rapidly falling edges, or asymmetrical sawtooth waveforms with non-rapidly rising edges and non-rapidly falling edges (e.g., FIG. 6).
[0045] Asymmetrical sawtooth waveforms with non-rapidly rising and falling edges may be used in circuit 40 as shown, for example, in FIG. 6. FIG. 6 shows examples of signals V1′, V2′, VS, VEFF, and VPWM. Sawtooth waveforms V1′ or V2′ may be generated by waveform generator 48 in circuit 40. Waveform signals V1′ and V2′ have the same wave shape and the same frequency, but are 180° apart in phase. Comparators 42 and 44 have substantially constant propagation delays tPHLwhen V1or V2crosses VCbetween VXand VYsince the HIGH to LOW transitions in VZ1and VZ2are used to form VPWM. VPWMhas a duty cycle that varies linearly with VCfor all duty cycles of VPWM.
[0046] Further embodiments of the present invention may include any integer number (greater than one) of comparators and an equal number of periodic waveform signals. FIG. 7 illustrates a pulse-width modulator in accordance with this invention that includes N comparators and a waveform generator that generates N periodic waveform signals. Using more than two comparators and periodic waveform signals causes the pulse width modulator of the present invention to use a narrower region of the peak-to-peak amplitude of each periodic waveform signal to generate VPWM. Using a narrower region of the peak-to-peak amplitude of the waveform signals provides for a PWM signal with a duty cycle that varies linearly with VCfor comparators that may have propagation delays tPHLand tPLHthat vary significantly except within this narrow region.
[0047] Circuit 70 has N comparators (741, 742, . . . , and 74N), waveform generator 72 that generates N periodic waveform signals (V1, V2, . . . , VN), and N-input multiplexer 78. In further embodiments of the present invention, any number of waveform generators may be used to generate N periodic waveform signals at the inputs of N comparators. For example, N waveform generators that each generate a periodic waveform of the same wave shape may be synchronized by a clock signal with N states so that each waveform is 360°/N out of phase from each other.
[0048] Waveform generator 72 provides periodic waveform signals V1, V2, . . . , VNto the inverting inputs of comparators 741, 742, . . . , 74N. VCis coupled to the non-inverting inputs of comparators 741, 742, . . . , 74N. Comparators 741, 742, . . . , 74Nprovide signals VZ1, VZ2, . . . , VZN, respectively, to inputs 771, 772, . . . , 77Nof multiplexer 78. Select signal VSis coupled to the S-input of multiplexer 78. Multiplexer 78 provides VPWMsignal at output node 79.
[0049] Multiplexer 78 may couple nodes 761, 762, . . . , 76N, or other nodes to node 79. Select signal VSis a periodic signal that indicates to multiplexer 78 when to couple nodes 761, 762, . . . , 76N, or other nodes to output node 79. Thus, VSindicates to multiplexer 78 when to select the outputs of one of comparators 741, 742, . . . , 74N, or other comparators (signals VZ1, VZ2, . . . , or VZN) as VPWM. Multiplexer 78 alternately selects the outputs of comparators 741, 742, . . . , 74N, and other comparators as VPWMfor consecutive time intervals as indicated by VS. In one cycle of VS, VPWMequals VZ1, then VZ2, . . . , and then VZNfor consecutive time intervals. The cycle of VSrepeats periodically. Each of the repeating time intervals during which an output of one of comparators 741, 742, . . . , 74N, or other comparators is coupled to node 79 corresponds to one cycle of VPWM.
[0050] Examples of signals V1, V2, . . . , VNare shown in FIGS. 8-11 for various values N. Signals V1, V2, . . . VNare periodic waveforms that vary between VMAXand VMIN. Waveform signals V1, V2, . . . VNare 360°/N out of phase with each other. As shown in FIGS. 8-11, signal VSselects the output of comparator 741to be VPWMwhen V1is between VXand VY. Signal VSselects the output of comparator 742to be VPWMwhen V2is between VXand VY. Signal VSselects the output of comparator 74Nto be VPWMwhen VNis between VXand VY.
[0051] Signal VSpreferably does not select the output signal of comparator 741, 742, . . . , 74N, or other comparators to be VPWMduring periods of time when that comparator has varying propagation delays (tPHLand tPLH). The comparators of circuit 70 may have varying propagation delays when a comparator's periodic waveform (V1, V2, . . . , or VN) crosses VCabove VYor below VX. Circuit 70 provides PWM signal VPWMwith a duty cycle that varies linearly with VCby not using the output signals of the comparators to form VPWMduring periods of time when their propagation delays tPHLand tPLHare varying.
[0052] Select signal VScauses multiplexer 78 to select the output signal of a comparator as VPWMfor a time interval corresponding to when the periodic waveform signal received by that comparator is between VXand VYso that the duty cycle of VPWMvaries linearly with VC. Circuit 70 thereby combines the output signals of all the N comparators to form a composite PWM signal that varies linearly with VCfor all duty cycles of VPWM. Signal VSmay be a single signal with at least N states or a multibit digital signal that encodes for at least N different states.
[0053] The N periodic waveform signals (V1, V2, . . . , and VN) in circuit 70 may be asymmetrical sawtooth waveforms with rapidly falling edges, asymmetrical sawtooth waveforms with rapidly rising edges (e.g., FIG. 9), or asymmetrical sawtooth waveforms with non-rapidly rising and falling edges. The periodic waveform signals of circuit 70 also may be symmetric triangular waveforms where N≧3 (e.g., FIG. 8).
[0054] Signals of an embodiment of the present invention using circuit 70 where N=3 are shown in FIG. 8. Circuit 70 may be an N=3 circuit with three comparators 741, 742, and 743that generate at their outputs signals VZ1, VZ2, and VZ3, respectively; three periodic waveform signals (V1, V2, and V3); and multiplexer 78 that has three inputs coupled to the outputs of each of the comparators. Examples of signals V1, V2, V3, VS, VZ1, VZ2, VZ3, VEFF, and VPWMare shown in FIG. 8. Signals V1, V2, and V3may be, for example, symmetrical triangular waveforms that vary between VMAXand VMIN. Signals V1, V2, and V3each have the same wave shape, the same frequency, and a period that is three times the desired period of VPWM. Signals V1, V2, and V3are offset with respect to each other by one third of their period so that maximum voltages VMAXoccur at equally spaced time intervals. Waveform signals V1, V2, and V3are 120° apart in phase.
[0055] Select signal VSmay be, for example, a single signal that has three levels L1, L2, and L3. Signal VSdetermines which of signals VZ1, VZ2, or VZ3are selected by multiplexer 78 to be VPWMfor a given time interval. In the embodiment of FIG. 8, circuit 70 periodically uses each of output signals VZ1, VZ2, and VZ3of comparators 741, 742, and 743to form VPWMwhen that comparator's corresponding input waveform signal V1, V2, and V3is ramping up or down between VXand VY. Signal VScauses multiplexer 78 to select VZ2as VPWMwhen VSequals L2. When VSequals L2, comparator 742is in a region of operation such that V2is ramping up or down between VXand VY. Signal VScauses multiplexer 78 to select VZ1as VPWMwhen VSequals L1. When VSequals L1, comparator 741is in a region of operation such that V1is ramping up or down between VXand VY. Signal VScauses multiplexer 78 to select VZ3as VPWMwhen VSequals L3. When VPWMequals L3, comparator 743is in a region of operation such that V3is ramping up or down between VXand VY. Exemplary signal VSnon-sequentially selects VZ2, then VZ1, then VZ3as VPWMas shown in FIG. 8.
[0056] Comparators 741, 742and 743of circuit 70 may have propagation delays tPHLand tPLHthat vary with respect to each other if their corresponding input waveform signals V1, V2, or V3cross VCbelow VXor above VY, because the output signals of comparators 741, 742, and 743are not used to form VPWMduring these time periods. Circuit 70 does not use variations in VCabove VYor below VXto vary the duty cycle of VPWM. Comparators 741, 742, and 743are selected so that they have substantially constant propagation delays tPLHand tPHLwhen VCis between VXand VYsince the LOW to HIGH and HIGH to LOW transitions in VZ1, VZ2, and VZ3are used to form VPWM. Circuit 70 causes the duty cycle of VPWMto vary between 0% and 100% as VCvaries between VXand VY.
[0057] FIG. 8 shows triangular waveform VEFFwhich is an effective waveform composed of portions of V1, V2, and V3used to generate VPWM. VPWMis LOW when waveform VEFFis above VC, and VPWMis HIGH when waveform VEFFis below VC. The duty cycle of VPWMvaries between 0% and 100% as VCvaries between VXand VY. When VCequals VY, the duty cycle of VPWMis 100%. When VCequals VX, the duty cycle of VPWMis 0%. The duty cycle of VPWMincreases as VCincreases, and decreases as VCdecreases. Variations in VCabove VYor below VXin the regions in which the propagation delays tPHLand tPLHof comparators 741, 742and 743may vary are ignored by circuit 70.
[0058] In a further embodiment of circuit 70, V1, V2, and V3may be triangular waveform signals and signal VSmay sequentially select VZ1, then VZ2, then VZ3as VPWM. In this embodiment, VEFFis a sawtooth waveform with a rapidly falling edge. In this embodiment, only propagation delays tPHLin comparators 741, 742, and 743need to be substantially constant to achieve a linear relationship between VCand the duty cycle of VPWM.
[0059] FIG. 9 illustrates examples of four periodic falling edge sawtooth waveform signals V1, V2, V3, and V4, and PWM signal VPWM, for circuit 70 with N=4 (FIG. 7). Signals V1, V2, V3, and V4vary between VMAXand VMIN, and each have the same wave shape, the same frequency, and a period that is four times the desired period of VPWM. Waveform signals V1, V2, V3, and V4are 90° apart in phase.
[0060] Signals VZ1, VZ2, VZ3, and VZ4of comparators 741, 742, 743, and 744are sequentially selected by select signal VSto be VPWMfor a time interval (select V1, select V2, select V3, select V4in FIG. 9) that corresponds to when that comparator's waveform signal input (V1, V2, V3, and V4) ramps down from VYto VX. Select signal VScauses multiplexer 78 to couple the output of a comparator to output node 79 when the periodic waveform signal received by that comparator ramps down to VY. Multiplexer 78 decouples the output of that comparator from node 79 when the waveform signal received by that comparator ramps down to VX. Waveform signals V1, V2, V3, and V4are equally spaced in time so that when one periodic waveform ramps down to VX, the next periodic waveform ramps down to VY.
[0061] VEFFis a sawtooth waveform with a rapidly rising edge as shown in FIG. 9. VEFFvaries between VXand VY. VPWMis LOW when VEFFis above VCand HIGH when VEFFis below VC.
[0062] Comparators 741, 742, 743, and 744in circuit 70 have substantially constant propagation delays tPLHwhen the waveform signal coupled to that comparator ramps down from VYto VX, since the LOW to HIGH transitions in VZ1, VZ2, VZ3, and VZ4are used to form VPWM. The HIGH to LOW transitions in VPWMare formed by the transitions in VS. Therefore, propagation delays tPHLfor comparators 741, 742, 743, and 744do not need to be substantially constant with respect to each other since the HIGH to LOW transitions in VZ1, VZ2, VZ3, and VZ4are not used to form VPWM. Each comparator 741, 742, 743, and 744should have propagation delays tPHLthat are less than the time interval between when that comparator's input waveform signal ramps above VCand when that comparator's output signal is subsequently selected to be VPWM. Comparators 741, 742, 743, and 744may have varying propagation delays when their waveform signals cross VCabove VYor below VX.
[0063] Using more waveform signals and more comparators in circuit 70 allows the difference in voltage between VXand VYto be decreased. If the comparators used in circuit 70 have substantially constant propagation delays only in a narrow region when VCcross the waveform signal, the number of comparators and periodic waveform signals in circuit 70 may be increased so that only the linear region of each comparator is used to form VPWM. Using more comparators and more waveform signals also provides a PWM signal with a greater frequency without increasing the frequency of the periodic waveform signals. However, increasing the number of comparators and periodic waveforms comes at the expense of added circuitry and power consumption.
[0064] In a further embodiment of the present invention, sinusoidal waveforms may be used as the periodic waveforms as shown in FIG. 10. Sine or cosine waveforms that are substantially linear between VYand VX(such as those shown in FIG. 10) produce a substantially linear PWM signal. FIG. 10 illustrates an example of VPWMobtained using circuit 70 with four sinusoidal waveform signals V1, V2, V3, and V4and four comparators (N=4). However, any number N of sinusoidal waveforms and comparators may be used with the circuitry of FIG. 7. With respect to FIG. 10, circuit 70 has a waveform generator that provides four sinusoid periodic waveform signals (V1, V2, V3, and V4), four comparators 741, 742, 743, and 744, and four input multiplexer 78. Each waveform signal V1, V2, V3, and V4has the same wave shape, the same frequency, and a period equal to four times the period of VPWM. Waveform signals V1, V2, V3, and V4are 90° apart in phase.
[0065] Select signal VSdetermines when a comparator's output signal is selected as VPWM. The four select intervals shown in FIG. 10 (select V1, select V2, select V3, and select V4) correspond to the time intervals when each sinusoid determines signal VPWM. Select signal VScauses multiplexer 78 to sequentially couple the output of each of the four comparators to node 79 for the time interval corresponding to when the waveform signal (V1, V2, V3, or V4) received by that comparator is ramping up from VXto VY.
[0066] In the embodiment of FIG. 10, comparators 741, 742, 743, and 744are selected so that they have substantially constant propagation delays tPHLwhen that comparator's waveform signal input crosses VCas it ramps up from VXto VY. The duty cycle of VPWMvaries linearly with VCif the propagation delays tPHLof the comparators are substantially constant when VCcrosses the comparator's waveform signal input (V1, V2, V3, or V4) between VXand VY, since the HIGH to LOW transitions in the comparators' output signals (VZ1, VZ2, VZ3, and VZ4) are used to form VPWM. The LOW to HIGH transitions in VPWMoccur at the beginning of each select interval as shown in FIG. 10.
[0067] In another embodiment of the present invention, resistor/capacitor (RC) periodic waveform signals may be used to generate signal VPWMas shown in FIG. 11. The RC waveform signals are generated by the ramping up and ramping down of a voltage level on a capacitor that is charged using current conducted through a resistor. With a larger number of waveform signals (e.g., N=6 in circuit 70), only a very narrow band of each RC waveform signal between VXand VYis being used to form signal VPWMas shown in FIG. 11. This narrow band is a relatively linear region of the RC periodic waveform signals. If VXand VYare too far apart, VPWMmay have a duty cycle that is undesirably non-linear with respect to VCdue to the curvature in the RC periodic waveform signals.
[0068] FIG. 11 illustrates an example of circuit 70 with six rising edge RC periodic waveform signals shown as V1, V2, V3, V4, V5, and V6. However, any number N of RC waveforms and comparators may be used with the circuitry of FIG. 7. Each of waveform signals V1, V2, V3, V4, V5, and V6in FIG. 11 has the same wave shape, the same frequency, and a period equal to six times the period of VPWM. Waveform signals V1, V2, V3, V4, V5, and V6are 60° apart in phase.
[0069] Circuit 70 with N equal to 6 may be used to generate VPWMas shown in FIG. 11. Circuit 70 may have six comparators 741, 742, 743, 744, 745, and 746; a waveform generator that provides 6 periodic waveform signals V1, V2, V3, V4, V5, and V6; and a 6-input multiplexer 78. The output of each comparator is sequentially selected by select signal VSto be VPWMfor a time interval corresponding to when the periodic waveform signal received by that comparator is rising from VXto VYduring the corresponding select interval shown in FIG. 11. Each comparator's output signal has substantially constant propagation delays tPHLwhen it is selected as VPWMby VS, since the HIGH to LOW transitions in the output signals of the comparators (VZ1, VZ2, VZ3, VZ4, VZ5, and VZ6) are used to form VPWM. The six select time intervals determined by VSrepeat periodically in the sequence shown in FIG. 11. The LOW to HIGH transitions in VPWMoccur at the beginning of each select interval. VEFFis the effective waveform that varies between VXand VY.
[0070] Persons skilled in the art further will recognize that the circuitry of the present invention may be implemented using circuit configurations other than those shown and discussed above. All such modifications are within the scope of the present invention, which is limited only by the claims which follow.
Claims
Certificate of Correction present
The claims shown below may not include correction changes. Use the corrected PDF for authoritative text.
What is claimed is:
1. A method for providing a pulse-width modulation signal having a duty cycle at a pulse-width modulated output, the method comprising:
coupling a control signal used to vary the duty cycle of the pulse-width modulation signal to a first input node of each of a plurality of N comparator circuits;
coupling a plurality of N periodic waveforms to a second input node of each of the plurality of N comparator circuits, each of the plurality of periodic waveforms having substantially the same wave shape and being 360°/N out of phase from one another;
comparing the control signal to each of the N periodic waveforms using the N comparator circuits to generate N comparator output signals; and
multiplexing the N comparator output signals to generate the pulse-width modulation signal.
2. The method defined in claim 1 wherein multiplexing the N comparator output signals further comprises multiplexing the N comparator output signals using a multiplexer circuit having N input nodes coupled to the N comparator output signals and an output node coupled to the pulse-width modulation signal.
3. The method defined in claim 2 wherein combining the N comparator output signals further comprises sequentially coupling the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit.
4. The method defined in claim 2 wherein multiplexing the N comparator output signals further comprises non-sequentially coupling the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit.
5. The method defined in claim 1 wherein the duty cycle of the pulse-width modulation signal is substantially linear with respect to the control signal.
6. The method defined in claim 1 wherein the plurality of N comparators consists of two comparators and N equals 2.
7. The method defined in claim 1 wherein the plurality of N comparators consists of three comparators and N equals 3.
8. The method defined in claim 1 wherein the N periodic waveforms are sinusoidal waveforms.
9. The method defined in claim 1 wherein the N periodic waveforms are RC waveforms.
10. The method defined in claim 1 wherein the N periodic waveforms are sawtooth waveforms.
11. The method defined in claim 1 wherein the N periodic waveforms are triangular waveforms.
12. A method for providing a pulse-width modulation signal at a pulse-width modulator output node, the method comprising:
coupling a first control signal at a first control signal node to a first input node of each of a plurality of N comparator circuits, the N comparator circuits each having a region of operation and an output node;
coupling a plurality of N periodic waveforms to a second input node of a corresponding one of the N comparator circuits, the N periodic waveforms having substantially the same wave shape and being 360°/N out of phase from one another;
coupling the plurality of N output nodes of the comparator circuits to a corresponding one of N input nodes of a multiplexer circuit;
coupling a second control signal to a control signal node of the multiplexer circuit, the second control signal having N states, each state indicating which one of the N comparator circuits operates in the region of operation; and
coupling one of the N input nodes of the multiplexer circuit to an output node of the multiplexer circuit based on the state of the second control signal, the output node of the multiplexer circuit being coupled to the pulse-width modulator output node.
13. The method defined in claim 12 wherein coupling one of the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit further comprises sequentially coupling the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit.
14. The method defined in claim 12 wherein coupling one of the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit further comprises non-sequentially coupling the N input nodes of the multiplexer circuit to the output node of the multiplexer circuit.
15. The method defined in claim 12 wherein the plurality of N comparators each have substantially constant propagation delays in their corresponding region of operation.
16. The method defined in claim 12 wherein the plurality of N comparators consists of two comparators and N equals 2.
17. The method defined in claim 12 wherein the plurality of N comparators consists of three comparators and N equals 3.
18. The method defined in claim 12 wherein the N periodic waveforms are sinusoidal waveforms.
19. The method defined in claim 12 wherein the N periodic waveforms are RC waveforms.
20. The method defined in claim 12 wherein the N periodic waveforms are sawtooth waveforms.
21. The method defined in claim 12 wherein the N periodic waveforms are triangular waveforms.
22. A pulse-width modulator circuit that generates a pulse-width modulated signal at a pulse-width modulator output node, from a first and second control signals at first and second control signal nodes, respectively, the second control signal having N states, the pulse-width modulator circuit comprising:
means for generating a plurality of N periodic waveforms at a corresponding plurality of N waveform signal nodes, the N periodic waveforms having substantially the same wave shape and being 360°/N out of phase from one another;
a plurality of N comparators each having a region of operation, a first input coupled to the first control signal node, a second input coupled to a corresponding one of the N waveform signal nodes, and an output signal at a comparator output node; and
a multiplexer circuit having N input signal nodes each coupled to a corresponding one of the N comparator output nodes, a multiplexer control node coupled to the second control signal node, and a multiplexer output node coupled to the pulse-width modulator output node, the multiplexer circuit coupling one of the N input signal nodes to the multiplexer output node based on the state of the second control signal indicating that one of the N comparators operates in the region of operation.
23. The circuit defined in claim 22 wherein the multiplexer circuit sequentially couples each one of the N input signal nodes to the multiplexer output node based on the state of the second control signal.
24. The circuit defined in claim 22 wherein the multiplexer circuit non-sequentially couples each one of the N input signal nodes to the multiplexer output node based on the state of the second control signal.
25. The circuit defined in claim 22 wherein the plurality of N comparators each have substantially constant propagation delays in their corresponding region of operation.
26. The circuit defined in claim 22 wherein the plurality of N comparators consists of two comparators and N equals 2.
27. The circuit defined in claim 22 wherein the plurality of N comparators consists of three comparators and N equals 3.
28. The circuit defined in claim 22 wherein the pulse-width modulator circuit is an integrated circuit.
29. The circuit defined in claim 22 wherein the N periodic waveforms are sinusoidal waveform signals.
30. The circuit defined in claim 22 wherein the N periodic waveforms are RC waveform signals.
31. The circuit defined in claim 22 wherein the N periodic waveforms are sawtooth waveform signals.
32. The circuit defined in claim 22 wherein the N periodic waveforms are triangular waveform signals.
33. A pulse-width modulator circuit that generates a pulse-width modulated signal at a pulse-width modulator output node from first and second control signals at first and second control signal nodes, respectively, a plurality of N periodic signals at a corresponding plurality of N signal nodes, the N periodic signals having substantially the same wave shape and being 360°/N out of phase from one another, the second control signal having N states, the pulse-width modulator comprising:
a plurality of N comparators each having a region of operation, a first input coupled to the first control signal node, a second input coupled to a corresponding one of the N signal nodes, and an output signal at a comparator output node; and
a multiplexer circuit having N input signal nodes each coupled to a corresponding one of the N comparator output nodes, a multiplexer control node coupled to the second control signal node, and a multiplexer output node coupled to the pulse-width modulator output node, the multiplexer circuit coupling one of the N input signal nodes to the multiplexer output node based on the state of the second control signal indicating that one of the N comparators operates in the region of operation.
34. The circuit defined in claim 33 wherein the multiplexer circuit sequentially couples each one of the N input signal nodes to the multiplexer output node based on the state of the second control signal.
35. The circuit defined in claim 33 wherein the multiplexer circuit non-sequentially couples each one of the N input signal nodes to the multiplexer output node based on the state of the second control signal.
36. The circuit defined in claim 33 wherein the plurality of N comparators each have substantially constant propagation delays in their corresponding region of operation.
37. The circuit defined in claim 33 wherein the plurality of N comparators consists of two comparators and N equals 2.
38. The circuit defined in claim 33 wherein the plurality of N comparators consists of three comparators and N equals 3.
39. The circuit defined in claim 33 wherein the pulse-width modulator circuit is an integrated circuit.
40. The circuit defined in claim 33 wherein the N periodic signals are sinusoidal signals.
41. The circuit defined in claim 33 wherein the N periodic signals are RC signals.
42. The circuit defined in claim 33 wherein the N periodic signals are sawtooth signals.
43. The circuit defined in claim 33 wherein the N periodic signals are triangular signals.