The utility model provides a flyback convertercontrol circuit and the flyback converter, including a reference signal generating circuit, including a plurality of capacitors, controlling the charging time period of each capacitor in the plurality of capacitors according to the switching period to obtain a reference signal, the reference signal being used for controlling the magnitude of the peak current flowing through the main power tube; the comparator is used for comparing the reference signal with a current sampling signal representing the current of the main power tube so as to control the turn-off moment of the main power tube; wherein when the switching period is larger than a first threshold value and smaller than a second threshold value, the reference signal has at least two change stages, the switching period in the first change stage is larger than the switching period in the second change stage, and the change rates of the reference signal are different in different change stages. According to the utility model, the peak current of the flyback converter can be flexibly adjusted so as to meet application requirements.