Probably the most robust way is to use a relay to close the AC circuit. It won't care if the load is inductive, capacitive, or resistive. You can get pretty small 15A with 5V or 12V coil drive. It provides the mains isolation as well. You'll want to make sure to include a reversed diode across the coil to catch the inductive kick from the coil when the driver opens up.
For instance like this one from Digikey G5RL-1A-E-HR DC5. Of course there are many other styles available.
Ray
And how about a failing relay? Does it heat up? Catch fire? or simply stay open/closed?
yep I had seen that writeup, but it being my first post I wasn't allowed to post a link.
If you read through the comments there's someone saying that the circuit is good only for resistive loads and that for inductive ones in DC (which puzzled me because the writeup is about AC) you're better off with alternative solutions. That's why I started wondering whether I need something more in AC too.
No, nothing on the AC side, just switch the line voltage. The circuit pointed to by enjunear is exactly what I had in mind though there are physically smaller relays available if space is an issue.
Ray
---------- Post added at 10:09 ---------- Previous post was at 10:03 ----------
If you wanted to stay with a solid state, no moving parts type of design, you might also look at using a zero crossing opto coupler like the MOC3161 (or other in the series) with a TRAIC. Because it would switch when the AC crosses zero inductive loads are not an issue.
Just a thought.
Ray
enjunear, Except in very specialized cases you can't really control when a relay opens a circuit relative to the AC cycle. There will be times when it opens at the worst time and there will be some arcing. If the contacts are sized correctly the arcing is actually beneficial as it cleans contaminates off the contacts. If the contacts are too small the arcing can sputter away material and cause the relay to prematurely fail.
As for a zero crossing TRIAC design, a bigger problem than the heatsink is the circuit needs to be protected not from normal shutoff, after all TRIACs remain conductive until the AC falls to zero and then open, but from someone unplugging the load at the peak of the AC cycle where the back EMF from a motor or transformer could easily overvoltage the TRIAC. If you can disconnect the load manually you really need to use a snubber or MOV part to protect the TRIAC.
But I agree with you that a simple correctly sized relay is very simple and robust. And the OP was talking about controlling a pet water fountain which would be a pretty small load for a relay. I imagine a 5A rated relay could switch the fountain all day without a problem.
Ray
If it adds any reassurance, we've been switching AC loads of between 100Watts and 8kWatts with both mechanical relays and SCR based solidstate relays from microprocessors for over 20 years. I vaguely recall one relay failure (contact jammed closed) and there was one spectacular SCR failure (overheated and partially melted). These have switched a variety of loads, more resistive than inductive. Otherwise these have both been remarkably sucessful.The most likely failure mode for the relay is mechanical in nature. Either it fails to close or sticks closed. There are safety requirements for line voltage rated relays that they don't do something catastrophic when they fail.
One of the features of switching inductive loads with zero-crossing SCRs is that the highest currents may pass during times of the lowest voltage (ie during zero-crossing), so you really ought to design for worst-case currents, including short-circuited loads during the time taken to trip a MCB or fuse, I'd suggest at least double the expected maximum current rating.Well, relays are used all the time to switch inductive loads. If the load is known, a snubber circuit can be used to reduce the arcing and improve the relay life but there are other issue. But for your application pick a relay that handles a higher current than your load like a 30A relay for switching a 10A inductive load and I don't believe you'll ever have any problems.
For the enclosure, you could use an aluminium box, its easy to drill holes in these for the wires!
The question I have now is whether I can safely flange mount the relay on the prototyping board and running wires from the driving circuit onto the relay and then from the relay onto the AC lines. This should keep the AC off the board, or is isolation an issue here?
For the enclosure, you could use an aluminium box, its easy to drill holes in these for the wires!
RS | Accueil | Boîtiers et ventilateurs | Métal / Plastique | Boîtes en aluminium non peintes
You should use grommets (passe-fils) to protect your wires from the shape edges of holes.
The Circuit Breakers in your appartment (disjoncteurs) are good for protecting the wiring in the appartment, but you will need additional protection for the relay circuit. If you have chosen a 20Amp relay but (for example) you actually intend switching loads of 12Amps, then please fit a 12Amp fuse (fusible) to the live connection before it gets to the relay contacts.
Make sure if you use an aluminium box that you use a 3 prong power connection and ground the ground wire to the box. If you use a plastic box the 3 prong connection is not so important.
Ray
---------- Post added at 10:39 ---------- Previous post was at 10:25 ----------
When mixing line and logic signals always make sure you layout the circuit, be it perfboard, PCB or just flying wires, so there's a clear visual / physical seperation between line and logic circuits. You want to be able to quickly spot violations of this keep out zone, stray wires, pieces of whatever, etc. A person tends to glance over a circuit and call it good without throughly looking it over. With a specific keep out zone you can easily and very throughly say that at least that zone is clear.
Lastly it would be a good idea to ohm out between the logic power/ground and both lines to make sure it's completely open before powering it up.
Ray
Regarding the fuse. If I understand it is supposed to protect the circuit from a short circuit coming from something connected to it, right?
Now would this also protect someone from electrocution if they were the means through which the circuit is closed? For the fuse to be useful for the circuit it needs to blow before the circuit breaker does, doesn't it? I am missing some knowledge here. I thought a fuse alone would not be enough otherwise why would we have circuit breakers? Does anyone have a pointer to some information on this?
---------- Post added at 20:51 ---------- Previous post was at 20:44 ----------
very good points. If I use a plastic box what should I ground the ground wire to? Or should I just bridge it over from the input to the output sockets?
1. Comments on fusing. The wall outlet is protected at 15-20A with breaker (or perhaps a fuse) to mainly protect the wiring to the outlet and cord to the product plugged in. Products have internal fuses to protect them and those will usually blow if something goes wrong internally. If you get a short in your project the line protection (breaker) will allow for much more current than the 15 or 20A rating and may produce some very exciting fireworks before the breaker opens. If the breaker is a GFI type then you won't get fireworks if the short is to ground but you could get them if a line to line short develops.
On the other hand if your project only requires an amp or two adding a 5A fuse can substantially reduce the fireworks and add local protection. But these protections are mainly for fire and do not protect from electrocution.
2. Comments on the ground wire. If you have a plastic box then just jumpering the input ground to the output ground is fine for the minimum. Personally I usually connect the line ground to my circuit ground. The idea there is if some line isolation fails the line current will be returned to ground, albeit through my low voltage circuitry. That's the safest setup from the human prospective. There are lots of products without 3 prong plugs but they follow strict safety guidelines in their design, something we are not as likely to do.
Ray
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?