CPC H02M 3/158 (2013.01) [H02M 1/08 (2013.01); H02M 3/157 (2013.01); H03K 7/08 (2013.01); H04R 3/02 (2013.01); H04R 17/00 (2013.01)] | 28 Claims |
10. A driving circuit, comprising:
a bidirectional circuit, coupled to a load; and
a pulse width modulation (PWM) controller, comprising a memory in which a table is stored, the PWM controller configured to perform following steps:
obtaining a pulse width control code (PWCC) from the table according to a difference between a first feedback signal from the load and an input signal, wherein the PWCC is corresponding to an intended voltage difference, and the first feedback signal is corresponding to a first cycle;
generating a plurality of PWM signals according to the PWCC, wherein during a second cycle the bidirectional circuit performs a charging operation or a discharging operation on the load according to the plurality of PWM signals;
receiving a second feedback signal from the load corresponding to the second cycle; and
updating the PWCC according to the first feedback signal and the second feedback signal, and saving the updated PWCC back to the table in the memory.
|