A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: mahendra on February 12, 2018, 06:14:13 PM

Title: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 12, 2018, 06:14:13 PM
What are the aux setting that should be on a classic for charging termination.Of course the bms is determining the soc and termination voltage.
Bms has an out put relay for charge controller charge termination.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: ClassicCrazy on February 12, 2018, 06:28:44 PM
I use ending amps for terminating the Absorb  charge for LiFePo4

I don't get what you mean  about the Aux  - it controls stuff but you make it sound like you want something to happen in reverse where the BMS sends signal to AUX to control Classic ?

In the Arduino section Will has code that controls the Classic various ways but he is doing it via modbus commands .

Larry
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 12, 2018, 06:46:33 PM
Yes exactly,
Sometime ago it was mentioned that one of the aux ports can be used to receive a signal from a bms to turn off charging
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: ClassicCrazy on February 12, 2018, 08:33:50 PM
oh I did not know that - should be in the manual somewhere.

Larry
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: ClassicCrazy on February 12, 2018, 08:38:32 PM
Is this what you are looking for ?
11-28-2012
   Added Aux 2 Logic Input Function that makes Classic go to Resting when Aux 2
   is greater than approximately 6.0V (30V MAX) for 2 seconds minimum and
   lets it charge again when input drops to less than approximately 2.0 VDC

http://midniteftp.com/forum/index.php?topic=229.msg11215#msg11215

Although that won't work if you have a Whizbang on there.

Larry
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 13, 2018, 08:21:37 AM
Yes but I don't think the settings there is practical for 48 v lifepo4. Battery bank
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 14, 2018, 06:14:26 PM
Ok I was looking through the manual and noticed the features of aux 2 . Particularly the logic input 1 and logic input 2 .
Would someone be so kind and elaborated how this would work with a bms signal to stop charging.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 17, 2018, 03:58:50 PM
Mahendra, I was just about to make a post with the same question, and there was yours at the top. I have a different trigger for the input, but beyond that I need the same result you are looking for; Classic goes to resting when input is triggered. From what ClassicCrazy has referenced you are going to need to have your BMS output relay close a 7-30v circuit that will then feed 7-30v to the Aux 2 relay contacts on the classic.

If your 7-30volt source is current limited (not sure how much current your BMS relay, or the Classic Aux 2 input maxes at) then you may be able to simply wire the source voltage through your BMS relay and to the Aux 2 inputs. When the relay closes the Classic will see the voltage on Aux 2 and stop charging.

:>
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 17, 2018, 04:06:23 PM
Having said that, and if Mahendra doesn't mind me piggybacking on his thread with a similar issue, My need is to also have the charge controller go to resting based on an external trigger. However, my Aux 2 is taken up with a Wizbang.

So is there a way to rig Aux 1 for INPUT? Ideally the programing would be simply IF the Aux 1 contacts are shorted THEN Classic goes to resting.

----
Just to explain the need, I need a way to stop charging my LiFePO4 pack if only ONE single cell goes over 3.6v. Fortunately the Cellogger volt meters connected to each the pack will close a relay (or open it) when any ONE cell exceeds the set voltage. This is just a way further I am attempting to accommodate Lithium Ion batteries to the Classic and keep them safe.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 17, 2018, 04:10:43 PM
Same here 5 minutes but I have two classics networked.
I am going to use the vacant aux two while still making use of the wbjr
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 17, 2018, 04:11:57 PM
My bms does have a relay that would send a signal to aux 2 but I have to verify the voltage when closed
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: boB on February 17, 2018, 10:10:23 PM

Aux 1 doesn't accept a signal as an input.  However, a small computer like a Raspberry Pi or similar can easily be made to
tell the Classic to turn on or off with an input signal to it...

I wonder why others haven't made this happen ?  We could but don't have the time to do that right now.

boB
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 17, 2018, 10:53:16 PM
QuoteHowever, a small computer like a Raspberry Pi or similar can easily be made to
tell the Classic to turn on or off with an input signal to it

boB. Thank your for chiming in on this topic. I am relatively new to Midnite, but it's heartening that senior Midnite personnel find the time to participate here. Two questions if I might:

1) If someone was to look into using a Pi type device where would they be looking to interface with the controller in the case where Aux 2 is busy with the Wizzbang Jr? With Aux 1 being output only, where would the Pi connect to the controller?


2) Bigger picture, how big a deal would it be for future versions of the Classic to have Aux 1 take on the versatility of Aux 2? Or would it be so much re-engineering we'd be looking at an Aux 3?

I ask because as a person who just completed his first system, and employing Lithium ion batteries, I've discovered the shortcomings of virtually all charge controllers in dealing with this chemistry. Short of charge controllers being engineered with multiple channel charging (the controller having the ability to control the charging rate of each cell) 3rd party solutions such as BMS systems must be employed. I was delighted to learn recently that the inexpensive and commonly used Celllog devices that monitor individual cell voltage have the ability to close a relay if any ONE cell goes beyond a defined voltage range. Beautiful!

So I guess I'm being selfish because I would love my charge controller to be able to easily interface with the cellog device, while still providing all the joys of the Wizz bang.

And to be eve more 'selfish', ideally it would be great to have an input on the Classic whereby simply shorting the terminals on the Aux port would put the controller in [programmable] Resting mode. Why? Because that would negate the need for a separate voltage source to either provide trigger voltage to the terminals, or keep a Pi device powered! After all, it's all about mitigating energy use in an off-grid system.

