I'm making a project at school (Musical lights). I wanted to power the lights with 230VAC from the wall, so I made a circuit that through a TRIAC would dim the lights depending on the loudness of the music (louder music=brighter lights) I have tested parts of my design separately and it seems to work. The problem is that using 230VAC on a circuit board rises some safety issues. 2 teachers at my school were too afraid to dabble with AC, but luckily one decided to help me. While I believe in the wisdom of my teachers, I think I should also do as much research on the matter as possible myself.
It seems that I have 2 demons to defeat, creepage and clearance distances. The official standards and requirements for safety certifications ( CE for example ) are hard to find, and what can be found seems a bit confusing, so at the very least I'd like to have someone confirm that what I have gathered is correct. I'd post a picture of my schematic, but sadly I've made it with proteus 8, which isn't free, so I cannot access my design outside of school. The part using AC is very simple at least. only 1 component gives me concern and that is the TRIAC. I have decided to use TIC126 and its legs are quite close to each other. There are 4 channels, so 4 lamps, 4 TRIACs and every triac has a fuse of 1A in front.
What I have found so far:
According to creepage.com: Clearance: 1.5mm , Creepage: 0.6mm
From another site I get Clearance 1.5 mm, Creepage: 2.5mm
using larger clearance and creepage distances than required doesn't have a downside, but the distance between the TRIACs solder pads is 1mm, so I'd really have to bend those legs further apart, and that doesn't help with the distance between the legs as they enter the body of the triac case, as the cannot be bent further apart there.
Another question I have:
If the triac drops the voltage by 1V and there's a 1A current rushing through, there would be 1W passing through the TRIAC, Do I need a tiny heatsink for that? The datasheet: **broken link removed**
is the average gate power dissipation what determines how many W it can handle?