Parallel Bank Monitor

Started by Barry Fields, October 16, 2023, 09:04:21 PM

Previous topic - Next topic

boB


Barry, the Pi SBCs run off of their micro-SD cards pretty much.

SOME have this EMCC (right term ?)  memory that aren't so failure prone as the micro SD card on the Pi board itself.  That is better.

These Pi boards run a form of Linux and so they are nice to work with and update.

They already have a MCU that works well but with that speed and power just don't have the peripherals we would all like, as well.

boB
K7IQ 🌛  He/She/Me

ClassicCrazy

Quote from: boB on October 20, 2023, 04:50:11 PMBarry, the Pi SBCs run off of their micro-SD cards pretty much.

SOME have this EMCC (right term ?)  memory that aren't so failure prone as the micro SD card on the Pi board itself.  That is better.

These Pi boards run a form of Linux and so they are nice to work with and update.

They already have a MCU that works well but with that speed and power just don't have the peripherals we would all like, as well.

boB


The Pi4 and the newly announced and soon available Pi5 can boot and run from an attached hard drive.
Here are some details on the new Raspberry Pi 5
https://youtu.be/nBtOEmUqASQ?si=BcJjlBaYszekWaVV

Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Barry Fields

Good video. Hope there is not a test later.
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

Barry Fields

Does the 150 receive charge/discharge  as positive/negative values or are they biased positive?

Does the 150 MCU have spare input ports SPI or UART?
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

boB

Quote from: Barry Fields on October 21, 2023, 03:02:08 PMDoes the 150 receive charge/discharge  as positive/negative values or are they biased positive?

Does the 150 MCU have spare input ports SPI or UART?

Classic microprocessor pins are all used up I think.

There are 4 UART connections but all used for RS-232 and Arc fault communications.

It's kind of an older ARM processor.  LPC2366

boB
K7IQ 🌛  He/She/Me

Barry Fields

#20
Does the 150 receive charge/discharge  as positive/negative values or are they biased positive?

purple wire on aux2 always a positive voltage?
I'm missing something here. Does the circuitry on the WizBang receive it's power thru the purple wire?
It's obviously more complicated than I first thought.
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

boB

Here in the US, we tend to call discharging "negative" and charging as "positive"...

I think that SMA, for instance, is backwards of that.

The WB Jr. purple wire is power (~ +15V) for around 90 milliseconds, then data and then back to power again until the next 1/10 of a second.

Negative for that of course is battery negative itself. 

That line can actually do A/D and D/A over a very limited range but we don't use that at the moment.
Pretty cool, huh ?

Oh, so I guess that data does use a 5th UART but just for receiving one the Classic.
That part just happened to work out.   

 :)

boB
K7IQ 🌛  He/She/Me

Barry Fields

Nice. I love creative solutions to problem solving.
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

Barry Fields

Quote from: boB on October 21, 2023, 08:54:16 PMHere in the US, we tend to call discharging "negative" and charging as "positive"..

We here in Tennessee actually consider ourselves part of the US. Maybe you should have said "Here in the present". Just an old timer's thought.

Quote from: boB on October 21, 2023, 08:54:16 PMThe WB Jr. purple wire is power (~ +15V) for around 90 milliseconds, then data and then back to power again until the next 1/10 of a second.

Tell me where I am going wrong.
This implies a sampling  rate of 10 times a second. How much accuracy would be lost if the sampling rate was 5 times a second. The battery currents probably do not change rapidly.

Would a lower sampling rate free up enough data time for a "Whiz bang Sr" to monitor 4 separate battery bank shunts?
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

boB

#24
"How much accuracy would be lost if the sampling rate was 5 times a second."

A/D is 16 bits maximum.  Five per second won't make it any better.

10 times per second is better for more accurate Amp-Hour calculation.

Now, we could go much faster and get less accuracy but 16 bits is the max resolution which we use.

Offset is re-calibrated between every sample, too.


"We here in Tennessee actually consider ourselves part of the US"

Yes, Tennessee is included in the US.  I should have said US and north America.

boB
K7IQ 🌛  He/She/Me

Barry Fields

Quote from: boB on October 22, 2023, 07:23:23 PMA/D is 16 bits maximum.  Five per second won't make it any better.

10 times per second is better for more accurate Amp-Hour calculation.

I guess I'm asking how much does battery current change from 1/5th of a second to the next.

Quote from: boB on October 22, 2023, 07:23:23 PMYes, Tennessee is included in the US.  I should have said US and north America.

Except for that time in the 1860's
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

boB

I guess I'm asking how much does battery current change from 1/5th of a second to the next.


Battery current can change 120 times per second in north America.  8.33 milliseconds due to full wave rectified 60 Hz ripple.

That is why these A/D inputs have some R-C averaging but not real slow.

Faster is more accurate.

boB
K7IQ 🌛  He/She/Me

Barry Fields

Quote from: boB on October 22, 2023, 09:06:52 PMI guess I'm asking how much does battery current change from 1/5th of a second to the next.


Battery current can change 120 times per second in north America.  8.33 milliseconds due to full wave rectified 60 Hz ripple.

That is why these A/D inputs have some R-C averaging but not real slow.

Faster is more accurate.

boB

I am going for the dumb questions of the day.

Where is the ripple coming from?

Why not improve RC filtering rather than ADCing the ups and downs of the ripple. should be minimal effect on accuracy.

How absolutely accurate bank current is required compared to added functionality?

Barry
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.

boB


Ripple comes from the inverter AC current.  There is always some 120Hz ripple reflected to the battery side due to limited energy storage in the inverter itself and the fact that AC current drops to zero at zero crossings.

The RC has been done for years and we aren't thinking about fixing what isn't broken at the moment.

Maybe some day we will look at this again though.

boB
K7IQ 🌛  He/She/Me

Barry Fields

Every system is different. I have attached the schematic (reverse engineered by me) for the power board of the AIMS inverters (48v 6000w 220v split phase) I use. One on continuously and the other for opportunity loads.

On the left you will note 9.9 Kilofarads per unit attached across the battery buss. I'm thinking I do not have much AC ripple.
Just an FYI
20 years experience in Field Service and Engineering Support in life support equipment and the computer Industry.
I pride myself in diagnostic skills and NOT knowing everything. I do know how to ask the right questions of those who should know the answers. I can do this politely.