A Forum run by Enthusiasts of MidNite Solar

Other MidNite Electronics => WBjr => Topic started by: EW Zuber on March 22, 2016, 01:55:27 PM

Title: Dynamic Current Limiting
Post by: EW Zuber on March 22, 2016, 01:55:27 PM
The way the industry is dealing with current limiting is basically static and voltage initiated.
I have a 5.5 KW solar array capable of around 100 amps. This allows for improved performance during cloudy periods and heavy loads should the need arise.
Problem is that my battery bank is only 370AH Trojan L16REB @ 48V.
So I can limit the current available from the Classic to 37A for bulk mode charging but if I have a 20A load I will only be putting in 17A and the batteries will not get fully charged and I will have to use my gas generator when I potentially have more than ample reserve current to charge them.
I would like to see the WBJR given the ability to extend the 'absorb end current' function to bulk mode charging.
That way I could have massive loads and not be concerned about the batteries getting charged.
Ultimately I plan on having 20KW of solar so that even on the cloudiest days I will have C/10 charging current available.
But that would not be practical without dynamic current limiting.
Title: Re: Dynamic Current Limiting
Post by: Vic on March 22, 2016, 02:17:37 PM
Hi EW Z,

There have been a few Threads here on this topic.  Have you seen this one:
http://kb1uas.com/mnsforum/index.php?topic=2696.0

Have not re-read this entire thread,  but in Reply #3,  boB mentions that this will come along at some time,  but no date approximation.

FWIW,   73,  Vic
Title: Re: Dynamic Current Limiting
Post by: dgd on March 22, 2016, 04:06:03 PM
EWZ,

Vic is correct and its probably not near the top of the urgent list for MN's Classic FW updates.
In meantime...
I would suggest just removing the 37A (c/10) limit from the Classic as those FLA Trojans will easily deal with c/5 charge rate since its only for a relatively short time in Bulkmppt charge mode when there is plenty of PV power available.
Its also unlikely there will often be full name-plate-rating current output from the PV array. The fact that you are considering a 10Kw PV array to achieve 37A in poor weather is sort of indicating that most of the time your weather is custard.

dgd
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 22, 2016, 08:48:21 PM
I suggested this years ago and it seemed that the response was the WBJR function of end amps in absorb mode. Which is great but it is only a matter of time before someone comes up with dynamic current limiting.
I mentioned it to OB but I suspect they will dismiss it.
Sure I can hit the batteries with higher current but I really do not want to. I have an indoor/outdoor thermometer with the outdoor temperature probe on the batteries and higher currents definitely increase battery temperature, which can shorten battery life.
My biggest concern right now is that my stereo system is triamplified with 3 Hafler power amps that all run class A. So at an idle they draw about 600W. Thats cuts into the charge current significantly.

dgd, our late winter / spring time is typically sunny but fall and winter can be very wet and snowy at times.
My goal is to completely eliminate the use of a gas generator. The excess power on sunny days will be used to heat the house electrically and cut down on wood consumption.
Thats one big advantage that solar electric has over solar thermal, when temperatures drop to subzero solar thermal are useless but solar electric provide about 60 ~ 70% of rated power even on the shortest day here (60.5 degrees N. latitude)
Also looking into Thermal Electric Generators for the wood heater. Just 400 watts from a TEG would make a huge difference.
Title: Re: Dynamic Current Limiting
Post by: dgd on March 22, 2016, 09:15:28 PM
OK, then I suppose the better solution is to size the battery bank closer to the input power available and the load requirements. Maybe a second string of those L16s to double capacity.

Otherwise you could use some external processor (rPi, BBB, Cubie, Arduino etc) that detects when the
maximum allowed current is output from the Classic and diverts (PWMing or selectively rerouting sub array of PVs) to your electric heater (or whatever).
An interesting project but unless you are already familiar with configuring/programming a controller system its probably not practical.

Add more battery capacity  :D

dgd
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 23, 2016, 04:03:12 AM
Not interested in more battery capacity. I am more interested in keeping the battery bank as small as possible to keep reoccurring costs down.
I would rather put the additional funds to buying more solar power, more generation capacity rather then storage.
Ideally I want to be able to generate 2KW on a cloudy day that yields 10% of array rated power. That would require a 20KW array.
The beauty of the system is that the excess power on a sunny day can be used to heat the house and hot water and the coldest days in winter are the clear ones. Also I suspect panels will likely last 40 to 50 years or longer as I have Arco 16-2000 panels that I bought in the early 1980's that still put out near rated power.
With commercial batteries like L16's 10 years is typically a good lifespan.
Title: Re: Dynamic Current Limiting
Post by: dgd on March 23, 2016, 06:02:14 AM
EWZ,

Well you are definitely thinking outside the square with a 20Kw array to guarantee 2Kw in poorest weather.
How do you envisage making use of the, perhaps, available power up to 18Kw on excellent weather days?
I mean, how does that power get from the array to where ever its to be used (water heating, house heating etc)?
That sort of capacity is way beyond any solar controller to deal with, possible dynamic current limiting would be a non starter here.

I think thats wishful thinking on PV life expectancy.  Maybe 1980s ARCOs were well built but in those days PV panels were very expensive so manufacturing quality tended to be quite high = longevity in service.

However, these mass produced Chinese PVs at todays well under a $ per watt pricing leave an awful lot to be desired where QC is concerned. I have seen many many of these PVs last only a few years with everything from junction boxes falling off, silicone sealant drying up and powdering away, water getting into the connections, water tracking down the traces under the tedlar backing and rotting the connection away, poor temperature stability with backing material too thin and showing heat stress by changing from nice white colour to muddy brown, and even the solder on the traces over the individual cells showing melting and bubbling that soon breaks the electrical connection or flashes/spike fingers of solder growing away from surface traces.. etc.etc..

dgd
Title: Re: Dynamic Current Limiting
Post by: Halfcrazy on March 23, 2016, 06:21:13 AM
So I am about to release a firmware update (BETA) that has a feature to current limit on the WBjr amps as well as the classic amps. It also has a 16bit timer changed to a 32bit timer and has stopped ALL of my network crashes on the new code. Give me a few days next week to test it after it is all compiled and I will post it up for everyone
Title: Re: Dynamic Current Limiting
Post by: mike90045 on March 23, 2016, 10:18:22 AM
Why not have the WBJr at the battery only, and tap the inverter feed at the controller.  Wire management (ohmic loss) becomes important, and your inverter may appreciate a super cap at it's input for 60/120hz ripple suppression.
Title: Re: Dynamic Current Limiting
Post by: Vic on March 23, 2016, 11:22:57 AM
Quote from: Halfcrazy on March 23, 2016, 06:21:13 AM
So I am about to release a firmware update (BETA) that has a feature to current limit on the WBjr amps as well as the classic amps. It also has a 16bit timer changed to a 32bit timer and has stopped ALL of my network crashes on the new code. Give me a few days next week to test it after it is all compiled and I will post it up for everyone

Ryan,  this is terrific news!   Will look forward to the release.   Thanks MidNite!   Vic
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 23, 2016, 11:51:27 AM
This is awesome news. Been waiting a long time for this. With panels so inexpensive now the applications for current limiting will become more necessary.
Thanks
 
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 23, 2016, 11:54:50 AM
Quote from: mike90045 on March 23, 2016, 10:18:22 AM
Why not have the WBJr at the battery only, and tap the inverter feed at the controller.  Wire management (ohmic loss) becomes important, and your inverter may appreciate a super cap at it's input for 60/120hz ripple suppression.
Not following what you mean here. Can you rephrase? Thanks
Title: Re: Dynamic Current Limiting
Post by: BobWhite on March 23, 2016, 11:59:43 AM
Quote from: EW Zuber on March 23, 2016, 11:54:50 AM
Quote from: mike90045 on March 23, 2016, 10:18:22 AM
Why not have the WBJr at the battery only, and tap the inverter feed at the controller.  Wire management (ohmic loss) becomes important, and your inverter may appreciate a super cap at it's input for 60/120hz ripple suppression.
Not following what you mean here. Can you rephrase? Thanks

I agree, lm a little lost on that one but it don't take much to get me confussed.
Walt
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 23, 2016, 12:20:54 PM
Quote from: dgd on March 23, 2016, 06:02:14 AM
EWZ,


How do you envisage making use of the, perhaps, available power up to 18Kw on excellent weather days?
I mean, how does that power get from the array to where ever its to be used (water heating, house heating etc)?
That sort of capacity is way beyond any solar controller to deal with, possible dynamic current limiting would be a non starter here.


However, these mass produced Chinese PVs at todays well under a $ per watt pricing leave an awful lot to be desired where QC is concerned. I have seen many many of these PVs last only a few years with everything from junction boxes falling off, silicone sealant drying up and powdering away, water getting into the connections, water tracking down the traces under the tedlar backing and rotting the connection away, poor temperature stability with backing material too thin and showing heat stress by changing from nice white colour to muddy brown, and even the solder on the traces over the individual cells showing melting and bubbling that soon breaks the electrical connection or flashes/spike fingers of solder growing away from surface traces.. etc.etc..

dgd
I plan on using solid state switching with PWM trigger pulses from the classic diversion output to switch loads off and on.

I am not using Chinese modules. I have 1KW of SolarWorld, basically the updated version of the Arco modules, and 3.75KW of REC 250's from the Philippines & ~500W of Arco modules.
Title: Re: Dynamic Current Limiting
Post by: dgd on March 23, 2016, 04:22:21 PM
Quote from: EW Zuber on March 23, 2016, 12:20:54 PM
I plan on using solid state switching with PWM trigger pulses from the classic diversion output to switch loads off and on.

It will be interesting to read how you have actually implemented this plan.
At least the good news is with the pending Classic FW update to use WBjr based current limiting, that will solve your immediate battery charging issues  :)

dgd



Title: Re: Dynamic Current Limiting
Post by: mike90045 on March 23, 2016, 07:59:21 PM
Quote from: mike90045 on March 23, 2016, 10:18:22 AM
Why not have the WBJr at the battery only, and tap the inverter feed at the controller.  Wire management (ohmic loss) becomes important, and your inverter may appreciate a super cap at it's input for 60/120hz ripple suppression. 


instead of the WBJr at the output of the classic, then feeding the battery bank & inverter & loads

Classic -> Busbar :  (busbar wired to
Inverter
DC Loads
WBJr -to - battery bank
This way, the WBJr measures in and out of the battery only.
  BUT it isolates the inverter a bit from the huge capacitance that the battery bank provides for the AC peaks the inverter draws from the battery.   If your loads are not much the internal cap in the inverter will be fine, but with heavy AC loads, since the inverter is not tightly coupled to the battery anymore (WBJr , cables and bus bar isolate it) you may want some low impedance capacitance that will handle the 60/120Hz ripple on the DC wires as the inverter creates the AC waveform.

The Classic records it's daily harvest, subtract that from the WBJr and you have the direct loads consumption

AND the WBJr will record the end amps of the battery in order to properly terminate the Absorb cycle, without the loads throwing it off.   

BUT the risk is some inverter foul-up if it does not like being decoupled from the battery bank.  Way less than an ohm, but
could have an effect.
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 24, 2016, 12:47:14 AM
A 500A 50ma shunt is something like .0001 ohms which is less than a lot of battery connections.
But thanks for your alternate layout. Something to consider.
Title: Re: Dynamic Current Limiting
Post by: mike90045 on March 24, 2016, 11:46:52 PM
Quote from: EW Zuber on March 24, 2016, 12:47:14 AM
A 500A 50ma shunt is something like .0001 ohms which is less than a lot of battery connections.
But thanks for your alternate layout. Something to consider. 

It's the shunt, and all the extra connections, the resistance adds up, and can sometimes effect a demanding system.
Title: Re: Dynamic Current Limiting
Post by: WillEert on March 31, 2016, 09:08:10 AM
Quote from: EW Zuber on March 23, 2016, 12:20:54 PM

I plan on using solid state switching with PWM trigger pulses from the classic diversion output to switch loads off and on.



I tried this method of diversion and struggled to make it work.

If you use the AUX2 PWM then you cannot have a WBJr.

Also I was diverting on the AC side. The Classic PWM is so fast that the Magnum  inverter could not keep up with the load changes and the whole house acted like a disco - lighting flickering, etc. The place was not livable. Maybe another brand of inverter would be better ( possibly a new Midnite inverter??)  Another issue is that with the Classic you cannot put more than one Classic on an array. This means with a 10KW array you will have 3 Classics and 3 arrays - joining the array output together after the Classic. A great way to divert and make hot water is to design your PV string voltage to produce  a suitable voltage for standard elements and divert excess DC before the charge controller using suitable diodes and PWMing the DC. The problem with this concept is that with bigger systems, as I understand it, you cannot join the DC diversion wires together as that effectively joins the arrays together. This would limit DC diversion systems to the output of 1 Classic for each system. That is why I went to AC diversion.

At present I  use a PWM diversion controller that PWMs an AC SSR at 10hz. The inverter is very happy at this frequency and my electrical system is also. I lose efficiency in the inverter but I vent the heat to assist in heating my house. The limitation to an optimized offgrid system size, for me,  now becomes inverter capacity. I put all my extra power into a domestic hot water tank and send any excess hot water, via a heat exchanger, into a radiant floor for house heating. The mass in the radiant floor acts as a battery to get me through the cloudy days however a backup heating source is necessary. :)

