Abstract:
A switching power source, a method and a control chip for controlling a switching power source are provided. The switching power source includes: a dimmer having a plurality of operating modes; a filtering and rectifying module connected with the dimmer; a dimmer switching module connected with the dimmer; a primary constant current circuit connected with the filtering and rectifying module; a control module connected with the filtering and rectifying module, the dimmer switching module and the primary constant current circuit respectively, and configured to detect a current operating mode of the dimmer, to generate a dimmer control signal according to the current operating mode, to control the dimmer switching module to turn on or off according to the dimmer control signal so as to control the dimmer to enter a desired operating mode, and to control the primary constant current circuit to output a constant current.