What power you want?
0.5*L*I^2*f give you the values.
You pick a suitable frequency......or get the excel open and play eith it to see.
Do it postulatively....its good excel for that....stuff in a value, see how it comes out, then change to suit....you can get a really small worksheet liek that which is good.
Get an excel worksheet open and start playing.
Otherwise give me your spec and i do for you in minutes and send back to you here...
--- Updated ---
What power you want?
0.5*L*I^2*f give you the values.
You pick a suitable frequency......or get the excel open and play eith it to see.
Do it postulatively....its good excel for that....stuff in a value, see how it comes out, then change to suit....you can get a really small worksheet liek that which is good.
Get an excel worksheet open and start playing.
Otherwise give me your spec and i do for you in minutes and send back to you here...
--- Updated ---
What power you want?
0.5*L*I^2*f give you the values.
You pick a suitable frequency......or get the excel open and play eith it to see.
Do it postulatively....its good excel for that....stuff in a value, see how it comes out, then change to suit....you can get a really small worksheet liek that which is good.
Get an excel worksheet open and start playing.
Otherwise give me your spec and i do for you in minutes and send back to you here...
May i ask the simulation that you proposed is it a constant current LED driver or constant voltage LED driver ?Hi,
OK i give you here 30V and 21W. It is BCM as you wish.
You did not spec the vin etc so i made that for you.
There is LTspcie confirmatory sim aswell
(Any hints on why this forum is so slow on my laptop when i am on public wifi, much appreciated, maybe i have an internet setting wrong?)
--- Updated ---
if you give me full spec, i change that excel for you in minutes to match the spec, and send it back here for you.
I even do transformer aswell if you want.
Thanks, may I ask the simulation that you proposed is a constant current LED driver or a constant voltage LED driver?yes, if fet switches on just as isec drops to zero that is bcm mode..
Hope to hear from you soon. Thanks in advance.yes, if fet switches on just as isec drops to zero that is bcm mode..
Hello Sir, may I ask if this is a constant voltage LED driver because when I try to increase the number of LEDs the system does not manage to regulate the output current only the output voltage is regulated. Can this IC be used to regulate constant output current because I wanted to learn how to regulate the output current of the load where the output current will still remain at 350 mA even though I increased the number of LEDs. One more question, the equation to select the inductor and capacitor values is based on the IC that you use in your system? Thank you for your help so far, I really appreciate it. Moreover, thank you for responding even though I keep asking so many questions. Hope to hear from you soon.Hi,
The attached is bcm led driver in LTspice doing 24 leds at 350mA from 110VAC input. It has PFC.
Its running open loop, so if you wish it regulated, youll need to connect in the error amplifier....but PFC loops take ages to simulate so not sure if you wish to do this.
Its 50khz at the mains peak...obviously more at the sides
Hello Sir, now I will go and straightaway refresh my memory on the working principle of an opamp. Thank you very much for taking the trouble to help me simulate it, very appreciate your help. Ohh, for now you can remove the PFC aspect because now I just wanted to focus on how to build a constant current LED driver in BCM mode. Thank you for your response and very very thank you for helping me to simulate the system.Hi,
Its neither constant voltage or constant current regulated....as you can see, the feedback voltage is a fixed dc voltage...this was done because i didnt have the time to connect in the current error amplifier which is shown there....because pfc feedback loops take ages to simulate....but yes...if you connect in the shown current error amplifier then it will be output current regulated.
You can see in the sim there is an unconnected current error amplifier, waiting for someone to connect it up.....then it will be constant current regulated.
An error amplifier is usually an opamp "integrator", which is what you can see on the sim.
Do you know the rule that opamps with negative feedback tendd to end up with both their inputs at the same voltage?.....thats kind of whats involved in an error amplifier.
Later, when i have time, i will remove the PFC aspect, and just make it current regulated.....then it will run quicker...but i thought you need pfc as your power is 24w and its lighting?
all the equns you need are in post #14...and you need read LT3799 datasheet.
I actually forgot to put a constant voltage into the vin_sense pin but it still works pretty well.
It really needs around 1v fixed into that....for non pfc apps
"If a voltage of 1Volt is held across an ideal inductor of 1 Henry, then the rate of change of current in that inductor is 1 A/s."
Hello, Sir. It is me again. After seeing the datasheet I have a few unsolved questions that I need your help with. I did not manage to find the inductance value for the transformer. Maybe the datasheet inside got mentioned indirectly but I'm unable to catch on. Sir, can you help me with that? Based on the pdf file below I have used some of the equations to obtain the value for duty cycle, Rsense and Iout (max) but for the Rsense I did not manage to get the same value as your design based on the input voltage of 110 Vac, output voltage of 80 Vdc and I out = 333mA as you mention before. Furthermore, how did you get the resistance and capacitance value that I had circled based on the pdf file below because the datasheet did not mention how to calculate it. Other than that, if the external error amplifier connects to the IC at the primary side does this system still have isolation properties? The external error amplifier will replace the function of COMP in the IC if I'm not mistaken. Based on the simulation that you showed me, if not mistaken the system did not include dimming feature, PFC, Open and short LED indication right? Sorry for asking so many questions. Hope that you can help me. Thank you for your time and effort to teach a person like me. Hope to hear from you soon.OK thanks, in order to help you it is needed to ask you to complete the following sentence...
"If a voltage of 1Volt is held across an ideal inductor of 1 Henry, then the rate of change of current in that inductor is .........."
If you cannot completing this sentence, then you need to looking into this before any further helps can be given.
It is Lenz's Law.
Hello, Sir. It is me again. After seeing the datasheet I have a few unsolved questions that I need your help with. I did not manage to find the inductance value for the transformer. Maybe the datasheet inside got mentioned indirectly but I'm unable to catch on. Sir, can you help me with that? Based on the pdf file below I have used some of the equations to obtain the value for duty cycle, Rsense and Iout (max) but for the Rsense I did not manage to get the same value as your design based on the input voltage of 110 Vac, output voltage of 80 Vdc and I out = 333mA as you mention before. Furthermore, how did you get the resistance and capacitance value that I had circled based on the pdf file below because the datasheet did not mention how to calculate it. Other than that, if the external error amplifier connects to the IC at the primary side does this system still have isolation properties? The external error amplifier will replace the function of COMP in the IC if I'm not mistaken. Based on the simulation that you showed me, if not mistaken the system did not include dimming feature, PFC, Open and short LED indication right? Sorry for asking so many questions. Hope that you can help me. Thank you for your time and effort to teach a person like me. Hope to hear from you soon.
OK thanks, in order to help you it is needed to ask you to complete the following sentence...
"If a voltage of 1Volt is held across an ideal inductor of 1 Henry, then the rate of change of current in that inductor is .........."
If you cannot completing this sentence, then you need to looking into this before any further helps can be given.
It is Lenz's Law.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?