System and method for ramp control

By designing peripheral devices and systems in electronic equipment and using registers and comparators to generate programmable ramp signals, the problem of inductor current disturbance in switching power converters is solved and the accuracy and configurability of the ramp signal is achieved.

CN118633242APending Publication Date: 2024-09-10MICROCHIP TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380019700.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-01-11
Filing Date
2023-01-13
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In existing electronic devices, it is difficult to generate accurate and configurable ramp signals, especially in switching power converters, resulting in inductor current disturbances that are difficult to control.

Method used

A peripheral device and system are designed, including a ramp start program register, a ramp stop program register, a ramp slope program register and an update controller. Through the content update of these registers and the comparison of the comparator, a programmable ramp signal is generated to Changes the value of the ramp signal at the cycle of the clock signal and stops under specified conditions.

Benefits of technology

It realizes the generation of configurable ramp signals in switching power converters, reduces inductor current disturbance, and is suitable for the timing requirements of different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633242A_ABST
    Figure CN118633242A_ABST
Patent Text Reader

Abstract

An apparatus (104) comprises: an input (210) for receiving a clock signal (285); a ramp initiator register (220); a ramp start active register (260); a ramp stop program register (221); a ramp stop valid register (261); a ramp slope program register (222); a ramp slope valid register (262); an update controller (240) for updating ramp start valid register content, ramp stop valid register content, and ramp slope valid register content, respectively, based on programmable conditions; and a ramp controller (280) for generating a ramp signal (290) starting at a value reflecting ramp start active register content, the ramp signal changing a value at each cycle of the clock signal based on a value reflecting ramp slope active register content, and the ramp signal is stopped at a value reflecting the ramp stop valid register content.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related patent applications

[0002] This application claims priority to commonly owned U.S. Patent Application No. 63 / 389,171 filed on July 14, 2022, the entire contents of which are hereby incorporated by reference for all purposes. Technical Field

[0003] The present disclosure relates to the control of ramp signals in electronic devices. Background Art

[0004] Many electronic applications require an accurate and configurable ramp signal.

[0005] As one of various examples, a switching power converter may use a voltage ramp when generating a gate drive signal for a power device. The converter may generate a voltage ramp triggered by a PWM event and may be limited to generating a ramp signal based on periodic events in a PWM signal.

[0006] There is a need for a configurable ramp signal that can be tailored for a specific use case and is not limited to the timing requirements of a specific application. For a switching power converter, the configurable ramp signal can reduce inductor current disturbances during load steps by applying a ramp across all converter phases instead of a common step reference. Summary of the invention

[0007] A peripheral device, the peripheral device comprising: an input terminal for receiving a clock signal; a ramp start program register; a ramp start valid register; a ramp stop program register; a ramp stop valid register; a ramp slope program register; a ramp slope valid register; an update controller, the update controller being used to update the ramp start valid register content with the content of the ramp start program register, update the ramp stop valid register content with the content of the ramp stop program register content, and update the ramp slope valid register content with the content of the ramp slope program register content based on programmable conditions; and a ramp controller, the ramp controller being used to generate a ramp signal, the ramp signal starting at a value reflecting the content of the ramp start valid register, the ramp signal changing value at each cycle of the clock signal based on the value reflecting the content of the ramp slope valid register, and the ramp signal stopping at a value reflecting the content of the ramp stop valid register.

[0008] A system, the system comprising: an input terminal for receiving an input signal; an input terminal for receiving a clock signal; a ramp start program register; a ramp start valid register; a ramp stop program register; a ramp stop valid register; a ramp slope program register; a ramp slope valid register; an update controller, the update controller being used to update the ramp start valid register content with the content of the ramp start program register, update the ramp stop valid register content with the content of the ramp stop program register, and update the ramp slope valid register content with the content of the ramp slope program register based on programmable conditions; and a ramp controller for generating a ramp signal, the ramp signal starting at a value reflecting the ramp start valid register content, the ramp signal changing value at each cycle of the clock signal based on the value reflecting the ramp slope valid register content, and the ramp signal stopping at a value reflecting the ramp stop valid register content; and a comparator, the comparator being used to compare the input signal with the ramp signal and output a PWM signal.

[0009] A method, the method comprising: generating a ramp signal, the ramp signal starting at a value reflecting the content of a ramp start valid register, the ramp signal changing value at each cycle of a clock signal based on a value reflecting the content of a ramp slope valid register, and the ramp signal stopping at a value reflecting the content of a ramp stop valid register; updating the content of the ramp start valid register with a value reflecting the content of a ramp start program register, updating the content of the ramp stop valid register with a value reflecting the content of a ramp stop program register, and updating the content of the ramp slope valid register with a value reflecting the content of a ramp slope program register based on programmable conditions; and generating a PWM signal based on a comparison of the ramp signal with an input signal. DETAILED DESCRIPTION

[0010] Figure 1 One of various examples of ramp generator 104 operating in switching power converter 100 is illustrated. Figure 1 The switching power converter 100 converts the input DC reference voltage Vref 101 into an equivalent switching output voltage Vout 106. A downstream filtering stage (not shown) may further filter the output voltage Vout 106 to minimize output ripple.

[0011] Vref 101 may be coupled to the non-inverting input of feedback amplifier 102. Vout 106 may be coupled to the inverting input of feedback amplifier 102. The output of feedback amplifier 102 may be coupled to the non-inverting input of amplifier 103. Ramp generator 104 may generate a value to be input to digital-to-analog converter (DAC) 107. The value may be provided by one or more programmable register settings, or may be provided by a voltage reference input, or may be provided by a method not explicitly disclosed. The output of DAC 107 may be coupled to the inverting input of amplifier 103. Amplifier 103 may include a comparator that compares the ramp signal at the output of DAC 107 with the output of amplifier 102. The output of amplifier 103 may generate PWM signal 110. PWM signal 110 may be input to power stage 105. The output of power stage 105 may be the converter output voltage Vout 106.

[0012] Figure 2 Details of one example among various examples of the ramp generator 104 are illustrated. An input 210 may be provided to a ramp start program register 220. In one example among various examples, the input 210 may provide a value to be stored in the ramp start program register 220. The input 210 may be a single-wire connection that provides data and control information to the ramp start program register 220. The content of the ramp start program register 220 may be updated based on a predetermined communication protocol sent to the ramp start program register 220 on the input 210. In one example among various examples, the input 210 may be a bus connection that provides a clock signal, a data value, and an enable signal. The content of the ramp start program register 220 may be updated to the data value on the edge of the clock signal when the enable signal is asserted. The ramp start program value 230 may be a value that reflects the content of the ramp start program register 220. The content of the ramp start program register 220 may be updated using other methods not explicitly disclosed in this specification.

[0013] The input 211 may be provided to a ramp stop program register 221. In one example among various examples, the input 211 may provide a value to be stored in the ramp stop program register 221. The input 211 may be a single-wire connection that provides data and control information to the ramp stop program register 221. The content of the ramp stop program register 221 may be updated based on a predetermined communication protocol sent to the ramp stop program register 221 through the input 211. In one example among various examples, the input 211 may be a bus connection that provides a clock signal, a data value, and an enable signal. The content of the ramp stop program register 221 may be updated to a data value on an edge of a clock signal when the enable signal is asserted. The ramp stop program value 231 may be a value that reflects the content of the ramp stop program register 221. The content of the ramp stop program register 221 may be updated using other methods that are not explicitly disclosed in this specification.

[0014] The input 212 may be provided to a ramp slope program register 222. In one example among various examples, the input 212 may provide a value to be stored in the ramp slope program register 222. The input 212 may be a single-wire connection that provides data and control information to the ramp slope program register 222. The content of the ramp slope program register 222 may be updated based on a predetermined communication protocol sent to the ramp slope program register 222 through the input 212. In one example among various examples, the input 212 may be a bus connection that provides a clock signal, a data value, and an enable signal. The content of the ramp slope program register 222 may be updated to a data value on an edge of a clock signal when the enable signal is asserted. The ramp slope program value 232 may be a value that reflects the content of the ramp slope program register 222. The content of the ramp slope program register 222 may be updated using other methods that are not explicitly disclosed in this specification. The ramp slope program register 222 may contain positive or negative values. A positive value of the ramp slope program register 222 can be used to generate a positive ramp. A negative value of the ramp slope program register 222 can be used to generate a negative ramp.

[0015] The update controller 240 may receive as inputs a ramp start program value 230 from the ramp start program register 220, a ramp stop program value 231 from the ramp stop program register 221, and a ramp slope program value 232 from the ramp slope program register 222, respectively. The update controller 240 may receive inputs from the PWM signal 242 and the external signal 241. The update controller 240 may include a ramp start valid register 260, a ramp stop valid register 261, and a ramp slope valid register 262.

