L6565 Zero Current Detection and Triggering Block (see fig. 13): The Zero Current Detection (ZCD) block switches on the external MOSFET if a negative-going edge falling be- low 1.6 V is applied to the input (pin 5, ZCD). However, to ensure high noise immunity, the triggering block must be armed first: prior to falling below 1.6V, the voltage on pin 5 must experience a positive-going edge exceeding 2.1 V. This feature is typically used to detect transformer demagnetization for QR operation, where the signal for the ZCD input is obtained from the transformer's auxiliary winding used also to supply the IC. Alternatively, this can be used to synchronize MOSFET's turn-on to the negative-going edge of an external clock signal, in case the device is not required to work in QR mode but as a standard PWM controller in a synchronized system (e.g. monitor SMPS). The triggering block is blanked for a certain time after the MOSFET has been turned off. This has two goals: first, to prevent any negative-going edge that follows leakage inductance demagnetization from triggering the ZCD circuit erroneously; second, to realize the Frequency Foldback function (see the relevant description). Figure 13. Zero Current Detection and Triggering Block; Disable and Frequency Foldback Blocks COMP INV - L6565 E/A+ 2.5V +Vin RZCD 5 to line PWM FFWD BLANKING ZCD A 5.2V 0µ TIME blanking 15 START 7 R - GD Q DRIVER MONO S + STABLE 1.6V Q starter STOP 2.1V STARTER - DISABLE 0.2V + 0.3V A circuit is needed that turns on the external MOSFET at start-up since no signal is coming from the ZCD pin. This is realized with an internal starter, which forces the driver to deliver a pulse to the gate of the MOSFET. To minimize the external interface with the synchronization source (either the auxiliary winding or an external clock), the voltage at the pin is both top and bottom limited by a double clamp, as illustrated in the internal dia- gram of the ZCD block of figure 13. The upper clamp is typically located at 5.2 V, while the lower clamp is at one VBE above ground. The interface will then be made by just one resistor that has to limit the current sourced by and sunk from the pin within the rated capability of the internal clamps. Disable Block (see fig. 13): The ZCD pin is used also to activate the Disable Block. If the voltage on the pin is taken below 150 mV the de- vice will be shut down. To do so, it is necessary to override the source capability (10 mA max.) of the internal lower clamp. While in disable, the current consumption of the IC will be reduced. To re-enable device operation, the pull-down on the pin must be released. Frequency Foldback Block (see fig. 13): To prevent the switching frequency from reaching too high values, which is a typical drawback of QR operation, 8/17