Author Topic: Using the MOC3010 In a light dimmer circuit application  (Read 1359 times)

0 Members and 1 Guest are viewing this topic.

Offline jwhitmoreTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: 00
  • Software head strays into the Hardware.
Using the MOC3010 In a light dimmer circuit application
« on: January 19, 2020, 11:44:53 am »
I'm not sure I understand things well enough to formulate a decent question, but here goes...

I'm trying to make a Mains AC light dimmer circuit using the MOC3010 [1]. I decided that there might be some inductance in the lights so I opted for the example circuit in figure 12 of that datasheet [1]. I used a BTA16 as the TRIAC [2]

I did forget to put a current limiting resistor between my micro-controller and the MOC3010, but I'd have thought that the dimmer part of the circuit should still function. At present sending a square wave to the MOC3010 doesn't dim the light/load at all. The datasheet [1] does have both a high side switch arrangement (Figure 13) and the low side switch (figure 12). Should I have used the high side switch example?

I should maybe say that I have a zero crossing circuit using a H11AA1 chip, so my micro-controller is detecting the zero crossing but I'm not using a full bridge rectifier in the circuit at all. I didn't think I needed it as the light bulbs are AC bulbs anyhow. I've a small module which converts the Mains AC down to 5V DC to supply the micro-controller and that's all there is. I've been sitting on this for a week trying to find some clue as to why the circuit in the datasheet doesn't function, perhaps I have to wrong TRIAC chip?

On that thought it is a 'logic level' TRIAC so possibly I should not be using the MOC3010, but rather a simple opto-coupler with the BTA16 and forget the MOC3010. Aragh is that it I've put two devices together which don't match up?

[1] http://www.farnell.com/datasheets/2287694.pdf
[2] http://www.farnell.com/datasheets/1699992.pdf
 

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2086
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #1 on: January 19, 2020, 12:23:33 pm »
Could you provide a circuit/schematic of what you have made?

I did forget to put a current limiting resistor between my micro-controller and the MOC3010,

So there's a chance that either the micro or the MOC, or both are damaged ? Can you test the operation of the micro's output? Can you test the LED in MOC ? - it should "bleep out" like any other LED would with DMM.

Quote
At present sending a square wave to the MOC3010 doesn't dim the light/load at all.

Do you mean the light is on and does not get any darker, or that the light is off and doesn't get any brighter?
 
The following users thanked this post: jwhitmore

Online wraper

  • Supporter
  • ****
  • Posts: 16867
  • Country: lv
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #2 on: January 19, 2020, 12:32:30 pm »
Quote
At present sending a square wave to the MOC3010 doesn't dim the light/load at all.
Does it stay ON all of the time even without triggering signal or does it not switch ON? What is your mains voltage? If it's 230V MOC3010 will fail to work properly.
Quote
Should I have used the high side switch example?
Does not matter.
Quote
I should maybe say that I have a zero crossing circuit using a H11AA1 chip
Did you actually check zero cross and output signals with oscilloscope?
 
The following users thanked this post: jwhitmore

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2086
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #3 on: January 19, 2020, 09:22:38 pm »
If you have followed fig 12 on the datasheet, have you allowed for the fact that the MOC will be activated by the output of the micro being LOW? I.e. the signal sense is inverted.
 
The following users thanked this post: jwhitmore

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #4 on: January 19, 2020, 09:27:03 pm »
Also note that MOC3010 is only suitable for 115V mains applications. Not suitable for 230-240V mains.

(good to note, as you do not have a flag displayed in your profile)
 
The following users thanked this post: jwhitmore

Offline jwhitmoreTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: 00
  • Software head strays into the Hardware.
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #5 on: January 22, 2020, 11:35:17 am »
Thank you all for your help, and thanks for pointing out that the MOC3010 does not work in 240V Mains AC Voltage. Yes I am in 240 V land and I've looked at the datasheet again and again. I see that the figures I was using to have to AV Supply Voltage specified, but I'd looked at the 'Off-State Output Terminal Voltage' of 250V and wrongly assumed that meant the MOC3010 could handle 240V AC. Reading Datasheets is something I'm still struggling with so many parameters and obviously not all of them fully understood.

I've relaid out the circuit with current limiting resistors in place and I'll order up the MOC30120 part.

Thanks again for all your help, sorry I got that so wrong :(
 

Online wraper

  • Supporter
  • ****
  • Posts: 16867
  • Country: lv
Re: Using the MOC3010 In a light dimmer circuit application
« Reply #6 on: January 22, 2020, 03:12:09 pm »
Thank you all for your help, and thanks for pointing out that the MOC3010 does not work in 240V Mains AC Voltage. Yes I am in 240 V land and I've looked at the datasheet again and again. I see that the figures I was using to have to AV Supply Voltage specified, but I'd looked at the 'Off-State Output Terminal Voltage' of 250V and wrongly assumed that meant the MOC3010 could handle 240V AC. Reading Datasheets is something I'm still struggling with so many parameters and obviously not all of them fully understood.

I've relaid out the circuit with current limiting resistors in place and I'll order up the MOC30120 part.

Thanks again for all your help, sorry I got that so wrong :(
240V AC means around 340V peak, not including increased mains voltage and transients. I also don't suggest using even optocouplers rated for 400V. That's too small margin and I've seen countless troubles with them, like when they are starting to randomly switch on, especially at elevated temperatures. Much safer to use optocouplers which are rated for 600V.
« Last Edit: January 22, 2020, 03:15:02 pm by wraper »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf