Discuss Sensor to detect when a light is turned on in the UK Electrical Forum area at ElectriciansForums.net

Reaction score
1
Hi,

I'm looking for something rather specific and I don't know if it exists or not.

I'm trying to plan a system that allows the lighting circuits in a house to be powered by a solar system and a small inverter when the battery has enough power, and will revert to a mains supply if the battery is empty. I have all this designed already.

The light bulbs will all be LED filament designed for mains AC to allow switching between the two.

When the inverter is turned on it still draws just under 5W even with no load. I'm hoping to find something that can detect when an LED light is turned on and send a signal to a relay that will turn the inverter on, that way it will only be powered up when a current is required.

Some inverters have an ECO mode where they will check for current draw every second or two, but that is no use since when the inverter is off the lights will simply draw from the mains.

If it was just normal filament bulbs then something like measuring resistance or continuity across live and neutral would work, but since the LED bulbs will be using a transformer and rectifier in each bulb I'm not sure this would work.

1. Does anyone have any ideas? Is this possible?

All I've been able to come up with so far is measuring current drawn through the circuit and having a relay turn the inverter on when anything is drawn.

2. I can't run the whole circuit (max probably 250W) through the coil in series, so would I need a micro controller connected to an ammeter to measure and activate the relay or is there a more direct way of doing this?

When a light is first turned on it would be powered by mains for a moment before the inverter kicks in and takes over. This might cause a tiny dark flash.

3. Could this be avoided, possibly by placing a capacitor across live and neutral (with a discharge resistor of course)?

Thank you in advance.
 
A thought relating to question 2. Can I add an AC coil relay in parallel to the live on the lighting circuit? That way the main current will go through the normal wire, and just enough will pass through the coil to activate the relay.
This would of course mean that the wire has to stay live during the switching over process, other wise the relay would turn off again straight after activating.
 
A thought relating to question 2. Can I add an AC coil relay in parallel to the live on the lighting circuit? That way the main current will go through the normal wire, and just enough will pass through the coil to activate the relay.
This would of course mean that the wire has to stay live during the switching over process, other wise the relay would turn off again straight after activating.
Right, OK , and.
 
2: If you want to detect AC current flow in a wire, these might do the job:
EC Products - Building Management, Peripherals and Controls - Hounslow, Middlesex, UK. - https://www.ecproducts.co.uk/productdetail.asp?cat=4&item=1&pid=2144
or
Single Range AC Current Operated Switches - http://www.lamonde.com/acatalog/Single-Range-AC-Current-Operated-Switches.html

You run the wire multiple times through the core if you want to improve the sensitivity.

3: You can't use a capacitor to hold up an AC supply.
 
I don't know whether this is an existing lighting system or a new project, if it is yet to be wired it would be a simple matter to include an additional pair wired from each switch or light through a relay arrangement and use this to tell the inverter when a load is switched on.
Seems a lot of effort to save a few polar bears though.
 
Hi,

I'm looking for something rather specific and I don't know if it exists or not.

I'm trying to plan a system that allows the lighting circuits in a house to be powered by a solar system and a small inverter when the battery has enough power, and will revert to a mains supply if the battery is empty. I have all this designed already.

The light bulbs will all be LED filament designed for mains AC to allow switching between the two.

When the inverter is turned on it still draws just under 5W even with no load. I'm hoping to find something that can detect when an LED light is turned on and send a signal to a relay that will turn the inverter on, that way it will only be powered up when a current is required.

Some inverters have an ECO mode where they will check for current draw every second or two, but that is no use since when the inverter is off the lights will simply draw from the mains.

If it was just normal filament bulbs then something like measuring resistance or continuity across live and neutral would work, but since the LED bulbs will be using a transformer and rectifier in each bulb I'm not sure this would work.

1. Does anyone have any ideas? Is this possible?

All I've been able to come up with so far is measuring current drawn through the circuit and having a relay turn the inverter on when anything is drawn.

2. I can't run the whole circuit (max probably 250W) through the coil in series, so would I need a micro controller connected to an ammeter to measure and activate the relay or is there a more direct way of doing this?

When a light is first turned on it would be powered by mains for a moment before the inverter kicks in and takes over. This might cause a tiny dark flash.

3. Could this be avoided, possibly by placing a capacitor across live and neutral (with a discharge resistor of course)?

Thank you in advance.
Hi and welcome to the Forum !
I think you will need a computer based monitoring system to detect when a switch is thrown. But you might as well have put a bigger battery in and put up with 5W idle current of the inertor. Or have that light switch start the invertor, then the light etc.
 
Not forgetting that whatever circuitry is used to look for the signal to power up the inverter will itself draw current.

Nothing is Free.
 
Thanks Handy, those look perfect. I think they'll do the job.

I theory I need to be able to pick up 20 mA current (4W (lowest power LED bulb that will be used)/240V = 17mA, plus a little for efficiency.

It's not a new project, it's to be retrofitted to an existing lighting system in a house.
Although it's a reasonable amount of work designing and planning, once that is done there are a few places that will use the same system so I think worth it in the long run. Also power cuts aren't that unusual, especially in winter, so having a lighting system that won't die along with everything else is another benefit.

Although whatever sensor is used to power the inverter will use some current, I think it will be less than the 5W idle draw.
 
I'm also thinking of adding an arduino to monitor energy usage per day that is drawn from mains vs solar, to give an idea of how well the solar capacity is holding up to the demand.

This part is partly an excuse to add an arduino since I'm gradually learning how to program them, but only as needs arise. If I end up using an arduino to activate the inverter via a non contact ammeter, I can add a voltmeter and use that same arduino to do the data logging as well.
 
Is there anything that can be used to keep the AC circuit energised while the relay is switching? It will be likely a max of about 0.5J needed (based on 0.1s switching time), such a small amount of energy but it's not worth going UPS to cover it.
 
Renewable energy policy database and support: France - http://www.res-legal.eu/search-by-country/france/

It seems to me you are in danger of over complicating matters and will have technical difficulties maintaining uninterrupted lighting during switch-over between mains and PV. I think the best solutions are generally the simple ones using tried and tested technology.

Why not use the classic PV installation which has a PV powered inverter feeding into the mains and metered? France has a feed in tariff - see link above. Such systems are available, reliable and safe. And they are maintainable and familiar to homeowners and electricians. Such an installation would feed all appliances not just the lighting.
 
hi
use to install a lot of immersun units few years ago might be worth having a look at using something like one of these although these were used for monitoring PV going back to the grid & then turning on an Immersion heater, might be able to adapt something like this using the current sensor around the lighting supply cables or even have the lights you want to use on one board & clamp the supply tails to that board.
the immersun unit usually turned on at around 500watts going back but in programming this could be altered (lowered).
these units also logged information Kwh used & input & output draws.
might be barking up the wrong tree but might give you a few ideas
 
As mentioned,you run the risk of over complicating/spending,on this project.

If it is your own,or a bit of experimenting,then no problem,i'm keen on a bit of Heath Robinson...

If it is for occasional outages of mains power,your battery capacity,should be sized for the anticipated losses due to the inverter,for the period of any outage.
These would remain charged and at standby,for the greater period of time,which is mains fed.

...I also thought that these many French "outages",were an integral part of their constitution,allowing for jam-jars with tea-lights,to be hung from pear trees,and a day's work to be dumped,with a shrug of the shoulders...;)
 
You want to avoid inverter standby losses in two situations: When the mains is on, and when the mains is off but no lamps are switched on. The first is easy - put a relay with a mains-voltage coil in the control circuit of the inverter. The second situation requires two separate detection circuits. #1 uses a low-power source, perhaps ELV DC, to detect switch-on events, which then starts the inverter, disconnects itself and connects the inverter to the load. Then #2 monitors the load current and when it falls to zero, switches off the inverter and reconnects the lower-power detection circuit instead to detect the next switch-on.

The problem as you have spotted is that the SMPSU or capacitive dropper in an LED lamp may be difficult or impossible to detect e.g. with battery volts, or might cause the lamp to light or flash if anything more than a whiff of power is fed in by the detection circuit. You might get results with a resistor across the lamp, but it would have to be of high value to avoid excessive dissipation, and then you need sensitive detection and it might be fooled by leakage. 100KΩ would dissipate about 1/2W and might be acceptable.

If you are trying to save the odd watt here and there, such as inverter standby loss, then inverting to 230V AC and using 230W lamps is not the most efficient way to go. I don't know how practical it would be to convert all the fittings to 12V and run the entire circuit like that, permanently? Otherwise, separating the switching from the lighting power circuit is probably the most effective if you want to take control of the inverter.

BTW, if you have made the transfer switch (mains / inverter selection relay etc) then you must ensure it meets standards for electrical separation between supplies. Failure to do so could send mains voltage from the inverter back out into your supply and shock someone working to repair the interruption.
 
I'm trying to plan a system that allows the lighting circuits in a house to be powered by a solar system and a small inverter when the battery has enough power, and will revert to a mains supply if the battery is empty.

Also power cuts aren't that unusual, especially in winter, so having a lighting system that won't die along with everything else is another benefit.

It sounds like you want to run the light off the battery most of the time, and only use mains when the battery is empty.
If power cuts are common place then what happens when there is a power cut and the battery is empty?
 
marc8 at#8 makes a promising suggestion. I think though, from the last time I studied how these devices work (not immersun in particular) they rely on the mains being live so that during a 1/50 second period or in bursts of them, energy can be drawn from it to power the immersion element and then paid back (in part or full) by PV. Immersun might operate differently - I have not checked. There is then no direct transfer of power between PV and output. Worth checking first.
 
Regarding feeding into the grid, that starts getting far more expensive than I'm planning. I'm aiming for a parts budget of max about €600. From what I've read, simply connecting in can cost €1500 let alone the cost of parts, multiple thousands with a long long time to break even.

From the looks of it adding complexity won't significantly increase the cost of it, it's just extra labour. I'm going to add the complexity but in such a way that if it fails the system will still carry on working.

I'll replace all bulbs with LED ones and use a low power pure sine inverter hooked to a leisure battery. I'll use the load output from the charge controller to trigger a relay on the remote wire for the inverter, so it will only power on when the battery has enough charge.

It' better to connect to the remote line rather than battery positive as the currents are far smaller, and are constant with no big peaks.

I'll run the AC output from the inverter through a DPDT relay along with the mains AC from the consumer unit. I'll have mains connected to NC and the inverter to NO. I'll also run the inverter AC to the coil (AC coil) on the relay, so the relay will only trigger when the inverter is already running. I'll also run the inverter AC through an RCD and MCB before the relay, to ensure everything is safe.

I'll also run the AC going to the coil through a switch, so it's possible to force the system to use mains supply if wanted for any reason.

That system on its own is enough to work correctly and should be pretty robust.

Now for the interesting parts.
The inverter being on 24 hours a day will cost roughly 10 Ah from the battery, so if I can avoid that then I will. Assuming it's on for 8 hours a day this is reduced to 3.33 Ah, much more reasonable.

I plan on running the AC line (after the relay) through a non contact ammeter connected to an arduino. The arduino will connect to another relay on the remote wire, in series with the one from the charge controller. I'll have it connected to the NC port so that if the arduino fails then the system will still function correctly.

I'll also add 2 wattmeters, one measuring the mains AC and the other the inverter supply. They send out little pulses which the arduino can use to tally up energy use from each of the sources and display the performance of the system, and also I can calculate an estimate of the energy (and money) saved. They do use a little bit of energy, but the one measuring the battery will only be on when the inverter is in use anyway. I'll power the arduino and relay board from the battery (through a voltage stabiliser), or possibly add an extra little SLA battery fed from the main one to ensure that it doesn't lose power even if the main battery is discharged.

This system will keep the inverter turned off until it is needed, and if it fails the inverter will just be on constantly so no big problem. I'll add little indicator lights to show which one is supplying the power, and possibly a multifunctional meter reading the output of the DPDT relay like this AC 220-380v 100A 45-65Hz Din-rail digital AC voltmeter ammeter frequency meter | eBay - http://www.ebay.co.uk/itm/AC-220-380v-100A-45-65Hz-Din-rail-digital-AC-voltmeter-ammeter-frequency-meter-/182623248434?hash=item2a8531a032:g:RDgAAOSwz71ZQ6U1

All the extras will make it a lot easier to monitor and improve system performance, and while adding complexity they aren't too expensive. Under €100 for the lot I reckon. If it all fails the system will still work correctly, albeit not as efficiently.

It's for a friend who runs a B&B, so this means that his guests will still have lights in the event of a power cut. Also his highest usage of lighting will coincide with peak guests which is in the middle of the summer, when there is peak power from the sun.

If it works well then I'll do the same thing at my mother's house for her to keep costs down (also a B&B). It should be good fun!
 

Reply to Sensor to detect when a light is turned on in the UK Electrical Forum area at ElectriciansForums.net

Similar Threads

Hi everyone, I wondered if anyone could help me with something that has been niggling me please?! When a Solar PV feed in circuit is installed...
Replies
14
Views
1K
My kitchen has track lighting. It consists of three halogen light bulbs. I've had the fixture for more than 25 years with no issues. Last night...
Replies
10
Views
873
Hi Guys I've fitted a few emergency lighting circuits to both domestic and commercial installs before, I've come across one I can't get my head...
Replies
19
Views
1K
Can I use multiple GU10 led lamps with their own PIR sensors in the same room? I have a row of existing lamps 600mm apart in a straight line & I...
Replies
9
Views
773
Hi I'm in need of some advice. First of all i'm not an electrician but do have an understanding of electrics as i come from an electronics...
Replies
4
Views
566

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

Electrical Forum

Welcome to the Electrical Forum at ElectriciansForums.net. The friendliest electrical forum online. General electrical questions and answers can be found in the electrical forum.
This website was designed, optimised and is hosted by Untold Media. Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock