Wind Turbine Diversion Controller

keyturbocars

New Member
Hello,

Someone recommended the Picaxe processor to me and this forum as well. I have a 2kW wind turbine system and it is set up to charge a large 48V DC battery bank. Once the battery bank is charged, then I have a diversion controller that I use to dump the extra electricity into an auxillary hot water set up with special 48VDC heating elements. The 80 gallon hot water heater has a special thermostat as well to shut off the dual 1260W DC heating elements at 120F.

The controller that I use to divert wind power at a set battery bank voltage (to prevent overcharge of the batteries) is made by a small company called Coleman Air. I think it's a one-man business. The controller is not working exactly as I need it to work. They guy is obviously very smart with electronics; however, he did not want to help me with this (he's too busy I think). He suggested I look into a Picaxe programmer and try to do it myself.

Now, I'm not an electronics guru. I have some technical background with a mechanical engineering degree, but I am not naturally strong with electronics. The idea of programming a microprocessor is intimidating to me.

Here are some pictures of my wind turbine set up.

http://www.facebook.com/album.php?aid=31445&id=100000264867099&l=6c791ef013

I also attached a picture of the controller circuit board. It controls a large 440A relay. The way the controller works now, it checks battery bank voltage every 5 seconds. When the battery voltage reaches around 52V, the controller then begins to check battery voltage every 1 second. When the voltage reaches a preset level (I have it set to around 56V now), then the controller energizes the relay coil and starts to divert power to the auxillary hot water heater. When the voltage drops to a certain level, the relay is turned off and the sampling continues every 5 seconds until the voltage rises to 52V at which time it starts to sample more frequently at 1 second intervals.

What usually happens is when the wind is blowing hard, the battery voltage can rise quickly when the battery bank is fully charged. The controller sample rate is so slow that the voltage overshoots the set point on the controller. This results in a secondary controller being tripped inadvertently that dumps power to air heating coils. This is not wanted. The second controller is set up to dump power at 60V and is only a safety backup to make sure that the batteries are not drastically overcharged in the event that the primary controller is unable to dump power to the hot water heater. I may have the primary hot water controller set to dump to 56V, but it will not trip until 62v because of the overshoot. This is the problem with the controller. The 5 second sample rate is way too slow. By the time it switches over to the 1 second sample rate, it's too late. The voltage has overshot and the secondary controller is being tripped on/off excessively. There is nothing that I can do to adjust the trip point of this secondary controller. All I can tweak on the primary hot water heater controller is a small POT that changes trip point. If I try to lower trip point to avoid triggering the secondary controller, then the batteries are undercharged and this is not good.

The creator of the controller said that the microproessor can not sample more often than 5 seconds because there is a green LED light that flashes to show state of charge of the battery bank. It is only at 52V that the blinking green LED turns steady state, and then the microprocessor is supposed to be able to increase sample rate to 1 second. It is my feeling that if the sample rate could be 1 second (or more often) all the time, then this overshooting problem could be minimized. Every 5 seconds is not often enough. I would be happy to loose the blinking green LED function in order to be able to 1 second sample rate all the time.

Is this something that the Picaxe would enable me to do?

I feel really intimidated and I don't know if this is something that I can/should try to do. It makes the most sense to me that the creator of controller would be best equipped to make this small tweak since he understands this controller better than anyone else in the world. He said that he would charge a minimum of $500 and even then he would not have time to do it for a long time. I might as well throw away the controller and buy something else if I have to spend 2X what the original controller cost just to have a small tweak made to the programming. He does not want to help anyway. He's too busy with other projects.

Those of you that are familiar with the Picaxe microprocessor, would something like the 08M work for this?

Thanks for your opinions,

Edward
 

Attachments

  • Controller-Board.jpg
    Controller-Board.jpg
    161.1 KB · Views: 104
Hi,

A diversion controller like that would definitely be do-able with a 08M picaxe. With the right kind of coding, the controller is able to sample the battery voltage many times a second.

Do you want to make a new board, or modify the excisting one? If you want to start a new one, it might be a good idea to look how power is supplied in the old one to the microcontorller, and make your own accordingly. The standard 7805 regulators won't work here, as the battery voltage exceeds their maxium input rating. Same deal for driving the relay, no need propably to re-invent the wheel.

I looked into your pictures, the setup you have looks nice. What model of wind turbine is that?
One improvement you could do to the tower would be to add a gin pole to help with rising and lowering the tower, meaning a short tower at an "L" shape to the main tower.. Route the lifting cable through the top of the gin pole, and you can start rising the tower from flat horizontal, and reduce the load on the main tower considerably.
 
Here is a charge controler that someone has already built using an 28x (I'm sure I've seen one that is similar and uses an 08M but I don't know where) . It is designed for 12 and 24v systems but it may give you some ideas as to how you could do it. http://www.thebackshed.com/Windmill/articles/GizmoPicAxeCharger.asp

This is another design for a charge controler that I use. It is entirely logic though but there is no code to worry about it just works. Again it is designed for 12v but it may be possible to change it to suit your needs. http://www.mdpub.com/Wind_Turbine/images/oldchargecontroller.jpg
 
Keyturbocars: Now that's what I call a great first posting,& your pictures are A1 (loved the hay bales!), but surely you'd considered a gin pole to aid with tower erection? To assist with the PICAXE quest can you perhaps let us know the full code on top of that removable 8 pin IC. If it's indeed a micro it'll say something like 12F675, but it may be something totally different. Stan.
 
The creator of the controller said that the microproessor can not sample more often than 5 seconds because there is a green LED light that flashes to show state of charge of the battery bank

That doesn't sound right as it should be possible to sample very frequently ( more than once a second ) and flash the LED at the same time. Perhaps it's more a limitation of what can be done with the amount of code which is used in the existing program.

A PICAXE-08M could certainly be up to the task and may be a drop-in replacement for the existing chip. It would certainly be possible to interface a small PICAXE board to the existing chip socket.
 
Sounds VERY PICAXEable.

As to whether an 08M will function in the same board is another matter.

"They guy is obviously very smart ... He suggested I look into a Picaxe programmer and try to do it myself."
Why did blokey suggest PICAXE? Is that what is in there already?
Tell us the PIC device number. It looks like 12F683 but please confirm.

What is this 5 seconds limitation all about really?
A "very smart" guy must have some other explanation.
Does the Controller directly monitor the battery bank voltage or is there a secondary board?
Is the '5 seconds' included as some attempt to smooth transients?


If you wish to roll-your-own then you're also going to have to dig out your multimeter and magnifying glass to do some PCB artwork-to-schematic conversion. You MUST get things like I/Os sorted before zapping it.

I would also suggest that you sit down and produce a whole system schematic so that people can see what is exactly connected to what.

You have the thing in front of you, we don't. Large blocks of text are hard to absorb and people can lo(o)se track.
And with your experience it sounds like you're going to need a lot of assistance/advice/code written.
Fortunately for you threads like this are hobbyist-magnets and you will get a lot of excellent help and code. Nice project - I'm jealous. Good luck.
 
Hi,

A man after my own heart, love the use of the tractor, diesel is much more fun than fulcrums :)

Here's a few lines of code I use on a battery bank maintainer, it would do what you want, just set the voltage points differently, you could add frills to it with ease, remove the 500ms delay and it'll run as fast as the picaxe can go.

I use a 10K/1K potential divider fed into ADC0 (max 36v), you'd need to raise the 10K a bit for your bank voltage.

As to the 5 second thing, that's just how he wrote his code, you can avoid this behaviour by writing yours in a different fashion. Either interupts or counters will suffice.

As to "switching" diversion on wind, oooooooh, 5 seconds response, ooooooh, I'd be scared of the thing being caught by a gust. PWM'ing your heat load would be much more controllable and easy to do with large enough MOSFETs. I've just finished a dual 52amp/55v board that would be close to what you'd need, chosing different MOSFET's would sort you out. If you want schematics let me know.

Cheers

Miles

Code:
config:
symbol ADCVAL=w1                            'create a variable called ADCVAL
symbol RELAYSTATE=b4                        'create a variable called RELAYSTATE 
symbol RELAYPIN = 1                         'define which output to use for the relay 

main:

readadc10 0,ADCVAL                          'read ADC0 to 10bits ie 0 to 1023

if ADCVAL > 130 then                        'if the voltage is too high 
let RELAYSTATE = 0                          'change the value of RELAYSTATE
low RELAYPIN                                'turn the relay off
endif

if ADCVAL < 100 then                        'if the voltage is too low 
let RELAYSTATE = 1                          'change the value of RELAYSTATE
high RELAYPIN                               'turn the relay on
endif

sertxd("ADC value is:",#ADCVAL,13,10)       'send the value of the ADC reading to the terminal window
sertxd("Relay status:",#RELAYSTATE,13,10)   'send the relay staus to the terminal window
sertxd(13,10)                               'send a blank line to the terminal to space the text

pause 500                                   'wait half a second
goto main                                   'repeat endlessly
________
volcano classic vaporizer
 
Last edited:

What usually happens is when the wind is blowing hard, the battery voltage can rise quickly when the battery bank is fully charged. The controller sample rate is so slow that the voltage overshoots the set point on the controller. This results in a secondary controller being tripped inadvertently that dumps power to air heating coils. This is not wanted. The second controller is set up to dump power at 60V and is only a safety backup to make sure that the batteries are not drastically overcharged in the event that the primary controller is unable to dump power to the hot water heater. I may have the primary hot water controller set to dump to 56V, but it will not trip until 62v because of the overshoot.


I'm trying to think of a way to layer something picaxe controlled on top of what you already have, rather than ripping it all apart. What you have is *almost* working but not quite.

Ok, let's say you can access the dump relays and somehow control them with a 'Wire OR" solution, ie your existing circuit can turn on the relay, or a picaxe can as well. I think if you can get to to the low level control part that might be just another transistor pulling one side of the coil low.

Then, assume we can measure volts. The picaxe excels at this and it could be just a matter of two resistors - divide 70V to 5V so 48V will be 5*48/70. Use readadc10 on the picaxe for high accuracy.

Then you set the picaxe sampling as fast as it can, and you might be able to get up to many hundreds of times a second. When the volts go over the trip point, turn on that dump relay - which will beat your existing circuit by up to 5 seconds.

You will need some hysteresis in the picaxe code so it is not tripping in and out too often, but that is all programmable.

It depends a bit on the circuit for the dump relay, but I can envisage something as simple as a picaxe 08M, 5V regulator, two resistors for the sense volts, and a resistor and small signal transistor for the switching side.

Do you think the manufacturer would be kind enough to send you the schematic of that dump controller? Ok, if not, maybe we can reverse engineer it from photos of both sides. It is turning on a huge relay, so presumably the coil will have a fair bit of current, and the usual thing is to amplify things up in stages - milliamps to hundreds of milliamps with a transistor, then maybe a small relay that switches the coil of the bigger relay. Or maybe they have used a mosfet or a darlington.

I won't promise anything, but you might be able to do this for $20 or so. I'd be tempted to build a small board with a picaxe and its own onboard small relay eg a 5V coil and capable of switching an amp or so (or whatever the coil of that big dump relay uses). Then your standalone board would be robust enough to add on to the existing circuit.

Reading through the manual now... http://ph1.ccssoftware.com/shared/DiversionController160M_Current.PDF

Addit: having read through that manual, I'm wondering about a picaxe controlled dump system with its own dump load that is somewhat less than the big load. Set it to trip earlier than the big one, and maybe dump half or a third of the power. That will slow down the rate of rise on the batteries.

There is something that I'm not quite sure about and that is why the battery voltage rises so quickly over 5 seconds. It almost suggests the batteries are too small for the generator, but I presume they are matched? Or maybe your wind is too strong?
 
Last edited:
Thanks everyone for the replies.

I was hoping to be able to modify the existing board. There is a 12F683 chip in there right now. The controller board monitors the voltage of the battery bank. As to why the voltage rises so fast at the end, I'm not exactly sure. I think in part it is because the wind turbine voltage rises with increase in wind speed. Once the battery bank is fully charged, then the voltage increases quickly.

The guy who made the controller said that he has given me all the support that he can give, since I am trying to do something different than his original design.

Then there are controllers like this that are made specifically for what I want to do. They are tried and true, extremely reliable, relatively affordable ($175) and don't have a large, noisy relay clicking on/off. I really might go this route as it offers PWM diversion control and would charge the batteries better.

http://www.morningstarcorp.com/en/tristar

You guys who suggested the gin pole for raising the tower are right. It would make things easier. Since I have the tractor with a front loader, then I figured out another way that I could do it. A gin pole would be needed for sure if I didn't have the tractor, and a gin pole would make things easier and take away my need for using hay bales too. :)

The wind is blowing right now and the controller seems to be working better. I spent a long time (AGAIN) trying to tweak the controller trip point. I'm trying to find the balance between setting the trip point as high as possible to keep the batteries fully charged, but not so high that the voltage overshoot triggers the secondary controller inadvertently. Right now, it seems to be working well. I need to wait and see what happens when the wind is blowing harder. So far now, I think I will put the whole project on hold until I am sure that this controller set up will not work.

Thanks for all the great replies. For now, I'll just put my ideas on hold and see how the controller works with the new trip point settings. I'll let you guys know if I need any more help. Thanks again for your kind help.

Best Regards,

Edward

PS. I'll attach a picture showing the board and big relay that it controls. That relay sure is loud as it clicks on/off.
 

Attachments

  • Coleman-Air-C440-HVM.jpg
    Coleman-Air-C440-HVM.jpg
    116.7 KB · Views: 53
My sweet lord, it's commercial, it looks totally homebrewed. $235 I'm in utter disbelief, thats more than I paid for my retired old Xantrex C60, that was at least a pile of FET's and some smart coding, this is just a relay in a box.

OMG there's someone over here too!

http://www.windgenerator.org.uk/html/440amp_relay.html

A pic driving a relay (in this case I suspect a heavy duty truck starter solenoid) for ?145, reminds me of a series of Harry Enfiled sketches http://www.youtube.com/watch?v=trB5CSDmf1E

You could build the same for less than $10 of parts + whatever the cost of the solenoid is.

There's a clone on ebay for $75, thats I feel a fairer price. Still, would I let it lose on my turbine, lets be polite, no. Where's any kind of redundancy, if you go into overspin on even a 1kw turbine (5-7 ft dia) and it comes apart, at best you'll be laughing at blades stuck feet into the ground at worst someone could be killed, your 2K must be 7ft plus.

I think you shouldnt be scared to have a go at doing your own. There's plenty of people here to give advice, when you are familiar (a month or two of evening effort), you dont look scared of a challege by the photos. You'll be able to better that in an afternoon as still have time for tea.
________
magic flight launch box
 
Last edited:
As mentioned by manuka, great first post and welcome to the forum.

Sounds like you could do a PICAXE 08M "drop-in" replacement.
The 08M does support PWM control so in theory you could do a nice proprtional control but if you have limited electronics experience it will be a struggle to get you into a position where you could SAFELY control that amount of power.

It really depends on how much time and effort you are prepared to put in together with how much assistance the members here are willing to offer.

IMHO, with your limited experience, I'd go for a 08M drop-in for now with the intention of a scratch build PWM version later on after a learning excersise.
 
Just seen your reply, good to hear you have tweaked it and its working better. Just thought I'd mention, the morning star wont "charge" your batteries any better, it will "regulate" the load in a "finer" more progrssive way via PWM. It might support periodic equalisation which really is a must have.

Miles
________
vapor ***** vaporizer
 
Last edited:
Just speculating, but I'm pretty sure I'm right:

That probably is a Picaxe 08M already onboard.


Clues as to why it is an 08M are:

1. It's a homebrew board. No silk screen, no overlay.

2. You said it has 12F683 written on it, and that is the 08M microchip of choice.

3. The two resistors to the right of the chip look like 10K and 22K. These form the standard download circuit for the 08M. If it was a microchip pic, it probably wouldn't have these resistors there.

4. The RJ11 socket will be the download socket. You just need to trace the pins to find out the TX RX and ground. Grab yourself a telephone cable and modify one end to a serial plug and start typing away.

5. The bloke that you talked to suggested you look into picaxe. Thats enough of a clue as picaxe is not that well known in the US yet.

I'm sure we should be able to come up with some code for you. We would just need to know what is connected to each pin.


Inputs are:

ADC voltage
pushbutton


outputs are:

LED
Relay

Any other inputs or outputs? You should be able to work out which is connected to what very quickly with a few short test programs.


If you take some more closeup shots of the top and bottom of the board, I'd be happy to have a look and see what is connected to what.
 
Great detective work above!

If that really is a picaxe, then I might revise my cost estimate down from $20 to maybe only $3.

The chip is socketed, so you can remove that chip and replace it with your own. If your design does not work, just put the original chip back in place.

So all you might need is a little adaptor that takes a D9 to the phone socket. Or you could program a picaxe on a breadboard instead (just follow the diagrams in the manual).

I have a very similar picaxe circuit in my car controlling the fan for the radiator. Sense a voltage (temperature) and turn on a relay. Add some hysteresis in the code so the relay does not chatter. It is a perfect application for a picaxe 08M.
 
Thanks again guys. I will try to take some better close up pictures of the circuit board tomorrow. Is there a way that I could "download" the code off the existing Picaxe chip that is on there and start working with that?
 
It might be worth connecting the Programming Editor to the board and issuing a Firmware Check to see if it responds and confirms a PICAXE. Be careful as download will wipe the existing program. It's at your own risk.

You could contact the developer saying you know or suspect it's a PICAXE and would be willing to work with him/her, under NDA if required, to improve things. You can point out the current failings and how improving that could make their product a better proposition and may increase sales. No reason not to mention that you are thinking of replacing the chip yourself with an improved program which may be encouragement enough but don't get too threatening or pushy.

Also, think about how the product would still be viable and sellable even if the improved program were open sourced, how that would add to its value rather than detract, and note that. Under NDA you'd have a more difficult time asking here how to do things without breaking that NDA.

You might get the cold shoulder but you never know. It would still be courteous to supply a copy of your own code when completed.

If it is an 08M ( well done Haxby in playing Sherlock Holmes there ), there looks to be enough room on the board and clearance to fit a 20X2 with its lower legs removed or bent outwards which means you have a lot of scope to improve things if you need that. You may be able to provide LCD display or other useful abilities.
 
And, even if you could offload the code ,do you think that copying and fiddling with other people's code is "right".
If I was the Manufacturer I'd have a fit if I found out that someone had been promoting home-brew software that may under certain conditions cause a problem - possibly resulting in claims.

IF it is an 08M then buy one. It would SO stupid to risk the original. This is surely obvious?

And, if you write new code (or Haxby writes it for you), will you still claim on warranty if it goes wrong?
Obviously you will be putting the original 08M (?) back in if you send it back as they will check it.

Like I said in Post#6:-
"If you wish to roll-your-own then you're also going to have to dig out your multimeter and magnifying glass to do some PCB artwork-to-schematic conversion. You MUST get things like I/Os sorted before zapping it.
I would also suggest that you sit down and produce a whole system schematic so that people can see what is exactly connected to what."

Or you can get people here to do it for you. (Thanks Haxby , obviously been watching too much 'Monk' on at 2pm on Quest in UK :) )

All in all this is a pretty basic and simple device with a healthy price tag.
The code should , in principle, be pretty simple too.
I certainly wish you luck with the project as all this stuff is very interesting as it is an example of 100 experts all 'correct' and mostly disagreeing ;)
 
Last edited:
A lot of you are making some very good points. I think I'll hold off on trying to modify the existing programming or board until I try again to discuss it with the programmer/originator of the controller. That was my first choice to begin with, but he was not interested in helping with this before. It really makes the most sense since he is most familiar with his controller and program code, and he could quickly and easily make an adjustment to the programming. Thanks for those of you that are so willing to help.
 
From the pics I'd say you were in WY, or perhaps CO or Montana. Rocky Mtn Region at any rate. If so, you can quickly get a PICAXE chip from Sparkfun.com, in Gunbarrel, CO. I'd suggest you do a quick web search for them and order a couple of 08M devices to try in your controller.

That seems like it might wind up being the quickest and easiest solution to your problem. Cheapest as well.

I think with the help of the knowledgeable experts around here you'll end up with something that does the job and is also something you understand and can modify to suit your needs as time changes. A win - win - win.

The original programmed chips are unreadable for the reason that the folks who design the control systems want to keep their work proprietary. But as I said, I'm sure the folks around here can help you code another one to do what you want done. Look around the site and you'll soon see that some of these folks are not slouches when it comes to programming control systems.
 
Last edited:
Thank you John for the link to Sparkfun.com. They look like a good place to order the 08M and serial cable from. I'm in Eastern Washington and live in a canyon. It does look similar to the Rocky Mtn area. I also lived in northern Colorado years ago, and I can see the similarities.

Also, as to my question about downloading the code... I had no bad intent whatsoever. I was just ignorant. I just hate having to "reinvent the wheel", so I figured if I could start out with what I already have and tweak it a little, then maybe I could get it to work properly.

I bought the controller back when the price was even higher. I spent nearly $270 with shipping. I know that's high. The reason I chose this controller was because I wanted to be able to control the relay with thermostat that I installed on my auxillary hot water heater. I needed to be able to shut off the diversion load when the water was heated enough or else I risk overheating the water. It's a safety issue. I have a secondary dump load that kicks in around 60V that dumps wind turbine power to air. If the water heater thermostat trips, then the power is diverted to air heating elements. The wind turbine can not overspeed unless the windings in the generating head burn out and allow the blades to free spin.

In addition to wanting to be able to incorporate the thermostat control of the relay, I also wanted to be able to manually flip a switch and activate the relay and start heating water in my auxillary hot water heater. I have a family of 9 and if we have company visiting, then I could use the extra hot water at times. I have an Argus 50A rectifier/charger that supplies the amperage needed to run my 2560W of DC heating elements in my hot auxillary water heater. So, the need to be able to wire my thermostat and also manual activation of the relay were why I chose this controller over others.

I could have gotten a tried and true Morningstar TS-60 controller for nearly $100 less! I chose this Coleman Air controller based on the features. Unfortunately, the "user settable trip point" does not really work properly. If I set it to trip at 55V, then it might trip at 57V or 59V or 61V... depending on the incoming power from the wind turbine. A 5 second sample rate and then later 1 second at higher voltage is too slow for it to work properly. In other words, it doesn't work like it's supposed to work. I paid good money for this to work. So, when I asked about being able to download and tweak the existing code, I only wanted to be able to try to take what's there and make it work properly. I was not trying to "steal" anyone's work. Just trying to make what I paid $$$ for to work as it should in the first place. Really, the guy who makes the controller should fix this problem because advertising it with "user settable trip point" is not exactly true when the controller doesn't trip at the user's set point.

I have contacted the guy who made the controller with one last effort to see if he would be willing to help make the controller work properly. If he is unwilling to help, then I'll see what I should do next.

Thanks again for all those that are so willing to help an ignorant newcomer!

Edward
 
There is great value in being truly in control of the functions of the devices you own. It's something you can not get from commercial "black box" devices - no matter what they are - no matter how much you pay for them. Consumers are forever stuck buying commercial products that don't do quite what they want them to do.

With a PICAXE and easy to understand BASIC code you can truly be in control of your controller - and it's far cheaper to buy the parts and build your own. That's why I like the PICAXE.

I do not like living in a physical environment where I'm surrounded by things I don't fully understand and have little or no control over - things that more often than not my life depends on to one degree or another. It seems foolish.

So I try to put in the time and effort to mitigate that as much as possible. Again, that's why I like the PICAXE. It provides the most monitor and control capability for the least required programming expertise. Heck, even school children are writing control software using them. That' my level of expertise. :D
 
I bought the controller back when the price was even higher. I spent nearly $270 with shipping. I know that's high.

I wouldn't kick yourself too hard ( and don't think you are doing so ) as most of us fall into the category of buying something to do the job when we could perhaps have built it ourselves, made it better or cheaper.

The premium is in 'having it now', ready to go, paying for someone else's time to work out how it's done, source the components, put it together, test it and insurance against it not working or not doing the job intended.

With, say, $100 component costs, at $10 an hour, can the same be built in 20 hours or is it worth buying at $300 ? The answer is often not ( there may not even be that time available ) and yes it is. Most home-build, electronics or otherwise, costs are based on ignoring time and time costs or offsetting those against getting what one wants rather than what's on sale.

Of course hobbies are fun so time cost actually pays for that fun so can be discounted. I reckon that most hobbyists are building a better replacement for what they already have ( bought on 'want it now' principles ) or building something they wouldn't otherwise be able to afford or cannot justify the price of.
 
I have had a lot to do with wind turbines and have built many controller systems for them.

As much as i love Picaxe'es it is one application i would not use a picaxe for, many other people have and there is a long list of failures that has resulted as well (not to say all fail)

What most don't understand unless involved with wind turbines, is the electrical noise that is introduced within the system and most importantly, the dump controller is the last line of defense to control the mill, should it fail you have what is known as a runaway, a mill on a path to self destruction. Not Good!!!

What is a tried and proven system is a simple opamp with a little bit of simple circuitry.

They are near bullet proof and very reliable.
There is no need for a 5 second delay and a dump controller should be always a active monitoring system.

Once the trip point is reached it should activate the dump immediately, with some hysteris before it cuts back in to charging again.

If the hysteris is to small you will get relay chatter due to the drop in voltage the dump load will cause.
Normally you would use the battery resting voltage as a cut in point, as when the battery comes off charge the voltage will fall back over a short time to a resting voltage, at which point the controller would switch back to charging. ( about 52 volts for a 48 volt system)

It has been proven many times that the simpler you can keep the dump controller the more reliable thay are, and relays prove to be more reliable than mosfets.

If you don't mind the small waste of power it is best to have the relay wired so that the relay needs to be energized to NOT divert the power, this way should a fault occure or power is lost the relay will close to shunt all power generated to the diversion load until the fault is fixed. Fail safe!!
 
SAborn has a point here.. Worth noticing, I've been playing for a while now with microcontrollers, but the dump load on my wind system is still controlled by the humble old LM3914 led bar driver. Analogue electronics will forgive more than the micro will.

Though if well designed, the picaxe approach will not be any less reliable.
 
"Analogue electronics will forgive more than the micro will.

Though if well designed, the picaxe approach will not be any less reliable."

- is that called 'hedging your bets' ? ;)
 
Use both. I always go for the "belt and suspenders" approach on things that just plain gotta work. We aren't talking about more than a couple dollar's worth of additional circuitry to protect thousands of dollars worth of power generating gear.
 
I am looking to do something similar with a 12f683. I have a cheap grid tie inverter that shuts down when I exceed 55V(output up to 62V) from my solar cells (when I have peak power available)I want to build a buck circuit, monitor/control output V and use the pwm output to drive a mosfet to limit the V to 50. It sounds like you have already done this?
 
Back
Top