Triac Control Via MCU Questions

Thread Starter

Cookieman10101

Joined Jul 18, 2019
22
Hello all, this is my first thread post.

So I'm modifying a table top oven to be digitally controlled by a pid loop using an Arduino nano. I just have a few questions about triac Control.

I'm aware I need to isolate the mains from the MCU using an optocoupler. I have this one
78-VOT8121AD
A rough schematic of what I think will work is attached.
I want to know how to calculate R2 in this circuit in order to switch the triac on early in the half cycle, and also, to not push too much current through the phototriac in the optocoupler. Also, I read somewhere that you can tie the gate of the main triac to the MT1 pin through a resistor in order to "keep the triac from switching when it's not supposed to". I'd like to know how that works.

Thanks!
 

Attachments

Thread Starter

Cookieman10101

Joined Jul 18, 2019
22
Mrchips. The solid state relay sounds like a fine idea! Although I currently am still interested in reinventing this particular wheel, haha.

Dodgy Dave. I should've clarified I'm not making a dimming circuit. All I want to do is switch on and off, so I shouldn't need a zero cross detector.

And about other optocoupler chips, what's wrong with the one I have? Is it the maximum current through put on the output?
 

Thread Starter

Cookieman10101

Joined Jul 18, 2019
22
I plan to switch on and off and very low frequency. Just about 1 or 2 seconds a cycle. From my understanding, zero cross is for high frequency switching and or dimming right?
 

MaxHeadRoom

Joined Jul 18, 2013
28,702
No, you want to switch at the zero crossing point, as I understand it.
Dimming uses the random phase version.
The Fairchild AN-3006 explains it as I quoted.
Max.
 

Thread Starter

Cookieman10101

Joined Jul 18, 2019
22
Oh, thank you for setting me straight, I had them backwards! So what about calculating the current limiting resistor? Basic ohms law? Also with a random phase optocoupler, would the rating of that resistor affect at what voltage the triac switched?
 

Alec_t

Joined Sep 17, 2013
14,337
Even for low frequency burst mode, or simple on/off, switching off at the zero-cross point should result in less interference generation from inductive voltage spikes.
 
Top