Will
Title: Re: Dynamic Current Limiting
Post by: boB on April 01, 2016, 03:29:45 AM

Hi Will !   You know that the Classic's Aux 2 PWM diversion, at least the clipper PWM can be set
to 20 Hz or so ?  Set it to DC rather than AC in the Clipper menu.  I can't remember  now if
that also changes the other PWM modes to 20 Hz from several hundred Hz ?  20 Hz assumes that
the PWM width is set to 1.0 volt.  Higher width will lower the PWM frequency more...  Actually, for
the DC setting, this  is based on  PV input voltage and not battery voltage and the width is actually
quite a it more than 1 or 2 volts but for PV input that is high  compared to the battery voltage (usually),
it's OK to be wider.

I think that the Magnum flashes your lights because of its slow(ish) voltage regulation when
loaded and unloaded....   If it were PWMing the DC side, it would more likely be much better but
DC diversion is harder than AC diversion.

And yeah, you can't parallel the inputs of the Classics, at least right now.  Shouldn't be
too big of a deal since  you  need more PV anyway or larger copper if you were going
to parallel PV for higher power.

BTW, How's that modbus controller coming ?  That will take care of not enough Aux 2 outputs.

boB

Title: Re: Dynamic Current Limiting
Post by: WillEert on April 01, 2016, 10:39:36 AM
I think I am hijacking this topic but...

The modbus controller is doing very well. With the help of Dgd it is up and running and squeezing every watt out the array that it can. The code is posted on the arduino portion of the forum. I also posted code for the dynamic amp load control that controls amps to the batteries by manipulating amps out of the Classic. This lets the system "siphon off" any spare power from the array while protecting the batteries from too high a charge rate. I am waiting to see the Midnite solution to dynamic battery amp load control with some interest.

My problem now is implementing some kind of follow me system for multiple Classics while I am already using the 3 RJ12 jacks for 2 MNGPs and the modbus diversion control. Working on getting my arduinos talking to each other in order to force floats when needed.

Will
Title: Re: Dynamic Current Limiting
Post by: Hein on December 08, 2016, 01:23:59 PM
Quote from: Halfcrazy on March 23, 2016, 06:21:13 AM
So I am about to release a firmware update (BETA) that has a feature to current limit on the WBjr amps as well as the classic amps. It also has a 16bit timer changed to a 32bit timer and has stopped ALL of my network crashes on the new code. Give me a few days next week to test it after it is all compiled and I will post it up for everyone

Hello Halfcrazy,

Has this function been incorporated into firmware? What version?
Title: Re: Dynamic Current Limiting
Post by: Halfcrazy on December 08, 2016, 06:26:02 PM
Yes we have added that to the production firmware, I have also documented how to change it as well in this white paper:

http://kb1uas.com/MidNite/WhitePapers/Setting%20the%20WBjr%20current%20limit%20on%20the%20Classic.pdf
Title: Re: Dynamic Current Limiting
Post by: Hein on December 10, 2016, 11:42:05 AM
Got it, thanks Halfcrazy.


Now my question for the experts - how do I limit current to the batteries when using three Classics?

Currently I have the WBJR sitting right before the batteries, so it measures only what actually goes into the batteries from the three classics - after power has been deducted to the inverter.

I have tried to work it out in my head using three WBJRs, but I cannot get a solution. What I need is to limit the combined output of three classics to my battery bank, and to leave the rest of the juice coming from the solar array to go to the inverter for heavy loads during daytime.

Advice welcome!
Title: Re: Dynamic Current Limiting
Post by: Hein on December 11, 2016, 02:49:47 AM
This is the best I could come up with. If I divide the desired max Amps equally between the three WBJR's, would this work?
Title: Re: Dynamic Current Limiting
Post by: Halfcrazy on December 12, 2016, 06:32:04 AM
Well the first thing to determine is HOW low do you need to limit too. You say you have 3 Classics but what is the limit into the battery you are trying to stay at or below? In my case I have 4 Classics but My battery can handle 200 amps so I only need one classic to back down to be safe
Title: Re: Dynamic Current Limiting
Post by: Hein on December 31, 2016, 07:26:49 AM
I currently only have 6 x 220Ah's hooked up in 24V, so when I limit charging to 10% of 660Ah it leaves me with 66A max charging current, or 22A per classic. Each Classic is connected to 1,800W PV, which means it can theoretically deliver 75A each, or 225A combined. Actual amps obviously being much lower.

I use the extra amps to run a 9,000BTU a/c unit to help cool the batteries during daytime and I draw quite a bit of power in my workshop during the day. So I need all the power from the PV available but without frying my battery bank.

Currently I limit each Classic in the charge settings to around 35A each, which leaves around 60A for the batteries while the a/c and some other loads are drawing, but this can spike or drop as the loads switch on/off. If I activate too many loads it starts drawing from the bank while I have tons of pv available, but limited in the classics' settings.

The sketch in my previous post - is that possible or am I being silly to think that could work?
Title: Re: Dynamic Current Limiting
Post by: EW Zuber on March 08, 2017, 07:23:07 PM
Thanks so much for this additional function. have  Wbjr here to hook up. Can't wait to try it out.
Title: Re: Dynamic Current Limiting
Post by: WillEert on March 09, 2017, 10:10:51 AM
I am curious how this Classic/ WBJr method of current limiting is working. I am helping a person with an off grid system and he has purchased so many panels that he is going to have current limit problems for his budgeted AHr battery bank. It would be best if he could use this method of current limiting using the Classic, WBJR and correct version of software.

Does the current limit setpoint limit the Classic to the WBJr current setpoint or does the Classic limit change dynamically with system load to control maximum current to the batteries while allowing the array to produce it's maximum power then limited by the Classic input or output setpoint?

I think by now some people would have experiance with this method. Any feedback? Comments?

Thanks

Will
Title: Re: Dynamic Current Limiting
Post by: Halfcrazy on March 11, 2017, 07:56:38 AM
It is basically constantly watching the shunt and making sure it does not exceed the WBjr current limit (IF Set) if it does start to exceed that it will limit current to maintain the setpoint into the battery, Basically loads first then battery charging so if the loads are not great enough and battery current exceeds your setting it will limit
Title: Re: Dynamic Current Limiting
Post by: WillEert on March 11, 2017, 10:04:43 AM
Thanks for your reply. I think that will work for my friend.

Will
Title: Re: Dynamic Current Limiting
Post by: unyalli on September 20, 2017, 04:54:42 PM
Quote from: Halfcrazy on December 08, 2016, 06:26:02 PM
Yes we have added that to the production firmware, I have also documented how to change it as well in this white paper:

http://kb1uas.com/MidNite/WhitePapers/Setting%20the%20WBjr%20current%20limit%20on%20the%20Classic.pdf

Sorry to dredge up and old post, everyone says search first so I did. Can't find this document. Looked all through the midnitesolar web documents also.

- Jeff
Title: Re: Dynamic Current Limiting
Post by: Vic on September 20, 2017, 07:08:21 PM
Hi Jeff,

At the foot of the first Post in the Linked Thread,  you should find that document:
http://midniteftp.com/forum/index.php?topic=3796.0

That Thread may have something of interest to you.

FWIW,   Vic
Title: Re: Dynamic Current Limiting
Post by: unyalli on September 21, 2017, 02:52:05 PM
Thanks Vic