|
![]() |
|
|
#2576 |
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
Hey Bean, thanks for the fix on the spreadsheet and the note about the PFET. I couldn't find a good high voltage fet that has <30 Qg. The one I'm using is 33 and my Fsw is about 320kHz, so I'm just at the border
.AHutch, I just did a quick test with one of my boards and on the lowest setting (3 in my case) I get about 11mA current through 7 XPGs with 24V psu (on a board with parts for 48Vin and 1A max current). What parts are you using for Roff (R5), Coff(C5) and PFET (Q1) ?
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
|
|
|
|
|
#2577 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Being new to HPLED drivers and having no real world design experience, I have no idea what the rammifications of switching frequency and ripple have on the end result. Sadly, these are the variables that must be fiddled with to optimize a buck regulator like this.
Lower Qg means higher Rds-on and the datasheet indicates that there is a trade-off but (again) I am not sure of the rammifications on either side of the trade, other than the high Qg and heating. So, in the end it may be worth trying to move the Cin cap to the alternate position (away from Vin) to accomodate the high Qg and low Rds-on |
|
|
|
|
|
#2578 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Vishay has a few lower Qg offerings in HV packages
IRF9520PBF 100V Qg= 18nC Rds-on = 600mOhm 6.8A |
|
|
|
|
|
#2579 |
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
Initially I had a pfet with high Rds and low Qg and the fet was getting quite hot... I guess having higher Qg moves the heat to the IC, having higher Rds, makes the FET hotter. Now that I've added a heatsink to my board, it is probably better to have the FET take the heat.
The part I'm using is FQP27P06 with max Rds of 0.07Ohms and typ Qg of 33nC. It seems to work well for me. I guess doubling the Roff resistor will lower the switching frequency and reduce the load on the IC, so maybe that's another option... The only downside of this IC, too many things to consider and trade off. The CAT4101 is a simple alternative, but not as fun
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
|
|
|
|
|
#2580 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
My biggest gripe is the current sense.. Due to the topology, there is no way to make an adjustable output driver... You can't just toss a POT on the sense pins and adjust Imax as needed.
|
|
|
|
|
|
#2581 |
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
Not on the sense pins, but you can put a pot on the Iadj pin and adjust it that way.
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
|
|
|
|
|
#2582 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
LM3409 specs ■ 10,000:1 PWM Dimming Range ■ 250:1 Analog Dimming Range It statest that both types of dimming can be done over the full range... but the specs above indicate that if you want high resolutiom then PWM needs to be used. So I am a bit puzzled but may be reading the datasheet wrong... But when driven with a PWM signal it would appear that the input PWM signal is used to derive an output PWM signal and brightness is a function of that output PWM duty cycle. When EN is tied high (analog dimming) the LEDs are driven by a fixed PWM (based on component selection) and dimming of the LEDs is done by leaving the duty cycle as is but varying the output amplitude (voltage). Make sense, or am I not reading the theory of operation correctly? It would also follow (if my assumption is right) reading the 250:1 spec, that that output voltage is derived from an onboard DAC and therefore only has ~250 steps from Vled to cutoff (the extra 6 missing steps likely the cutoff threshold area). Anybody? So if my assumptions are anwhere near correct, then connecting a 10, 12 or 16 bit DAC to do ANALOG dimming does not add resolution, as it is fixed at 250 steps and in fact the only way to get higer resolution is to drive a PWM signal from a 10, 12 or 16 bit source.
The next question being... with a PWM signal present on the EN pin, can the ADJ pin stil lbe used to drive down the overall amplitude, regardless of the PWM input. That is lets say that the driver is built for 1000mA and PWM, does lowering the voltage to the ADJ pin act as a MAXIMUM current adjuster? Looking at the block diagram it appears that it may. Last edited by BeanAnimal; 07/10/2012 at 04:46 PM. |
|
|
|
|
|
#2583 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
So i am still missing some details with, but I am partly correct (albiet partly wrong):
Here is a link to an article from National describing the topic and partly specific to the LM3409. http://powerelectronics.com/images/D...res_1-1110.pdf of note is the color shift related to analog diming, though at low outout levels, analog is more efficient than PWM. A tradeoff, but in our case, spectral shift may not be a good thing. So... I suspect I am going back to the drawing board and going to use PWM instead of analog. That still leaves me with the problem of being able to trim the maximum current for a given design, unless of course it can be Iadjusted down. Last edited by BeanAnimal; 07/10/2012 at 05:39 PM. |
|
|
|
|
|
#2584 |
|
Registered Member
Join Date: Dec 2007
Location: Central California Coast.
Posts: 5,383
|
Yo Bean! It's very confusing so I have no doubt you're not clear on this.
Here's the main confusion issue: A lot of drivers, like Meanwells, have versions of drivers that can be dimmed by analog then they have some versions that are PWM. In their PWM versions they just take in your PWM signal and average it into the controller which runs just exactly the same as the analog version. The average the PWM to give themselves an analog signal internally that is the controller reference. Then you have other controllers that are PWM and the PWM signal is actually ANDed with the current driver's output drive signal. When the PWM is zero it flat shuts-off the output. PWM = 0% = ZERO output current. PWM = 100% = No interference with the controlled output. PWM = any other value is the output OFF then current controlled to the drivers full current limit. Now, the 3409 is special. It has an analog input that sets the controllers operating point. Then it has another input that will gate off the output driver. This is why the analog input can only dim the output over a smaller range than the PWM. |
|
|
|
|
|
#2585 |
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
While I never intended to use 4000+ steps for dimming, I absolutely see finer steps than 250:1 on the analog range. Unfortunately it doesn't look like it is linear. From 1000-1001 (dac step), I get about 0.25mA increase in current. At the lower range there is pretty much no difference between, say 50 and 120 (dac steps). I get an increase of about 0.020mA from 50 to 150...
The PDF you linked kind of supports that it isn't limited to 250 steps on the analog side, but rather to 0-248mV across Rsns. Now, I assume internally it is just an analog scale, rather than going from analog to digital in the logic unit and back out to analog. We'd need a scope to verify this, but I really doubt Vout is PWMed. I think it is constant voltage, constant current (with slight ripple). But I could be wrong. Regarding color shifting, I'm not sure that is a problem. Especially since we don't know at what current are the colors are measured by Cree. My guess would be 350mA, since that's pretty much their standard current (for XP series anyway). Also, for me it feels like the LEDs become warmer when they are at the dimmest levels, which would also be similar to the color shift of the rising or setting sun (at least I'd like to think that way ) which is what I'm trying to get with the dimming anyway.At the end of the day, as long as PWM is not used for setting the maximum current, I think it doesn't really matter for the 1-2hrs of dimming we do a day. I do, however, have a problem with setting the max using PWM... the fact that we don't 'see' the on/off cycle, doesn't mean that other organisms don't mind it. No science to back this up, just me. To answer your question, yes, you can have a 0-1.24V voltage or just a pot on Iadj while PWMing the EN pin. I think it is just an on/off switch for the IC so it should be independent from the analog adjustment.
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
|
|
|
|
|
#2586 | |||
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#2587 | |||||
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Quote:
Quote:
Quote:
The In other words, the driver acts like a true current source with variable current, or can drive the leds via PWM (or appearnatly a combination of both. adjustable current sense threshold provides the capability to amplitude (analog) dim the LED current over the full range and the fast output enable/disable function allows for high frequency PWM dimming using no external components. Quote:
My reasons for building the dimming drivers are only partly sunrise/sunset. I had hoped to use them to be able to color tune or color shift the fixture throughout the day, or permanently. Quote:
Thoughts? |
|||||
|
|
|
|
|
#2588 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Not super relevant, as the app note is for driving directly from AC mains without a vreg and ripple smoothing. Interesting though:
http://www.ti.com/lit/ug/snvu109/snvu109.pdf |
|
|
|
|
|
#2589 |
|
Registered Member
Join Date: Aug 2011
Posts: 340
|
I don't have a full understanding of the operating principles behind the LM3409, but I can tell you this- It appears from the drivers that I've built that Analog dimming can be used in conjunction with PWM dimming at the same time. I built my drivers to output 3,000ma at 52 volts, but I'm able to dial down the current to 2,000ma to safely drive a particular BridgeLux led array. I followed the diagram in the spec sheet and connected a 250k ohm trimmer pot to the Iadj pin. I use it to dial in the maximum current and use the PWM signal from my arduino to dim from there.
|
|
|
|
|
|
#2590 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
That is pretty much what I was after... so I can continue with my project using this driver
![]() Still very curious about the output waveform |
|
|
|
|
|
#2591 | ||||
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
Quote:
"The voltage across RSNS (VSNS) is compared to the adjustable current sense threshold (VCST) and Q1 is turned off when VSNS exceeds VCST..." The Iadj voltage just changes where that comparator turns off. I did sent TI an email about the 250:1 range, so I'll report back when they answer. Quote:
Quote:
. Quote:
... 'bout time I get a proper scope, anyone heard of OWON? The owon sds7102 looks really tempting with that 10Meg sample memory...
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
||||
|
|
|
|
|
#2592 | ||
|
Registered Member
Join Date: Dec 2007
Location: Central California Coast.
Posts: 5,383
|
Lets see a lot has gone on here today.
1) Quote:
Quote:
2) 3409: Yes the analog input can set the MAX and the PWM can apply to that set current. 3) It's very easy to see 256 steps of dimming in a tank. 512 would probably be very hard to see. I'm running 1024 and can see no steps what-so-ever. 4) I would not hesitate to run PWM at a frequency greater than 100Hz having no concern with the wildlife. There's no reason I can think of for them to have a higher frequency eyeball than us. They have the same brain/muscle/physical response limitations and likely the same functional need for integration to allow seeing poor light. But that's just my opinion. 5) tera; I've NEVER heard of Owon. I have heard of Rigol and have been considering the Rigol DS1102E. My problem is that I need an isolated scope for at least half of my work. I have a Tektronix that is but the numbskulls at Tek have ignored that genre of scopes now for a decade. Instead they are wasting their time on scopes that I see selling for more than half a million dollars each.
|
||
|
|
|
|
|
#2593 |
|
Registered Member
Join Date: Jul 2004
Posts: 49
|
Why no one use zetex led driver? I use it. I use it zxld1362/zxld1366 for under 1A application. If u want turn or dim the led driver the only method is use pwm. zetex led driver is very easy to design and use. If u wand driver 12 led in series by 60V dc u only need 1 zxld1366, 1 coil, 2 caps and 1 current sense resistor. The pcb can be very small and easy soldering them.....
|
|
|
|
|
|
#2594 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
I have old tektronix 2235, or 2213, honestly can't remeber if it is 60 or 100 meg. I don't use it very often. I would love storage scope but just can't justify the cost.
|
|
|
|
|
|
#2595 | |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
Quote:
|
|
|
|
|
|
|
#2596 | |
|
Registered Member
Join Date: Jul 2004
Posts: 49
|
Quote:
long long times ago i use national lm3404..... but it current sense is hard to find. so i choose zxld1362/zxld1366..... |
|
|
|
|
|
|
#2597 | ||
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
Quote:
). All of these are in the $400-$500 range. Quote:
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
||
|
|
|
|
|
#2598 |
|
Registered Member
Join Date: Feb 2003
Location: Pittsburgh
Posts: 20,310
|
$400 = 20 cases of cheap beer or 10 cases of craft beer....
Honestly, I don't often find use for a scope often. At one point I had visions of building high power SS and tube amps, and purchased the scope for that reason. I have piles of massive high voltage/current ONSEMI power transistors for a huge sub amp build, but never got around to doing it ![]() My plan here is to use something like the NXP 16 channel driver to drive the PWM inputs on the LM3409 -OR- the NXP PWM output through a simple rc filter or opamp to drive the analog input of the LM3409. |
|
|
|
|
|
#2599 |
|
Registered Member
Join Date: Jul 2004
Posts: 49
|
just for diy led driver not worth buy a scope.....
|
|
|
|
|
|
#2600 |
|
1x10^12 Hz
Join Date: Oct 2009
Location: Stamford, CT
Posts: 1,173
|
You guys are no fun
Of course it is not worth it to buy a scope because of an led driver.![]() Bean, 16 lm3409s can handle e LOT of LEDs, are you changing the lights for the tank and the house?
__________________
Аз съм българче! Current Tank Info: DIY 40 Breeder with LEDs |
|
|
|
![]() |
| Thread Tools | |
|
|