Author Topic: TRIAC based on/off circuit showing flash problem with LED lamp  (Read 12234 times)

0 Members and 1 Guest are viewing this topic.

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
TRIAC based on/off circuit showing flash problem with LED lamp
« on: February 28, 2017, 06:35:06 am »
I had made a circuit to turn load on and off using a TRIAC.
It all worked fine until the load was resistive or inductive.

As soon as I connected a LED lamp to the circuit all problems started coming in to the circuit. When the TRIAC was off. The LED lamp started to flash every few seconds with each flash becoming
brighter than the one before it.

So when I read about it in eevblog forum. I found a post where Mr. SeanB had said
" LED lamp with a TRIAC can cause issues of flashing when off, as the slight leakage current through the snubber capacitors can be enough to charge the power supply in the lamp up to startup, which will make the lamp either flicker when off, or flash every few seconds."

But I could not find a solution to it being supplied in the post or across the forum that I could find.

So if you guys could help me with the same. I really appreciate it and thankful for your time.

Here is the modification I did from the schematic. I used the earth as the return for voltage resistor circuit for voltage sensing even though I knew the earth is such a bouncy return path.
Also I removed one of those 100nf capacitors in the 5V stability correction.

Also instead of the 360 ohm resistor and 470 setup changed it to the MOC 3021 datasheet recommended 180 ohm and 2.4k combo resistance along with the 0.1uf X rated capacitor.

Looking forward for you instructions to recitify the issue.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #1 on: February 28, 2017, 06:37:10 am »
Following is the circuit used for the opto coupler 3021
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1962
  • Country: us
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #2 on: February 28, 2017, 07:15:51 am »
re you talking about a  you build it LED or a commercial LED LAMP.  I use <19W E27 lamps as night lights sometimes by putting a .1uf or smaller in series with the lamp.  Depending on the electronics inside, I get a nice low power lamp, it flashes, or doesn't turn on at all. All in series triac circuits have leakage issues. A good size RC (100ohm .47uF) across the lamp may solve some issues.
 
The following users thanked this post: getfast_kiran

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 8112
  • Country: ca
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #3 on: February 28, 2017, 07:31:06 am »
As a test, can you try the circuit without the snubber cap?
Without the opto & add a resistive load on the gate to ensure it's off...

 
The following users thanked this post: getfast_kiran

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #4 on: February 28, 2017, 08:41:54 am »
As a test, can you try the circuit without the snubber cap?
Without the opto & add a resistive load on the gate to ensure it's off...


As you told I removed the Snubber capacitance from both the TRIAC and the optocoupler.  Now the LED is perfectly off for nearly 1 hour.

Should I do the second part with opto completely removed.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #5 on: February 28, 2017, 08:43:55 am »
When I removed the snubber capacitance of the optocoupler. I also shorted the 2.4k resistor part. Hence only that  resistance R is present in the optocoupler triac path
to the gate of the Driven Triac.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #6 on: February 28, 2017, 08:46:13 am »
As a test, can you try the circuit without the snubber cap?
Without the opto & add a resistive load on the gate to ensure it's off...


As you told I removed the Snubber capacitance from both the TRIAC and the optocoupler.  Now the LED is perfectly off for nearly 1 hour.

Should I do the second part with opto completely removed.

Also since I plan to switch inductive loads also with the same...I will need this snubber circuit to the optocoupler. So is there a solution that might fulfill both the inductive load problems and LED bulb problems.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #7 on: February 28, 2017, 10:21:37 am »
https://www.mathiselectronics.com/amp-clamp

How is the Amp-Clamp better? The Amp-Clamp shunts all leakage current away from the load, thus completely resolving all the above listed problems.  It is also multi-volt.  It can be used with controllers of any voltage from 24 to 120v.  Simply insert the Amp-inator into your output circuit and the leakage current no longer appears at the load.  Also, the Amp-Clamp only increases the “on” mode energy consumption by 0.14W, and it doesn’t get hot.  Seriously!  It operates at only a few degrees above ambient temperature.

found this as a solution of 120V AC only.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #8 on: February 28, 2017, 12:19:57 pm »
re you talking about a  you build it LED or a commercial LED LAMP.  I use <19W E27 lamps as night lights sometimes by putting a .1uf or smaller in series with the lamp.  Depending on the electronics inside, I get a nice low power lamp, it flashes, or doesn't turn on at all. All in series triac circuits have leakage issues. A good size RC (100ohm .47uF) across the lamp may solve some issues.

I will retry with the RC of 100 ohm and 0.47uf. But the thing is as fellow eevblog forum mate told me When I removed the snubber all together the problem got solved and there is not flickering or flashing.
But I need this circuit to operate with inductive load. So I will need a snubber circuit eventually.  So do you think this particular value of snubber will help me with the issue.
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #9 on: February 28, 2017, 12:33:20 pm »
Is there a reason why you need to use the triac? A simple relay would do the job fine, I believe.
Safety devices hinder evolution
 
The following users thanked this post: getfast_kiran

Offline madires

  • Super Contributor
  • ***
  • Posts: 8167
  • Country: de
  • A qualified hobbyist ;)
 
The following users thanked this post: getfast_kiran

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1962
  • Country: us
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #11 on: February 28, 2017, 01:05:00 pm »

I will retry with the RC of 100 ohm and 0.47uf. But the thing is as fellow eevblog forum mate told me When I removed the snubber all together the problem got solved and there is not flickering or flashing.
But I need this circuit to operate with inductive load. So I will need a snubber circuit eventually.  So do you think this particular value of snubber will help me with the issue.

The snubber should be across the LOAD.  That absorbs the leakage from the triac circuit.
 
The following users thanked this post: getfast_kiran

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 8112
  • Country: ca
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #12 on: February 28, 2017, 01:20:54 pm »
You can get snubberless TRIACs and snubberless TRIAC driver optocouplers:
- http://www.st.com/content/ccc/resource/technical/document/application_note/ca/ef/9d/1e/4a/9f/47/69/CD00003865.pdf/files/CD00003865.pdf/jcr:content/translations/en.CD00003865.pdf
- https://www.fairchildsemi.com/collateral/Snubberless-TRIAC-Drive-Optocouplers.pdf

These solutions wont work since they still have a resistor/cap snubber across the output triac, even if they don't have one across the opto-triac output driving the power triac's gate.  It is the current leaking across this cap and resistor which eventually builds up a charge in the LEDs power supply making it pulse on, then discharge it's internal cap.

There isn't much that can be done other than getting rid of the common snubber all together and finding an alternative route to switching the AC.  Now, I have a method using a power mosfet and AC-DC bridge rectifier, but, it's something like a 10 component solution and you need to switch the optocoupler on only during the 0 crossing phase of the AC & you also need both access to the hot and neutral.
 
The following users thanked this post: getfast_kiran

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19972
  • Country: gb
  • 0999
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #13 on: February 28, 2017, 01:35:41 pm »
As a test, can you try the circuit without the snubber cap?
Without the opto & add a resistive load on the gate to ensure it's off...


As you told I removed the Snubber capacitance from both the TRIAC and the optocoupler.  Now the LED is perfectly off for nearly 1 hour.

Should I do the second part with opto completely removed.

Also since I plan to switch inductive loads also with the same...I will need this snubber circuit to the optocoupler. So is there a solution that might fulfill both the inductive load problems and LED bulb problems.
If you can't put the snubber across the load, then you need to put a transient over voltage protection diode in parallel with the TRIAC. Hopefully it won't leak enough current to cause the LED to light.
 
The following users thanked this post: getfast_kiran

Offline madires

  • Super Contributor
  • ***
  • Posts: 8167
  • Country: de
  • A qualified hobbyist ;)
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #14 on: February 28, 2017, 03:56:19 pm »
These solutions wont work since they still have a resistor/cap snubber across the output triac, even if they don't have one across the opto-triac output driving the power triac's gate.  It is the current leaking across this cap and resistor which eventually builds up a charge in the LEDs power supply making it pulse on, then discharge it's internal cap.

STMicroelectronics Application Note 437: http://www.victronics.cl/index.php?option=com_docman&task=doc_view&gid=110&Itemid=4
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #15 on: March 01, 2017, 06:30:21 am »
Yes I wanted to use Triac expecting it to deliver more life than the HIGH current mechanical relays. Do you think it justifies the cause.
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #16 on: March 01, 2017, 07:46:34 am »
Yes I wanted to use Triac expecting it to deliver more life than the HIGH current mechanical relays. Do you think it justifies the cause.

Can't tell that without knowing your constraints. In general - it depends.
Mechanical relays are quite often used for such purposes, if chosen correctly I'd expect a life of >= 20 years and >= 100000 switching cycles for a standard power relay.
For example - the relays controlling the gas furnace and water pumps in my home heating system are switching on and off  10 ... 100 times per day and is expected to do this for more than 20 years.
If handled incorrectly, the relay may fail at first turn-on. A too large inrush current can weld the relay contacts together, exceeding the max. specified load may burn the contact at turn-off.
Safety devices hinder evolution
 
The following users thanked this post: getfast_kiran

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19972
  • Country: gb
  • 0999
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #17 on: March 01, 2017, 08:42:02 am »
Yes I wanted to use Triac expecting it to deliver more life than the HIGH current mechanical relays. Do you think it justifies the cause.
As stated above, a TRIAC isn't guaranteed to last longer than a mechanical relay.

Mechanical relays are expected to last a certain number of cycles before the contacts wear out. Semiconductor switches, such as TRIACs don't have that limitation, which makes them attractive in applications with more frequent switching than relays. Semiconductors are also more resistant to mechanical shock and vibration than mechanical switches.

On the other hand, mechanical switches, such as relays, can be electrically more robust than semiconductors. They wont be destroyed by ESD and can withstand over voltage and over current for longer than semiconductors. It's also possible to build relays which work at higher temperatures and are more resistant to ionising radiation than semiconductors.
 
