Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Switch Mode LED driver is literally just using a comparator -is this ok?

Status
Not open for further replies.

grizedale

Advanced Member level 3
Joined
Jun 13, 2011
Messages
838
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Activity points
8,804
Hello,

Please can you state if the following LED driver is a robust design?....

R65 COMPTOR BUK.jpg

Buck LED driver
Vin = 13V
Iout = 2.55A total (obviously the leds are paralleled, and so each led passes 2.55/6 = 425mA.
The LEDs are rated to 1 Amp


Please note that the control scheme involves no LED driver IC, and not even an oscillator, the comparator literally just switches the FET on and off.

This is a flashing LED light, so it flashes ON/OFF (ON = 190ms, OFF = 300ms)

I have pointed out that there will be large surging inrush due to the simple comparator control, which, at start-up, literally just keeps the switching PFET on until the current sense resistor voltage gets above 0.6V.

I believe that that in high temperature operation (ambient = 40degC), the output 100uF electrolytic capacitor's ESR will fall very low, and the delta(Voltage) on the comparator inverting pin will be very small and the comparator will jitter noisily.

Do you agree with me that this design is severly suspect and in need of re-doing.?

Regarding the inductor saturation which will occur at start-up, or at return from Flash-off, the designer says it doesnt matter....because most of the resulting inrush just goes into the electrolytic capacitor and not into the leds.

The inductor is a DR125-330-R:-
**broken link removed**


Incidentally, here is the LTspice simulation of it.

Code:
Version 4
SHEET 1 2148 1224
WIRE 144 -480 32 -480
WIRE 32 -464 32 -480
WIRE 32 -368 32 -400
WIRE -1152 -240 -1152 -288
WIRE -1152 -240 -1552 -240
WIRE -272 -240 -1152 -240
WIRE -80 -240 -208 -240
WIRE 112 -240 -80 -240
WIRE 144 -240 144 -480
WIRE 144 -240 112 -240
WIRE 272 -240 144 -240
WIRE 400 -240 368 -240
WIRE 592 -240 480 -240
WIRE 656 -240 592 -240
WIRE 784 -240 736 -240
WIRE 1216 -240 784 -240
WIRE 1728 -240 1216 -240
WIRE 1216 -208 1216 -240
WIRE 1728 -208 1728 -240
WIRE -80 -192 -80 -240
WIRE -1040 -160 -1152 -160
WIRE -1040 -128 -1040 -160
WIRE 112 -112 112 -240
WIRE -272 -80 -384 -80
WIRE -80 -64 -80 -112
WIRE 48 -64 -80 -64
WIRE 1216 -64 1216 -128
WIRE 1216 -64 1072 -64
WIRE 1360 -64 1216 -64
WIRE 1728 -64 1728 -128
WIRE 1728 -64 1584 -64
WIRE 1872 -64 1728 -64
WIRE -272 -48 -272 -80
WIRE -1040 -16 -1040 -48
WIRE 1072 -16 1072 -64
WIRE 1216 -16 1216 -64
WIRE 1360 -16 1360 -64
WIRE 1584 -16 1584 -64
WIRE 1728 -16 1728 -64
WIRE 1872 -16 1872 -64
WIRE 112 16 112 -16
WIRE 288 16 288 -192
WIRE 288 16 112 16
WIRE 352 16 352 -32
WIRE 352 16 288 16
WIRE 592 16 592 -240
WIRE 672 16 592 16
WIRE 112 32 112 16
WIRE -1216 48 -1424 48
WIRE -272 80 -272 32
WIRE -144 80 -144 48
WIRE -80 80 -80 -64
WIRE -80 80 -144 80
WIRE 592 80 592 16
WIRE 672 80 672 16
WIRE 784 80 784 -240
WIRE 112 160 112 112
WIRE 1072 192 1072 48
WIRE 1216 192 1216 48
WIRE 1216 192 1072 192
WIRE 1360 192 1360 48
WIRE 1360 192 1216 192
WIRE 1584 192 1584 48
WIRE 1728 192 1728 48
WIRE 1728 192 1584 192
WIRE 1872 192 1872 48
WIRE 1872 192 1728 192
WIRE -80 208 -80 80
WIRE 48 208 -80 208
WIRE 1216 208 1216 192
WIRE 1728 208 1728 192
WIRE -1552 240 -1552 -240
WIRE 592 272 592 144
WIRE 672 272 672 144
WIRE 672 272 592 272
WIRE -768 304 -768 208
WIRE -768 304 -784 304
WIRE -656 304 -768 304
WIRE -384 304 -384 -80
WIRE -384 304 -400 304
WIRE -272 368 -272 304
WIRE -272 368 -400 368
WIRE -80 384 -80 208
WIRE -1152 400 -1152 -160
WIRE 1216 400 1216 288
WIRE 1216 400 1072 400
WIRE 1360 400 1216 400
WIRE 1728 400 1728 288
WIRE 1728 400 1584 400
WIRE 1872 400 1728 400
WIRE -1216 416 -1216 48
WIRE -1184 416 -1216 416
WIRE -1056 432 -1120 432
WIRE -784 432 -784 304
WIRE -784 432 -976 432
WIRE -272 432 -272 368
WIRE -240 432 -272 432
WIRE -144 432 -160 432
WIRE -1296 448 -1296 400
WIRE -1296 448 -1360 448
WIRE -1184 448 -1296 448
WIRE -656 496 -672 496
WIRE 1072 560 1072 400
WIRE 1216 560 1216 400
WIRE 1360 560 1360 400
WIRE 1584 560 1584 400
WIRE 1728 560 1728 400
WIRE 1872 560 1872 400
WIRE -1360 656 -1360 448
WIRE 1072 656 1072 624
WIRE 1216 656 1216 624
WIRE 1216 656 1072 656
WIRE 1360 656 1360 624
WIRE 1360 656 1216 656
WIRE 1584 656 1584 624
WIRE 1728 656 1728 624
WIRE 1728 656 1584 656
WIRE 1872 656 1872 624
WIRE 1872 656 1728 656
WIRE 1216 768 1216 656
WIRE 1488 768 1216 768
WIRE 1616 768 1488 768
WIRE 1728 768 1728 656
WIRE 1728 768 1616 768
WIRE 1488 800 1488 768
WIRE 1616 832 1616 768
WIRE 1696 832 1616 832
WIRE -1552 944 -1552 320
WIRE -1360 944 -1360 736
WIRE -1360 944 -1552 944
WIRE -1152 944 -1152 464
WIRE -1152 944 -1360 944
WIRE -672 944 -672 496
WIRE -672 944 -1152 944
WIRE -80 944 -80 480
WIRE -80 944 -672 944
WIRE 112 944 112 256
WIRE 112 944 -80 944
WIRE 592 944 592 272
WIRE 592 944 112 944
WIRE 784 944 784 144
WIRE 784 944 592 944
WIRE 976 944 784 944
WIRE 1488 944 1488 880
WIRE 1488 944 976 944
WIRE 976 1008 976 944
WIRE -1424 1136 -1424 48
WIRE 1616 1136 1616 832
WIRE 1616 1136 -1424 1136
FLAG 976 1008 0
FLAG 32 -368 0
FLAG -1040 -16 0
FLAG -272 80 0
FLAG 1696 832 rsense
FLAG -1296 400 0.6V
FLAG -768 208 Comp_out
FLAG -272 304 BJT_drive
FLAG 352 -32 PFET_gate
FLAG -144 48 BJT_bases
FLAG -1152 -288 13V
SYMBOL voltage -1552 224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0.05
SYMATTR InstName V1
SYMATTR Value 13
SYMBOL ind 640 -224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 33µ
SYMATTR SpiceLine Rser=0.05
SYMBOL schottky 608 144 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value MBRS340
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 768 80 R0
SYMATTR InstName C1
SYMATTR Value 100µ
SYMATTR SpiceLine Rser=0.2
SYMBOL npn -144 384 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL LED 1056 -16 R0
SYMATTR InstName D2
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1200 -16 R0
SYMATTR InstName D4
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1344 -16 R0
SYMATTR InstName D5
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 1200 192 R0
SYMATTR InstName R1
SYMATTR Value 0.22
SYMBOL res 1200 -224 R0
SYMATTR InstName R2
SYMATTR Value 0.22
SYMBOL LED 1568 -16 R0
SYMATTR InstName D8
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1712 -16 R0
SYMATTR InstName D9
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1856 -16 R0
SYMATTR InstName D10
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 1712 192 R0
SYMATTR InstName R3
SYMATTR Value 0.22
SYMBOL res 1712 -224 R0
SYMATTR InstName R4
SYMATTR Value 0.22
SYMBOL LED 1056 560 R0
SYMATTR InstName D17
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1200 560 R0
SYMATTR InstName D18
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1344 560 R0
SYMATTR InstName D19
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1568 560 R0
SYMATTR InstName D23
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1712 560 R0
SYMATTR InstName D24
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL LED 1856 560 R0
SYMATTR InstName D25
SYMATTR Value LXK2-PW14
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 368 -192 M270
SYMATTR InstName M1
SYMATTR Value Si4425BDY
SYMBOL res 384 -224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R5
SYMATTR Value 0.283
SYMBOL cap 656 80 R0
SYMATTR InstName C2
SYMATTR Value 10n
SYMATTR SpiceLine Rser=0.005
SYMBOL npn 48 -112 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL pnp 48 256 M180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL res 96 16 R0
SYMATTR InstName R6
SYMATTR Value 22r1
SYMBOL res -144 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL schottky -272 -224 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D26
SYMATTR Value 1N5819
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 16 -464 R0
SYMATTR InstName C3
SYMATTR Value 5µ
SYMATTR SpiceLine Rser=0.009
SYMBOL res -96 -208 R0
SYMATTR InstName R8
SYMATTR Value 2k2
SYMBOL res 1472 784 R0
SYMATTR InstName R9
SYMATTR Value 0.235
SYMBOL voltage -1360 640 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0.001
SYMATTR InstName V2
SYMATTR Value 0.6
SYMBOL voltage -1040 -144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0.002
SYMATTR InstName V3
SYMATTR Value 5V1
SYMBOL PowerProducts\\LTC1693-3 -528 400 R0
SYMATTR InstName U2
SYMBOL voltage -272 -64 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL Comparators\\LT1720 -1152 368 R0
SYMATTR InstName U1
SYMBOL res -960 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 1K
TEXT -64 1208 Left 2 !.tran 0 10 0 startup
TEXT 368 -328 Left 2 ;Si4425BDY = 64nC = Qg

The quote is not the proper tag to use for code because it doesn't limit the length , use code tags instead [alexan_e]
 
Last edited by a moderator:

Bang bang controllers like that aren't too surprising in very simple/cost sensitive designs (like blinky LED drivers). So long as all the components are rated for the appropriate ripple currents, it should be fine. But there should be some hysteresis on the comparator, in order to define the switching frequency and prevent chatter (though maybe there is internal hysteresis).
 

OK thanks mtwieg, by the way the LED s aren't matched , but are still parallelled with very little dropping resistance.

The LEDs are XPEWHT:-
**broken link removed**

This is ahigh volume product, and if LED drivers can be done ok with just a simple comparator, and with paralleled LEDs, then why is anybody buying LED driver IC'S?
 
Last edited:

OK thanks mtwieg, by the way the LED s aren't matched , but are still parallelled with very little dropping resistance.

The LEDs are XPEWHT:-
**broken link removed**
Yeah there should probably be some more series resistors in the LED array to improve balancing.
This is ahigh volume product, and if LED drivers can be done ok with just a simple comparator, and with paralleled LEDs, then why is anybody buying LED driver IC'S?
Because not everyone cares about having features like small size, line rejection, brightness control, high reliability, or ultra high efficiency. Sometimes you just want blinky lights with the minimum effort and cost. Also for some reason a lot of people seem to really like bang bang control, even when it's not entirely appropriate.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top