A method of a controller of a power converter generating adjustable jitter amplitude, the controller comprising a feedback pin, a logic circuit, a current sensing pin, and an auxiliary pin, wherein the logic circuit comprises a first logic unit and a second logic unit, the method comprising:
- the feedback pin receiving a feedback voltage from a secondary side of the power converter, wherein the feedback voltage corresponds to an output voltage of the secondary side of the power converter;
- the logic circuit generating a predetermined-bit digital signal according to a clock;
- the auxiliary pin receiving a voltage corresponding to an auxiliary winding of the power converter;
- the current sensing pin generating a detection voltage according to a current flowing through a primary side of the power converter;
- and
- determining turning-on time of the primary side of the power converter according to the voltage, the predetermined-bit digital signal, and the detection voltage.