[0016] The update controller 240 may update the content of the ramp start valid register 260 based on a programmable condition and based on the value of the ramp start program value 230. In one example among various examples, the update controller 240 may update the content of the ramp start valid register 260 with the ramp start program value 230 when the content of the ramp start program register 220 changes and thus the ramp start program value 230 changes. In one example among various examples, the update controller 240 may update the content of the ramp start valid register 260 with the ramp start program value 230 when the external signal 241 changes polarity. In one example among various examples, the update controller 240 may update the content of the ramp start valid register 260 with the ramp start program value 230 when the PWM signal 242 reaches a predetermined point in the PWM cycle. In one example among various examples, the update controller 240 may update the content of the ramp start valid register 260 with the ramp start program value 230 when the ramp signal 290 reaches a value that reflects the content of the ramp stop valid register 261. In one of the various examples, the update controller 240 may update the contents of the ramp start valid register 260 with the ramp start program value 230 when the ramp signal 290 reaches a value reflecting the contents of the ramp start valid register 260. The ramp start valid value 270 may be a value reflecting the contents of the ramp start valid register 260.

[0017] The update controller 240 may update the contents of the ramp stop enable register 261 based on a programmable condition and based on the value of the ramp stop program value 231. In one of the various examples, the update controller 240 may update the contents of the ramp stop enable register 261 with the ramp stop program value 231 when the contents of the ramp stop program register 221 change and thus the ramp stop program value 231 changes. In one of the various examples, the update controller 240 may update the contents of the ramp stop enable register 261 with the ramp stop program value 231 when the external signal 241 changes polarity. In one of the various examples, the update controller 240 may update the contents of the ramp stop enable register 261 with the ramp stop program value 231 when the PWM signal 242 reaches a predetermined point in the PWM cycle. In one of the various examples, the update controller 240 may update the contents of the ramp stop enable register 261 with the ramp stop program value 231 when the ramp signal 290 reaches a value that reflects the contents of the ramp stop enable register 261. In one of the various examples, the update controller 240 may update the contents of the ramp stop enable register 261 with the ramp stop program value 231 when the ramp signal 290 reaches a value reflecting the contents of the ramp start enable register 260. The ramp stop enable value 271 may be a value reflecting the contents of the ramp stop enable register 261.

[0018] The update controller 240 may update the contents of the ramp slope valid register 262 based on programmable conditions and based on the value of the ramp slope program value 232. In one of the various examples, the update controller 240 may update the contents of the ramp slope valid register 262 with the ramp slope program value 232 when the contents of the ramp slope program register 222 change and thus the ramp slope program value 232 changes. In one of the various examples, the update controller 240 may update the contents of the ramp slope valid register 262 with the ramp slope program value 232 when the external signal 241 changes polarity. In one of the various examples, the update controller 240 may update the contents of the ramp slope valid register 262 with the ramp slope program value 232 when the PWM input 242 reaches a predetermined point in the PWM cycle. In one of the various examples, the update controller 240 may update the contents of the ramp slope valid register 262 with the ramp slope program value 232 when the ramp signal 290 reaches a value that reflects the contents of the ramp stop valid register 261. In one of the various examples, the update controller 240 may update the contents of the ramp slope valid register 262 with the ramp slope program value 232 when the ramp signal 290 reaches a value reflecting the contents of the ramp start valid register 260. The ramp slope valid value 272 may be a value reflecting the contents of the ramp slope valid register 262.

[0019] The ramp controller 280 may receive a ramp start effective value 270, a ramp stop effective value 271, and a ramp slope effective value 272 as inputs, respectively. The ramp start effective value 270 may represent the start value of the ramp signal. The ramp stop effective value 271 may represent the stop value of the ramp signal. The ramp slope effective value 272 may represent the slope value of the ramp signal.

[0020] The clock signal 285 may be provided to the ramp controller 280. The trigger signal 283 may be provided to the ramp controller 280. The ramp controller 280 may generate a ramp signal 290 based on at least the ramp start effective value 270, the ramp stop effective value 271, the ramp slope effective value 272, and the clock signal 285 according to one of various methods.

[0021] like Figure 2 The illustrated ramp generator 104 may be a peripheral device in communication with a microcontroller device. In one of the various examples, the ramp generator 104 may be implemented in a microcontroller to generate a ramp signal.

[0022] Figure 3 2 illustrates one example of various examples of the ramp signal 290 generated by the ramp controller 280. The ramp signal 290 is Figure 3 exemplified as a solid line. Figure 3The vertical axis 305 may represent the amplitude of the ramp signal 290 . Figure 3 The vertical axis 306 may represent the amplitude of the clock signal 285 . Figure 3 The horizontal dimension of may represent time. The ramp signal 290 may start at a ramp start value 310. The ramp start value 310 may be equal to the ramp start effective value 270. The ramp signal 290 may stop at a ramp stop value 315. The ramp stop value 315 may be equal to the ramp stop effective value 271.

[0023] At time 330, a trigger signal may initiate a ramp cycle. The trigger signal may be Figure 2 331 . The trigger signal 283 is shown. In one example among various examples, the trigger signal may be an internal control signal including, but not limited to, a clock signal, a signal indicating the end of a PWM cycle, or a signal based on a fixed frequency. Once the ramp cycle is initiated, the ramp signal 290 may increase to a level 331. The level 331 may be based on the ramp start level 310, the ramp stop level 315, and the ramp slope effective value 272. As noted above, the ramp start level 310 may be a value equal to the ramp start effective value 270, and the ramp stop level 315 may be a value equal to the ramp stop effective value 272.

[0024] At the next rising edge of the clock signal 285 (shown as time 340), the ramp signal 290 may increase to a level 341. The level 341 may be based on the level 331, the ramp start value 310, the ramp stop value 315, and the ramp slope effective value 272. In this manner, the level of the ramp signal 290 may increase at each rising edge of the clock signal 285. Figure 3 The example is shown as one in which the rising edge of the clock signal 285 initiates the change of the ramp signal 290, but this is not intended to be limiting. The change of the ramp signal can be initiated by the falling edge of the clock signal 285.

[0025] At time 350, the ramp signal 290 increases to the level of the ramp stop value 315. The ramp signal stops increasing further. The ramp controller 280 may wait for the next trigger signal 283 to initiate a new ramp cycle.

[0026] Figure 4 2 shows one example of various examples of the operation of the update controller 240. The update controller 240 may receive as inputs a ramp start program value 230, a ramp stop program value 231, and a ramp slope program value 232, respectively. The update controller may also receive inputs from an external signal 241. The update controller 240 may also receive inputs from a PWM signal 242. The update controller may update the values ​​stored in a ramp start valid register 260, a ramp stop valid register 261, and a ramp slope valid register 262, respectively.

[0027] like Figure 4 As shown, the area defined by the box 410 can operate in an immediate update mode. At time 411, the content of the ramp start program register 220 can be updated, and thus the ramp start program value 230 can change value. The content of the ramp start program register 220 can be updated based on a predetermined communication protocol sent to the ramp start program register 220. The change of the ramp start program value 230 can be initiated by a software or hardware update to the ramp start program register 220, as described above with respect to Figure 2 The contents of the ramp start valid register 260 may be immediately updated to reflect the new value of the ramp start program value 230 .

[0028] At time 412, the contents of the ramp stop program register 221 may be updated, and thus the ramp stop program value 231 may change value. The change in the ramp stop program value 231 may be initiated by a software or hardware update to the ramp stop program register 221, such as with respect to Figure 2 The contents of the ramp stop valid register 261 may be immediately updated to reflect the new value of the ramp stop program value 231 .

[0029] At time 413, the contents of the ramp slope program register 222 may be updated, and thus the ramp slope program value 232 may change value. The change in the ramp slope program value 232 may be initiated by a software or hardware update to the ramp slope program register 222, such as with respect to Figure 2 The contents of the ramp slope valid register 262 may be immediately updated to reflect the new value of the ramp slope program value 232 .

[0030] like Figure 4 As shown, the region defined by box 430 may operate in PWM update mode. At time 431, the contents of the ramp start program register 220 may be updated, and thus the ramp start program value 230 may change value. The change in the ramp start program value 230 may be initiated by a software or hardware update to the ramp start program register 220, as described with respect to FIG. Figure 2 The value of the ramp start valid register 260 may not be updated at time 431 .

[0031] At time 432, the contents of the ramp stop program register 221 may be updated, and thus the ramp stop program value 231 may change value. The change in the ramp stop program value 231 may be initiated by a software or hardware update to the ramp stop program register 221, such as with respect to Figure 2 The value of the ramp stop enable register 261 may not be updated at time 432 .