boB, if you've heard this all before ad infenitum, I apologize. Thanks for reading this though.

jim
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: boB on February 19, 2018, 12:45:43 AM

Jim, the way the pi would connect would be through the Ethernet jack OR one of the RS-232 jacks.
Both communicate using the MODBUS protocol.  Somewhere on our site there is a document with the information on how
to do this.  It's definitely technical but can be done.

The Classic will more than likely not have an Aux 3  but not sure how hard it would be to add an input for Aux 1 ?

The issue has to do with resources (time) with too few engineers as well as too many new projects under way here.

One thing that comes to mind about making Aux 1 an input as well as an output is that another connection would have to
be made from the bottom power board up to the control board and I believe that all of the connector pins are used.

Won't hurt to take a quick look though even to satisfy my own curiosity.

boB
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 19, 2018, 03:06:32 AM
Quote from: boB on February 19, 2018, 12:45:43 AM
Won't hurt to take a quick look though even to satisfy my own curiosity.

Thanx. And It might be fun to throw the Pi idea to a MODBUS programmer on upwork.com. Those folks were cheap, and if there is sufficient documentation on how the Classic uses MODBUS perhaps they could write the code w/o actually having a Classic on hand. If I work up the energy I might iterate the idea, since so many could possibly benefit from such a solution.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: RossW on February 19, 2018, 03:56:42 AM
Quote from: 5 Minutes 2 Midnite on February 19, 2018, 03:06:32 AM
Quote from: boB on February 19, 2018, 12:45:43 AM
Won't hurt to take a quick look though even to satisfy my own curiosity.

Thanx. And It might be fun to throw the Pi idea to a MODBUS programmer on upwork.com. Those folks were cheap, and if there is sufficient documentation on how the Classic uses MODBUS perhaps they could write the code w/o actually having a Classic on hand. If I work up the energy I might iterate the idea, since so many could possibly benefit from such a solution.

My NewModbus already exists for the pi, already has all the hard work done, and is being used by a couple of classic owners for exactly this purpose already.

Should be an executable at http://support.rossw.net/midnite/
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 19, 2018, 04:26:08 AM
Ok my charge signal is simply a relay so I am not sure how this would tell the classic to stop charging on aux 2. There is no voltage.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: RossW on February 19, 2018, 04:33:12 AM
Quote from: mahendra on February 19, 2018, 04:26:08 AM
Ok my charge signal is simply a relay so I am not sure how this would tell the classic to stop charging on aux 2. There is no voltage.

With the addition of something like a Raspberry Pi, you could use the voltage-free relay contacts to one of the GPIO inputs on the pi. A very simple script (or simple program) could poll that input and once the "stop charging" signal is seen, could send commands via modbus to the classic to either change its charge parameters or force it into another mode (like float).
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 19, 2018, 07:49:41 AM
Well that's what I am looking for but guess I have to do a bit research on PI.

What hardware would I require for this?
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: mahendra on February 19, 2018, 09:50:37 AM
Or what are the possible ways to still use a no voltage relay to force the classic to rest of float.
Force float as observed is another input function of aux 2.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: ClassicCrazy on February 19, 2018, 10:14:42 AM
Quote from: 5 Minutes 2 Midnite on February 19, 2018, 03:06:32 AM
Quote from: boB on February 19, 2018, 12:45:43 AM
Won't hurt to take a quick look though even to satisfy my own curiosity.

Thanx. And It might be fun to throw the Pi idea to a MODBUS programmer on upwork.com. Those folks were cheap, and if there is sufficient documentation on how the Classic uses MODBUS perhaps they could write the code w/o actually having a Classic on hand. If I work up the energy I might iterate the idea, since so many could possibly benefit from such a solution.

There is a section on the forums here with examples and code from people who have made the Arduino and Raspberry Pi work with their Classics   look on main forum page then down to  The Open Source software/hardware corner
Larry
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 19, 2018, 11:44:21 AM
Quote from: RossW on February 19, 2018, 03:56:42 AM
My NewModbus already exists for the pi, already has all the hard work done, and is being used by a couple of classic owners for exactly this purpose already.

Nice Ross! Thanks so much for sharing this.

It would be interesting to talk to one of the owners using your utility for this purpose and see how they put all the pieces together to derive the solution. I'm sure it's all very straightforward once completed, but if someone has taken this over the hump it would be helpful to see a step-by-step outlined.

Thanx again.
Title: Re: Classic aux settings for lifepo4 bms charging termination
Post by: 5 Minutes 2 Midnite on February 19, 2018, 11:54:05 AM
Quote from: mahendra on February 19, 2018, 09:50:37 AM
Or what are the possible ways to still use a no voltage relay to force the classic to rest of float.
Force float as observed is another input function of aux 2.

Mahendra, if I am understanding the thread correctly the aux 2 is no longer in play. The action is at the Ethernet port instead (see boB's comment). I think the outline is that it would work like this:

1) The output relay terminals on your BMS physically connects to an I/O port on a Rasberry pi (that's the hardware you were inquiring about. Plus SD storage card and power supply for pi)

2) The pi is running the executable supplied by RossW

3) The pi has an Ethernet cable connecting it to the Classic's Ethernet port

Now it's just a question of using the utility running on the pi to trigger the Classic into Resting/Float mode when the pi detects a closed loop on the input from the BMS.

I have never seen a pi and have no idea how to load the utility to it and then program it as needed. You probably don't either. So both of us should probably checkout the section ClassicCrazy is pointing to for more info.