Application information HVLED805
16/29 Doc ID 18077 Rev 1
After the first few cycles initiated by the starter, as the voltage developed across the auxiliary
winding becomes large enough to arm the DMG circuit, MOSFET’s turn-on will start to be
locked to transformer demagnetization, hence setting up QR operation.
The starter is activated also when the IC is in CC regulation and the output voltage is not
high enough to allow the DMG triggering.
If the demagnetization completes – hence a negative-going edge appears on the DMG pin –
after a time exceeding time T
BLANK
from the previous turn-on, the MOSFET will be turned
on again, with some delay to ensure minimum voltage at turn-on. If, instead, the negative-
going edge appears before T
BLANK
has elapsed, it will be ignored and only the first negative-
going edge after T
BLANK
will turn-on the MOSFET. In this way one or more drain ringing
cycles will be skipped (“valley-skipping mode”, Figure 13) and the switching frequency will
be prevented from exceeding 1/T
BLANK
.
Note: That when the system operates in valley skipping-mode, uneven switching cycles may be
observed under some line/load conditions, due to the fact that the OFF-time of the MOSFET
is allowed to change with discrete steps of one ringing cycle, while the OFF-time needed for
cycle-by-cycle energy balance may fall in between. Thus one or more longer switching
cycles will be compensated by one or more shorter cycles and vice versa. However, this
mechanism is absolutely normal and there is no appreciable effect on the performance of
the converter or on its output voltage.
5.4 Constant voltage operation
The IC is specifically designed to work in primary regulation and the output voltage is
sensed through a voltage partition of the auxiliary winding, just before the auxiliary rectifier
diode.
Figure 14 shows the internal schematic of the constant voltage mode and the external
connections.
Figure 13. Drain ringing cycle skipping as the load is progressively reduced
Pin = Pin'
(limit condition)
P
in
= P
in''
< P
in'
P
in
= P
in'''
< P
in''
t
V
DS
T
FW
T
osc
T
V
T
ON
t
V
DS
T
osc
t
V
DS
T
osc
HVLED805 Application information
Doc ID 18077 Rev 1 17/29
Due to the parasitic wires resistance, the auxiliary voltage is representative of the output just
when the secondary current becomes zero. For this purpose, the signal on DMG pin is
sampled-and-held at the end of transformer’s demagnetization to get an accurate image of
the output voltage and it is compared with the error amplifier internal reference.
During the MOSFET’s OFF-time the leakage inductance resonates with the drain
capacitance and a damped oscillation is superimposed on the reflected voltage. The S/H
logic is able to discriminate such oscillations from the real transformer’s demagnetization.
When the DMG logic detects the transformer’s demagnetization, the sampling process
stops, the information is frozen and compared with the error amplifier internal reference.
The internal error amplifier is a transconductance type and delivers an output current
proportional to the voltage unbalance of the two outputs: the output generates the control
voltage that is compared with the voltage across the sense resistor, thus modulating the
cycle-by-cycle peak drain current.
The COMP pin is used for the frequency compensation: usually, an RC network, which
stabilizes the overall voltage control loop, is connected between this pin and ground.
The output voltage can be defined according the formula:
Equation 1
Where n
SEC
and n
AUX
are the secondary and auxiliary turn’s number respectively.
The R
DMG
value can be defined depending on the application parameters (see “Section 5.6:
Voltage feedforward block on page 20” section).
Figure 14. Voltage control principle: internal schematic
2.5V
Rd mg
From Rsense
Aux
+
-
EA
R
To PWM Logic
S/H
Rf b
DEMAG
LO GI C
+
-
CV
C
COMP
DMG
DMG
REFOUT
SEC
AUX
REF
FB
R
VV
n
n
V
R
=
Application information HVLED805
18/29 Doc ID 18077 Rev 1
5.5 Constant current operation
Figure 15 presents the principle used for controlling the average output current of the
flyback converter.
The output voltage of the auxiliary winding is used by the demagnetization block to generate
the control signal for the mosfet switch Q1. A resistor R in series with it absorbs a current
V
C
/R, where V
C
is the voltage developed across the capacitor C.
The flip-flop’s output is high as long as the transformer delivers current on secondary side.
This is shown in
Figure 16.
The capacitor C has to be chosen so that its voltage V
C
can be considered as a constant.
Since it is charged and discharged by currents in the range of some ten µA (I
CLED
is
typically 20 µA) at the switching frequency rate, a capacitance value in the range 4.7-10 nF
is suited for switching frequencies in the ten kHz.
The average output current can be expressed as:
Equation 2
Where I
S
is the secondary peak current, T
ONSEC
is the conduction time of the secondary
side and T is the switching period.
Taking into account the transformer ratio n between primary and secondary side, I
S
can also
be expressed is a function of the primary peak current I
P
:
Equation 3
As in steady state the average current I
C
:
Equation 4
Which can be solved for V
C
:
Equation 5
Where V
CLED
=R I
LED
and is internally defined.
As V
C
is fed to the CC comparator, the primary peak current can be expressed as:
=
T
T
2
I
I
ONSECS
OUT
PS
InI
=
()
0T
R
V
ITTI
ONSEC
C
CLEDONSECCLED
=
+
ONSEC
CLEDC
T
T
VV =

HVLED805

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
LED Lighting Drivers Off-Line LED Driver Primary Sensing 800V
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet