Need help with an SCR circuit...Power saving camper (RV) LED Bulb.
Bean
Posts: 8,129
I've not used SCRs before.
I'm trying to make a circuit such that the LED1 will be on when the switch is closed after a long time (10 seconds or so) of being open (C1 and C2 are discharged).
But that the LED1 stays off if the switch is quickly opened and closed again (about 1 second of being open).
Not sure if C1 is needed or not ? I assume it is.
Is there an easier way to do this ? The LED could be a high power 1W, I would adjust R3 for that.
Any help would be appreciated.
Thanks, Bean.
P.S. I have updated the schematic on 2/12/2020.
I'm trying to make a circuit such that the LED1 will be on when the switch is closed after a long time (10 seconds or so) of being open (C1 and C2 are discharged).
But that the LED1 stays off if the switch is quickly opened and closed again (about 1 second of being open).
Not sure if C1 is needed or not ? I assume it is.
Is there an easier way to do this ? The LED could be a high power 1W, I would adjust R3 for that.
Any help would be appreciated.
Thanks, Bean.
P.S. I have updated the schematic on 2/12/2020.
Comments
When sw1 is opened the triac will stop conducting immediately regardless of the charge on c1/c2.
Thanks, Kwinn. That was my thinking exactly.
Bean
SCR gate trigger currents also are not tightly controlled, but you can buy a sensitive gate version. *
SCRs are not low-drop switches, but that may be ok here ?
* A quick check, finds
BT258S-800LT 800V 8A with trigger range : 20 ~ 50 µA = overkill, but has tight Igt and low VF
EC103D1W 400 0.8A with trigger 3 ~ 12 µA
NCR100W 1.1A 15 - 50 µA (cheaper, might be ok ?)
With care, you may be able to omit C1.
In that case you would tune the Rgk resistor to narrow down the Igt, and make it so the dV/dT difference between the short & long breaks is defined enough.
Spice may help here to centre the trigger point with the tolerances present in SCR1 C2 etc
This has 2k2 Rgk, which is roughly 350uA of offset current, that reduces trigger variation % to (350uA +15~50uA) taking NCR100W
With the values shown
12V: 1.85s triggers 1.75s no trigger
24V: 0.825s triggers 0.80s no trigger
Yes, I think that is what Bean wants.
The single Switch becomes dual operation, based on time pressed. Very simple user interface.
I think I’m not understanding the requirement as stated:
I'm trying to make a circuit such that the LED1 will be on when the switch is closed after a long time (10 seconds or so) of being open (C1 and C2 are discharged).
But that the LED1 stays off if the switch is quickly opened and closed again (about 1 second of being open).
As jmg stated, a gate discharge resistor is needed and the LTSpice model simulates that well (the diode is not required, it's just for the sim). I am guessing that if it is turned off, then it requires C2 to discharge sufficiently before the circuit can be turned on again.
I took 10 sec to mean the recovery time, so that a short break pulse (1s) is OFF, and a longer break pulse (10s) is ON, at release time.
That's what the spice circuit above checks.
10k is over 1mA, so that's enough for the 200uA and 50uA Igt SCRs
You could also make a SCR using DUAL P+N FETS, and those have more compact package choices (not sure if that matters here) and with those you can also wire to avoid the ~1V-loss that SCRs suffer from.
This is for a LED bulb for a camper (RV).
When only battery power is available, it is important to conserve power.
The idea is that the bulb has a low-power LED that is will always come on when the switch is closed (not shown in my circuit).
When you first turn the switch on, the both the main LED (my circuit) and the low-power LED will come on.
But if you don't need bright lights, you can flick the switch quickly "off and on" to get just the lower power light (main LED will be off).
If you want bright lights again, just turn the switch off for longer (10 seconds or so) then back on.
This avoids having any buttons or such on the bulb, which you would not be able to get to anyway. And does not require any rewiring of the camper.
I hope the above makes sense. Please ask if you have any questions.
I'm trying to do this as simply and cheaply as possible because I want to make it easy for others to build. Also you will probably need about a dozen or so for each camper.
Keep the ideas coming,
Thanks, Bean
P.S. I have updated the schematic.
What a great idea Bean, thanks for posting it. I am in the process of restoring an old trailer so I can do a little roaming in the summers and will be making use of that circuit.
Doh! Looking back at your circuit with the LED running directly from the supply through a small resistor means you are not worried about efficiency. Just use an SCR
Addit - Spice gives these windows for 12V & 24V tests :
12V: 1.85s triggers 1.75s no trigger
24V: 0.825s triggers 0.80s no trigger
Do you plan SMD, or thru-hole(ish) design here ?
The BT258S-800LT I mentioned above looks a good fit for 'largely unknown' loads. They have sub 1mA holding typicals, and a narrow (for SCRs) Igt span.
One benefit of this circuit, is users can self-adapt to timing variations but it would be nice to limit unit-unit variations.
The worst tolerance part is likely to be the cap, ±20% is common for Aluminum Electrolytic Capacitors, ±10% are rare in SMD elcos.
A badge tolerance of ±10% is common in ceramic caps, but their voltage tolerance is not great, tho I'd guess that can be calibrated for.
The only SCR I have is a radio shack 276-1662. The only info I have for it is on the package:
RMS On-State Current IT (RMS): 1 amp
DC Gate Trigger Current IGT: 100uA
That is it. I can't find anything on the web about it either. But I guess it will be okay for testing purposes.
Bean
Initial triggering is determined by the dV/dt across capacitor C2 when it is in a discharged state. In the existing circuit, dV/dt is limited by R1, which has to have a low enough value to provide the gate turn-on current of ~100µA,. That is another reason to include a diode in series with R1, to avoid the dependence on holding current and free up the value of R1. R1 could be lower resistance and C1 might not necessary. I do think a resistor <1kΩ from the SCR gate to cathode is necessary in order to let C2 discharge completely through the 1MΩ R2.
Thanks for the clarification of the goal. I like bare to the metal solutions like that!
I just added diode to spice, being lazy to allow a simple pulse generator to emulate a switch.
I chose 2k2 for the gate resistor, as you do not want to lose too much trigger current thru that path, but some current helps narrow the trigger range down.
2k2 is ~ 350uA so stabilizes the trigger point of a < 100uA SCR.
You can also think of the 10K : 2k2 as a divider, such that over ~ 3.3V is needed to hit the gate voltage threshold, plus 1V more to hit 100uA.
Another, somewhat hidden time-constant is R1-C2, that needs to be long enough to still have current flow after the switch debounce finishes.
10k,10uF is ~100mS, which should be plenty.
The red path flows through R1 and around through the SCR. That path drops out as soon as the red current drops below the SCR's holding current.
The path shown in blue is the slow discharge, and it needs R3, because otherwise the gate-cathode junction of the SCR blocks the flow in that direction.
Adding the diode shown in yellow in series with R1 would eliminate the fast discharge path and would allow a relaxed selection of values for R1 R2 R3 and C. It may be that the current through R1=10k is already below the holding current of the SCR in question, but there is a lot of variation in SCRs.
Remember the SCR includes the LED load, which will be a few LEDs in series, so the current fall-off will be zener-like.
but you are correct that LED load pathway is largely unknown, and if you wanted to remove field unknowns of LED loads (eg some may be SMPS), then a series small signal diode isolates R1, and makes the break-timer elements essentially R2 and C2.
If the (somewhat unknown) LED load includes a supply cap, that can still disturb things.
I changed it so that when it is in "power saving mode" it just adds another LED to the string instead of having a seperate LED for "dim" mode.
This works but has the interesting operation that it always starts "dim" for about 1/2 a second before it goes bright. Not sure why that is happening, but I think it is a good thing.
Uses about 50mA in high power mode and about 16mA in low power mode.
Comments welcome.
Bean
Did you find C1 was needed ?
With the C2:C1 split you have there, the current from R1 is going to split between C1 & C2, so the ~ 250uA is going to be maybe 25uA into the gate.
If vC2 is 0, vC1=0, there is a 50ms delay until C1 gets to Vg, and if vC2 residual is -1V, that is ~ 150ms.
With no R2 the fast-discharge value of C1 is determined by the led forward drops, but there is a 22 second time constant of R3.C1 to eventually discharge C1 to ~ 0.5v.
It uses 4 green LEDs I had on hand, and turns them on in series at 70mA. If the switch is subsequently turn off but turned on again within 5 seconds, the SCR does not re-fire, and the LED are dim at 13mA through the 330Ω resistor R5 in parallel with the SCR. This uses only the one capacitor, but I did verify my hunch that the small signal diode in series with R1 is necessary to achieve the long refractory interval. With that diode in place to block the reverse current through R1, the choice of the other components is forgiving.
I thought I'd look for a variant design that can use a Power MOSFET instead.
See attached for a design using Complementary Pair Bias Resistor Transistors R1 = 47k, R2 = 47k (SOT-363 package MUN5313DW1 are 4c/3k)
This is still SCR in nature, just built using dual biased transistors. D2.R2 and D3.R3 are another MUN5313DW1, wired as series Diode+resistor(B-C).
BOM is 2 active packages + RC timing element + MOSFET.
I think there is also another solution using 74LVC1G175 (D-FF,/R) + MOSFET, but that needs a regulator of some sort (LED maybe or zener?)
PUTs differ from SCRs, in that the gate is middle N instead of the middle P in the PNPN structure. It turns out that PUTs are very sensitive, having sub-microamp trigger current and mA level holding current, and that is what makes them useful in timing and trigger circuits. You don's see them used much at all these days.
Too bad, they can operate over a wide voltage range at low power. The trigger and hold currents and voltages are "programmable" through the choice of the resistors attached to the gate. The unijuction aspect is a misnomer, as it is actually a 4-layer, 3-junction device, but it does act much like a unijunction transistor where the characteristics are fixed in the silicon. Costwise, a PUT unfortunately is a more expensive, being uncommon, than jmg's pair of prebiased transistors.
Yes, just looked up UJT on Digikey, and they do come in SMD SOT23, but the price is $2.24053/3k !!
That must make it the worlds most expensive SOT23 and a reel of those needs an armoured truck
It used to be that every incandescent lamp dimmer had a PNPN triac as its control element, cheap, cheap commodity items. Then came florescent lighting, and now LED lighting, and intensity control is a hugely more complicated proposition. Triacs are going to fade away.
Still, $1 for a small sensitive gate SCR such as this one, readily available, that is not bad for a basic circuit in @Bean's RV.