The following users thanked this post: getfast_kiran

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #18 on: March 02, 2017, 08:21:45 am »
Thank you both for that huge helpful info on mechanical relays. I forgot to mention the requirement of low height clearance of the circuit and space requirements.

So could you guys please help with the same without the need to replace the Triac ??
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #19 on: March 02, 2017, 08:26:36 am »
You can get snubberless TRIACs and snubberless TRIAC driver optocouplers:
- http://www.st.com/content/ccc/resource/technical/document/application_note/ca/ef/9d/1e/4a/9f/47/69/CD00003865.pdf/files/CD00003865.pdf/jcr:content/translations/en.CD00003865.pdf
- https://www.fairchildsemi.com/collateral/Snubberless-TRIAC-Drive-Optocouplers.pdf
I am using a snubberless TRIAC but the optocoupler is not snubberless will try it with a snubberless optocoupler in the future. For the time being
please do help me with solution confined to snubberless TRIAC BTA16 and non snubberless optocoupler 3021.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #20 on: March 02, 2017, 08:30:24 am »

I will retry with the RC of 100 ohm and 0.47uf. But the thing is as fellow eevblog forum mate told me When I removed the snubber all together the problem got solved and there is not flickering or flashing.
But I need this circuit to operate with inductive load. So I will need a snubber circuit eventually.  So do you think this particular value of snubber will help me with the issue.

The snubber should be across the LOAD.  That absorbs the leakage from the triac circuit.
Could you give or point me towards a schematic that contains a snubber across the LOAD. Is the value of the snubber circuit the same.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #21 on: March 02, 2017, 08:32:43 am »
You can get snubberless TRIACs and snubberless TRIAC driver optocouplers:
- http://www.st.com/content/ccc/resource/technical/document/application_note/ca/ef/9d/1e/4a/9f/47/69/CD00003865.pdf/files/CD00003865.pdf/jcr:content/translations/en.CD00003865.pdf
- https://www.fairchildsemi.com/collateral/Snubberless-TRIAC-Drive-Optocouplers.pdf

These solutions wont work since they still have a resistor/cap snubber across the output triac, even if they don't have one across the opto-triac output driving the power triac's gate.  It is the current leaking across this cap and resistor which eventually builds up a charge in the LEDs power supply making it pulse on, then discharge it's internal cap.

There isn't much that can be done other than getting rid of the common snubber all together and finding an alternative route to switching the AC.  Now, I have a method using a power mosfet and AC-DC bridge rectifier, but, it's something like a 10 component solution and you need to switch the optocoupler on only during the 0 crossing phase of the AC & you also need both access to the hot and neutral.

Do you have a schematic of the 10 component solution. I would like to test it if there is no other solution since I will have to light a LED lamp eventually.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #22 on: March 02, 2017, 08:34:48 am »
As a test, can you try the circuit without the snubber cap?
Without the opto & add a resistive load on the gate to ensure it's off...


As you told I removed the Snubber capacitance from both the TRIAC and the optocoupler.  Now the LED is perfectly off for nearly 1 hour.

Should I do the second part with opto completely removed.

Also since I plan to switch inductive loads also with the same...I will need this snubber circuit to the optocoupler. So is there a solution that might fulfill both the inductive load problems and LED bulb problems.
If you can't put the snubber across the load, then you need to put a transient over voltage protection diode in parallel with the TRIAC. Hopefully it won't leak enough current to cause the LED to light.

Could you please send me the specs of the Transient Over voltage protection diode. ... to be added in parallel to TRIAC.
 

Offline getfast_kiranTopic starter

  • Regular Contributor
  • *
  • Posts: 92
  • Country: in
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #23 on: March 02, 2017, 08:36:51 am »
These solutions wont work since they still have a resistor/cap snubber across the output triac, even if they don't have one across the opto-triac output driving the power triac's gate.  It is the current leaking across this cap and resistor which eventually builds up a charge in the LEDs power supply making it pulse on, then discharge it's internal cap.

STMicroelectronics Application Note 437: http://www.victronics.cl/index.php?option=com_docman&task=doc_view&gid=110&Itemid=4

Why did you give reference to the particular application note.... I did not understand the reason behind it. Could you please explain.
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: TRIAC based on/off circuit showing flash problem with LED lamp
« Reply #24 on: March 02, 2017, 08:59:03 am »
For a simple attempt:
leave your circuit as it is and place a resistor from its output to the neutral line. This should divert the snubbers leakage from the LED lamp.

In other words: Put that resistor (for example 22k, 3W, 250V rated) across the lamp. That should stop the flashing for the price of significant power dissipation in that resistor (you do not want that, but it is a quick fix).

For a better attempt:
change the values of the 100n caps (C9, C4) in your circuit to 10n. These cause the leakage that causes the LED lamp to flash. If the LED is still flashing, put a 100k Resistor across the lamp. This way you'll have less power dissipation and smaller components, but you need to check if the snubber is still effective enough.
Safety devices hinder evolution
 
The following users thanked this post: getfast_kiran


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf