navitron
 
Renewable Energy and Sustainability Forum
UK's most popular Renewable Energy Forum May 25, 2012, 06:06:43 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Anyone wishing to register as a new member on the forum is strongly recommended to use a "proper" email address - following recent spam/hack attempts on the forum, all security is set to "high", and "disposable" email addresses like Gmail, Yahoo and Hotmail tend to be viewed with suspicion, and the application rejected if there is any doubt whatsoever
 
Recent Articles: UPDATE ON DECC APPLICATION FOR LEAVE TO APPEAL TO THE SUPREME COURT | Yingli Green Energy's PV Module Ranks No.2 in TUV Rheinland Energy Yield Test | Navitron Solar Showers at Glastonbury for Year 5!
   Home   Help Search Login Register  
Pages: [1] 2 3 4 5 ... 10   Go Down
  Print  
Author Topic: And yet another PV dump controller circuit  (Read 6282 times)
ericw
Hero Member
*****
Offline Offline

Posts: 735


« on: February 03, 2012, 02:40:35 PM »

Here is another simple controller circuit to utilise excess PV output.

The associated Arduino program (rename attached pv_program.txt pv_program.pde) can be configured for a single load, two equal load or to step through two binary weighted ones (e.g. 1kw & 2kW). The scheme can easily be extended to more loads.

It is still a work in progress and the program may well be refined as Summer approaches and more sun is available for testing. The purpose of posting at this stage is to act as a catalyst to encourage further developments in this field.

The current being exported is sensed using a single CT on the meter tail, enabling it to be used with installations where the PV system is wired into the consumer unit, rather than being wired separately.
It will be fooled by large phase controlled loads however.

While basing it on an Arduino is totally OTT in computational terms, it has the advantage that the hardware is largely ready built and its accessable to more people than a cheaper PIC based circuit would be. The cost overall is still very reasonable. More contributions for improving the system are also likely to be forth coming.

The circuit only responds to the current being exported. When this current exceeds a preset maximum threshold (somewhat greater than 1 load level) the load will be increased by one step. When the current falls below a minimum the load will be reduced one step. The advantage of doing it this way means that it only has to sense the two thresholds accurately rather than a whole range, the disadvantage is that it can take a little time to step through the load settings.

The choice of current transformer is important. For best sensitivity it needs to generate an output of around 8v pk-pk when suitably loaded at the max threshold power. A SCT-013-000 is suggested, I used SCT-013-030 (was on Ebay) but dismantled it to remove the internal load resistor. The zener diode is added to clamp the high voltages obtained during high levels of consumption.

In order to distinguish between exported and consumed currents a phase reference is required. This is obtained directly from the transformer. The smoothing capacitor on the power supply to the Arduino needs to be increased for half wave operation, adding the extra diode means everything can be built on a simple plug-in shield.

As the signals from both the phase and CT swing beyond the supply voltage, these must come high impedance sources so they can be safely clamped by the ESD protection diodes within the Arduino.

25A SSR's are freely available on Ebay they all seem to be a standard design. At 10A the datasheets indicate that some form of heat sinking will be needed.

The usual safety disclaimer applies.
 Mains electricity is potentially dangerous so if you do not understand what you are doing - leave well alone.

Please feel free to contribute any comments/suggestions/improvements.


Component list

Processor           Arduino/Arduino Nano
Current Xformer   SCT-013-000   
SSR(s)               25A ones available on Ebay
Power supply      8v Bell transformer
D1                    1A Rectifier 1N4001 etc.
ZD1              11v 1w zener (eg BZV85C11V from Maplin)
C1                    470 uF
R1,R2                47k
R3                    1k  for 1kw & 750w load
                        470 for 2kW







* pv_program.txt (4.66 KB - downloaded 100 times.)
* setup.txt (1.47 KB - downloaded 96 times.)
Logged
Richard Owen
Hero Member
*****
Offline Offline

Posts: 1995


Navitron PV Installer


« Reply #1 on: February 03, 2012, 03:14:06 PM »

Excellent stuff Eric.

Keep up the good work.
Logged

44 Yingli 230Wp panels feeding into 2x Solar Edge SE5000 inverters.
20x 58mm SE, 20x 58mm SW, Solar Thermal feeding 320l thermal store.
10kW heat pump.
300W of Hydro Power.
guydewdney
Hero Member
*****
Offline Offline

Posts: 3125



WWW
« Reply #2 on: February 03, 2012, 05:53:14 PM »

Package this as a closed box, mains cable in, socket on the top (or two) and a headphone socket for the CT clamp, and market it and retire on the funds. There are SO many people asking for this sort of thing, they will bite your arm off. imho.
Logged

Lynch Mill wedding venue www.lynchmill.co.uk
Pic of wheel on day 1
7.2kW Waterwheel and 9.8kW PV
Much
Full Member
***
Offline Offline

Posts: 179


« Reply #3 on: February 03, 2012, 06:25:01 PM »

I do wonder if it's at all possible to monitor variations in generation / consumption at an individual plug without the CT clamp etc. Does generation cause an AC wave slightly in advance of the incoming mains or anything usable like that?
(envisioning stand-alone plugs that can switch on a device when generating, and off when not...)
Logged
pj
Jr. Member
**
Offline Offline

Posts: 93

Nom de Plume


« Reply #4 on: February 03, 2012, 06:38:55 PM »

Eric,
Excellent piece of work. The simplicity of the algorithm is so elegant.

I have a question for you - how can you be sure which way round the CT has been connected and/or clamped to the wire? Or which way round the PHASE signal is compared to the current?  I'm sure I'm missing something, but it looks like there is a 50:50 chance that the whole thing will be running backwards?

Also, a small suggestion. There may be a small amount of noise on the PHASE signal, so maybe some debounce needed on the phase change detection?

regards pj
Logged
rhys
Hero Member
*****
Offline Offline

Posts: 1109



« Reply #5 on: February 03, 2012, 07:03:22 PM »


I have a question for you - how can you be sure which way round the CT has been connected and/or clamped to the wire? Or which way round the PHASE signal is compared to the current?  I'm sure I'm missing something, but it looks like there is a 50:50 chance that the whole thing will be running backwards?

regards pj
I may be missing the point but don't Eric's set up notes cover this?
Logged
pj
Jr. Member
**
Offline Offline

Posts: 93

Nom de Plume


« Reply #6 on: February 03, 2012, 07:47:12 PM »

Thanks Rhys - I missed the set up notes - must be Friday afternoon or something - sorry Eric. Sad
Logged
ericw
Hero Member
*****
Offline Offline

Posts: 735


« Reply #7 on: February 04, 2012, 09:43:31 AM »

Also, a small suggestion. There may be a small amount of noise on the PHASE signal, so maybe some debounce needed on the phase change detection?

In practice the voltage seems to be quite clean as it goes through the input threshold and as I measure 50 cycles I don't think the odd glitch will have much effect. A bigger problem is that at low levels, when the load is predominantly all sorts electronic devices, the current waveform is very non sinusoidal, so you wont be able to get low threshold too near zero without changing to more sophisticated power calculations.

Much,
To do anything like that you would have to distort the mains waveform - no real hope unless you have a really bad supply. I think the best you could do is have a remote controlled socket(s)  that you could move around.

Guy,
That would be nice but as I'm sure someone is about to point out, these days there is a big difference between what might seem safe and what is commercially sellable.

Incidentally having invested a tenner in 3 wireless remote sockets I was going to do a wireless version by driving the TX from the Arduino but I realised that you could only use totally independent heaters. If you use a dual heater with a common safety thermostat and then a plug & socket for each element there is a serious danger of having the plug pins live if one is unplugged.
Logged
guydewdney
Hero Member
*****
Offline Offline

Posts: 3125



WWW
« Reply #8 on: February 04, 2012, 12:45:37 PM »

I'll still buy one off you....
Logged

Lynch Mill wedding venue www.lynchmill.co.uk
Pic of wheel on day 1
7.2kW Waterwheel and 9.8kW PV
ecogeorge
Hero Member
*****
Offline Offline

Posts: 518


« Reply #9 on: February 04, 2012, 01:06:56 PM »

I'll still buy one off you....
Better make that a production run of 2 please......
Logged
andrewindevon
Newbie
*
Offline Offline

Posts: 44


« Reply #10 on: February 04, 2012, 01:13:03 PM »

3   genuflect
Logged
jotec
Sr. Member
****
Offline Offline

Posts: 328



« Reply #11 on: February 04, 2012, 03:04:01 PM »

4
Watching with interest
Dick
Logged

Aiming to reduce dependency on 'mains energy'. Own bio for 25000 miles, solar water heating (DIY),  CHP done jotec.co.uk for info
guydewdney
Hero Member
*****
Offline Offline

Posts: 3125



WWW
« Reply #12 on: February 04, 2012, 03:19:05 PM »

Still waiting for the inevitable naysayer....


Incidentally having invested a tenner in 3 wireless remote sockets I was going to do a wireless version by driving the TX from the Arduino but I realised that you could only use totally independent heaters. If you use a dual heater with a common safety thermostat and then a plug & socket for each element there is a serious danger of having the plug pins live if one is unplugged.

imho - forget the possibility of someone taking apart a heater and wiring up elements to plugs - if they are going to do that, they arnt going to buy your product... and anyway - thats their problem, not yours. Single 500w heaters are commonly available (often for caravans) and cheap. I have several. I would suggest there could be a din /dip switch bank to set each output's wattage from 500 to 1000 - ie socket #1 is a 1000w heater, two is a 500w heater etc? Is this possible? Or just a single switch which denotes you are using banks of 1000 or 500w heaters?
Logged

Lynch Mill wedding venue www.lynchmill.co.uk
Pic of wheel on day 1
7.2kW Waterwheel and 9.8kW PV
rhys
Hero Member
*****
Offline Offline

Posts: 1109



« Reply #13 on: February 04, 2012, 03:36:01 PM »

5
Logged
StBarnabas
Hero Member
*****
Offline Offline

Posts: 2111


St Barnabas Chapel (2009)


« Reply #14 on: February 04, 2012, 04:30:17 PM »

Eric
great work as usual. My latest bit of madness is designing a PV power curve tester for panels With a PIC16F1827 it should be possible to sweep the IV curve in real time by using a power Mosfet as a dump load controlled by a low pass filtered PWM generator, sample the current via a sensing resistor to an ADC via an amp and the voltage with a potential divider to another ADC. The data will be sent vis an RS232 link to a PC. Should be possible for a few quid.
Logged


Gestis Censere. 40x47mm DHW with TDC3. 3kW ASHP, 9kW GSHP, 3kW Navitron PV with Platinum 3100S GTI, 6.5kW WBS, 5 chickens. FMY 2009.
Pages: [1] 2 3 4 5 ... 10   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!