Hey guys, I’m designing a constant current driver for Li-Fi applications. I chose to undertake the dual BJT constant current driver as I had success with it in the past.
I’m using Q1 Tip31cg https://www.onsemi.com/pdf/datasheet/tip31a-d.pdf
Q2 2N3904 https://www.onsemi.com/pdf/datasheet/2n3903-d.pdf.
the LED I’m currently using is XQE high intensity white led https://downloads.cree-led.com/files/ds/x/XLamp-XQE.pdf.
The LED can take up to 1.5A but I’m only designing it to get it to 1A.
As mentioned before this is for Li-Fi and the modulated signal will be coming in place of the 3.3v (from a teensy).
I previously used a supply voltage of 5v but had issues with the LED not getting enough current as designed. I assumed and attributed it towards the voltage drop of the circuit being more than the supply so now I moved it to 12v.
According to my calculations my RL which dictates the current through my LED should be 0.7 (assuming Vbe of Q2 is 0.7).
R1 in this case is just to ensure that there is enough current to bias Q1 and Q2. I believe this is where my troubles are. I chose a DC gain of 25 because it is roughly around the 10 min and 50 max, giving R1 as 82 ohms. But it doesn’t seem to be biasing. Even if I take out Q2, in theory the current should spike up but it remains the same. Do I need to account for the voltage drop across the resisto? Am I not giving Q1 or Q2 enough current?
As it currently stands when I’m using R1 as 82 ohms and RL as 1 Ohms IL should be 0.7A, but it is showing 0.999A through the 12v supply (power supply capped at 30v and 1A). The power Supply is capped at 1A, making the 12v only being roughly around 1 when seen on the power supply.
When RL is changed to 100 ohms, it displays the same characteristic where the power supply is capped at 1A through LED but the voltage is capped at 11.4v. I’m scared that when we use a non capped power source that the 12v would give it excess current given that it can’t even follow the basics of this circuit.
would love help to determine what’s wrong with my circuit as it’s been over 3 weeks and no progress has been made.
best regards Kane.
I’m using Q1 Tip31cg https://www.onsemi.com/pdf/datasheet/tip31a-d.pdf
Q2 2N3904 https://www.onsemi.com/pdf/datasheet/2n3903-d.pdf.
the LED I’m currently using is XQE high intensity white led https://downloads.cree-led.com/files/ds/x/XLamp-XQE.pdf.
The LED can take up to 1.5A but I’m only designing it to get it to 1A.
As mentioned before this is for Li-Fi and the modulated signal will be coming in place of the 3.3v (from a teensy).
I previously used a supply voltage of 5v but had issues with the LED not getting enough current as designed. I assumed and attributed it towards the voltage drop of the circuit being more than the supply so now I moved it to 12v.
According to my calculations my RL which dictates the current through my LED should be 0.7 (assuming Vbe of Q2 is 0.7).
R1 in this case is just to ensure that there is enough current to bias Q1 and Q2. I believe this is where my troubles are. I chose a DC gain of 25 because it is roughly around the 10 min and 50 max, giving R1 as 82 ohms. But it doesn’t seem to be biasing. Even if I take out Q2, in theory the current should spike up but it remains the same. Do I need to account for the voltage drop across the resisto? Am I not giving Q1 or Q2 enough current?
As it currently stands when I’m using R1 as 82 ohms and RL as 1 Ohms IL should be 0.7A, but it is showing 0.999A through the 12v supply (power supply capped at 30v and 1A). The power Supply is capped at 1A, making the 12v only being roughly around 1 when seen on the power supply.
When RL is changed to 100 ohms, it displays the same characteristic where the power supply is capped at 1A through LED but the voltage is capped at 11.4v. I’m scared that when we use a non capped power source that the 12v would give it excess current given that it can’t even follow the basics of this circuit.
would love help to determine what’s wrong with my circuit as it’s been over 3 weeks and no progress has been made.
best regards Kane.
Attachments
-
398.9 KB Views: 32
-
1.3 MB Views: 27
-
1.5 MB Views: 13