[0032] At time 433, the contents of the ramp slope program register 222 may be updated, and thus the ramp slope program value 232 may change value. The change in the ramp slope program value 232 may be initiated by a software or hardware update to the ramp slope program register 222, such as with respect to Figure 2 The value of the ramp slope valid register 262 may not be updated at time 433 .

[0033] At time 434, the value of PWM signal 242 may change from a low level to a high level. This transition may signal the end of the PWM cycle. Based on the operation in the PWM update mode, the contents of ramp start valid register 260, ramp stop valid register 261, and ramp slope valid register 262 may be updated at time 434, such as Figure 4 The content of the ramp start valid register 260 can be updated to reflect the value of the ramp start program value 230. The content of the ramp stop valid register 261 can be updated to reflect the value of the ramp stop program value 231. The content of the ramp slope valid register 262 can be updated to reflect the value of the ramp slope program value 232.

[0034] Figure 4 The example shown illustrates that the register is updated at the rising edge of the PWM signal, but this is not intended to be limiting. The register may be updated at any predetermined point in the PWM cycle.

[0035] like Figure 4 As shown, the area defined by box 450 can operate in an external update mode. At time 451, the contents of the ramp start program register 220 can be updated, and thus the ramp start program value 230 can change value. The change of the ramp start program value 230 can be initiated by a software or hardware update to the ramp start program register 220, such as with respect to Figure 2 The value of the ramp start valid register 260 may not be updated at time 451 .

[0036] At time 452, the ramp stop program register 221 may be updated, and thus the ramp stop program value 231 may change value. The change in the ramp stop program value 231 may be initiated by a software or hardware update to the ramp stop program register 221, such as with respect to Figure 2 The value of the ramp stop enable register 261 may not be updated at time 452 .

[0037] At time 453, the ramp slope program register 222 may be updated, and thus the ramp slope program value 232 may change value. The change in the ramp slope program value 232 may be initiated by a software or hardware update to the ramp slope program register 222, such as with respect to Figure 2 The value of the ramp slope valid register 262 may not be updated at time 453 .

[0038] At time 454, the value of the external signal 241 may change from a low level to a high level. Based on the operation in the external update mode, the contents of the ramp start valid register 260, the ramp stop valid register 261, and the ramp slope valid register 262 may be updated at time 454, such as Figure 4 The content of the ramp start valid register 260 can be updated to reflect the value of the ramp start program value 230. The content of the ramp stop valid register 261 can be updated to reflect the value of the ramp stop program value 231. The content of the ramp slope valid register 262 can be updated to reflect the value of the ramp slope program value 232.

[0039] Figure 4 The example shown illustrates that the register is updated at the rising edge of the external signal 241 , but this is not intended to be limiting. The register may be updated at the falling edge of the external signal 241 .

[0040] Figure 5 One example of various examples of an update controller 240 and a ramp controller 280 in operation to generate a ramp signal 290 is illustrated. The ramp start valid register 260 may be set to a value 510. At time 530, the ramp signal 290 may increase to a level 531. The level 531 may be based on the ramp start valid value 270, the ramp stop valid value 271, and the ramp slope valid value 272. In one example of various examples, the ramp slope valid value 272 may specify a slope in volts per time. The ramp controller 280 may set the level 531 based on the ramp start valid value 270, increment based on the ramp slope valid value 272, and end at the ramp stop valid value 271. At time 540, the ramp signal 290 may increase to a level 541. The ramp signal 290 may continue as shown and as previously described in Figure 3 The ramp start effective value 270, the ramp stop effective value 271, and the ramp slope effective value 272 described in the above are increased. At time 550, the ramp stop effective value 271 is updated. The update of the ramp stop effective value 271 can be as follows: Figure 4 The following occurs in immediate update mode, PWM update mode, or update mode. Figure 5 In the example of , the updated value of the ramp stop effective value 271 is lower in magnitude than the previous value of the ramp stop effective value 271. At the next update of the ramp signal 290 at time 551, the updated value of the ramp stop effective value 271 may cause the ramp signal 290 to decrease by an amount reflecting the ramp slope effective value 272. The decrease in the ramp signal 290 may continue until the ramp signal 290 reaches the value of the ramp stop effective value 271 or until the ramp stop effective value 271 is updated.

[0041] At time 560, the ramp stop effective value 271 may be updated. The update of the ramp stop effective value 271 may be as follows: Figure 4 The following table shows the update mode, PWM update mode, or external update mode. Figure 5 In the example of , the updated value of the ramp stop effective value 271 is higher in magnitude than the previous value of the ramp stop effective value 271. At the next update of the ramp signal 290 at time 561, the updated value of the ramp stop effective value 271 may cause the ramp signal 290 to increase by an amount reflecting the ramp slope effective value 272. The increase in the ramp signal 290 may continue until the ramp signal 290 reaches the value of the ramp stop effective value 271 or until the ramp stop effective value 271 is updated.

[0042] Figure 5 The example of illustrates the ramp signal 290 update, wherein the value of the ramp slope effective value 272 is uniform over time, but this is not intended to be limiting. The ramp slope effective value 272 can be updated, and these updated values ​​can take effect when the ramp stop effective value 271 is updated.

Claims

1. A device, the device include: An input terminal for receiving a clock signal; Ramp start program register; Ramp start valid register; Ramp stop program register; Ramp stop valid register; Ramp Slope Program Register; Ramp slope valid register; an update controller, the update controller being used to update the ramp start valid register content with the content of the ramp start program register, update the ramp stop valid register content with the content of the ramp stop program register content, and update the ramp slope valid register content with the content of the ramp slope program register content based on programmable conditions, and A ramp controller is configured to generate a ramp signal, the ramp signal starting at a value reflecting the contents of the ramp start valid register, the ramp signal changing value at each cycle of the clock signal based at least on a value reflecting the contents of the ramp slope valid register, and the ramp signal stopping at a value reflecting the contents of the ramp stop valid register.

2. The apparatus of claim 1, the programmable condition comprising a change in the contents of at least one of the ramp start program register, the ramp slope program register, and the ramp stop program register.

3. The apparatus of any one of claims 1 to 2, the programmable condition comprising the ramp signal reaching a value reflecting the contents of the ramp stop active register.

4. The apparatus of any one of claims 1 to 3, the programmable condition comprising the ramp signal reaching a value reflecting the contents of the ramp start valid register.

5. The apparatus of any one of claims 1 to 4, the programmable condition comprising a change in polarity of an external signal.

6. The apparatus of any one of claims 1 to 5, the value reflecting the ramp slope program register content and the value reflecting the ramp slope effective register content comprising positive values.

7. The apparatus of any one of claims 1 to 5, the value reflecting the ramp slope program register content and the value reflecting the ramp slope effective register content comprising negative values.

8. A system, wherein the system include: An input terminal for receiving an input signal; Any of the devices according to claims 1 to 7; and A comparator is used to compare the input signal with a ramp signal and output a PWM signal.

9. A method, the method comprising: include: generating a ramp signal, the ramp signal starting at a value reflecting the contents of a ramp start valid register, the ramp signal changing value at each cycle of a clock signal based at least on a value reflecting the contents of a ramp slope valid register, and the ramp signal stopping at a value reflecting the contents of a ramp stop valid register; updating the contents of the ramp start valid register with a value reflecting the contents of a ramp start program register, updating the contents of the ramp stop valid register with a value reflecting the contents of a ramp stop program register, and updating the contents of the ramp slope valid register with a value reflecting the contents of a ramp slope program register, respectively, based on programmable conditions; and A PWM signal is generated based on a comparison of the ramp signal with an input signal.

10. The method of claim 9, the programmable condition comprising a change in the contents of at least one of a ramp start program register, a ramp slope program register, and a ramp stop program register.

11. The method of any one of claims 9 to 10, the programmable condition comprising the ramp signal reaching the value reflecting the ramp stop active register contents.

12. A method according to any one of claims 9 to 11, the programmable condition comprising the ramp signal reaching the value reflecting the contents of the ramp start valid register.

13. A method according to any one of claims 9 to 12, the programmable condition comprising a change in polarity of an input control signal.

14. A method according to any one of claims 9 to 13, the programmable condition comprising the end of a period of the PWM signal.

15. The method of any one of claims 9 to 14, the value reflecting the ramp slope program register content and the value reflecting the ramp slope effective register content comprising positive values.

16. The method of any one of claims 9 to 14, the value reflecting the ramp slope program register content and the value reflecting the ramp slope effective register content comprising negative values.