Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc safety #134

Merged
merged 5 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 50 additions & 21 deletions docs/safety.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Safety
This section desribes safety considerations, subjectively sorted by the most important to the least important. Please read the section, even if most parts sound obvious to you.
# Safety
This section describes safety considerations, subjectively sorted by the most important to the least important. Please read the section, even if most parts sound obvious to you.
Bear in mind, that I'm not an electrician and I can't take legal responsibility for injuries or financial damages, that I might cause by giving you wrong advice.

## Short circuiting (SC)
## Glossary
- V - Volt (as an SI unit) or Voltage
- DC - Direct Current: produced by the renewables. Usually describes systems sharing the common voltage of 12V, 24V or 36V. This is also the type of current stored within the batteries (lead-acid, LiFePo4, etc.).
- AC - Alternating Current: The sinusoidal "household" current produced by the Inverter, accepting the DC as its input. The AC comes in 230V in the EU or 110V in Canada (TODO: Anywhere else?). The sinusoidal nature of this current allows it to generate sqrt3 (???) more power than the DC of the same voltage would.
- SC - Short Circuiting (see below)

## Short Circuiting (SC)
SC means connecting (+) and (-) to each other while there's energy stored or being produced, that would cause the electricity to flow between them.
If this doesn't cause death or injury, it could at least damage your hardware.
A SC can be caused not only by connecting the nodes directly, but also indirectly, when you for example touch the (+) and the (-) with your hands simultaneously.
In such case, the charge passes right through you and definitely causing harm.
Unfortunatly a similar situation might occur, if you touch the (+) and are standing on the floor, without shoes, that would otherwise serve as isolation. If the floor is wet, it worsens the situation.
Unfortunately a similar situation might occur, if you touch the (+) and are standing on the floor, without shoes, that would otherwise serve as isolation. If the floor is wet, it worsens the situation.

## Terminals: connecting and disconnecting
When connecting and disconnecting terminals the following rules apply, that minimize (though not eliminate) the risk of an electro shock:
Expand All @@ -18,13 +24,13 @@ Or as a rule of thumb easy to remember: the + (red) can always be connected alon
The same rule applies to all the other bipolar connectors as well.

### Advanced and generic terminal handling
Below is a coloured diagram that represents a generic procedure of connection of 2 elements -
Below is a colored diagram that represents a generic procedure of connection of 2 elements -
a charged battery and a dead battery, the latter of which may serve as an alias for an energy consumer.
If it's only possible, "the consumer" should be switched off during the act connection.

![cable-advanced](screenshots/cable-advanced.jpg)

As before, the disconnection should proceed in exacly the opposite order of the connection.
As before, the disconnection should proceed in exactly the opposite order of the connection.

Notice the irrelevant (to our case), instruction to connect the negative terminal to an engine's block for grounding.
We'd rather connect it to the negative pole of an inverter.
Expand All @@ -37,9 +43,12 @@ While a 24V system delivers slightly more economic alternative (in an optimistic

## Fire extinguishers
We recommend keeping at least a small fire extinguisher (FE) near the batteries, MPPT controller and the inverter (in that order).
Make sure that the FE is suitable for dealing with electrical devices. You can buy cheaply FE rated up to 1000V.
Make sure that the FE is suitable for dealing with electrical devices. You can buy FE rated up to 1000V rather cheaply.
Except for the inverter, which produces 230V AC, the remaining parts of the system are mere 24V DC at best, if not the recommended 12V DC.
In case of a fire event, make sure to keep as much distance to the device being extinguished as possible, as this reduces your risks.
In case of a fire event, make sure to keep as much distance to the device being extinguished as possible, as this reduces your risks.
Use only short bursts of the extinguisher's material and observe the reaction.
Keep in mind, that the material stored in an FE's tank is quite time limited and would suffice for only up to a minute of a continuous burst.
After the event make sure to move all the electronic hardware away from the place, where you were using the FE, as the FE's material is highly corrosive.

## MPPT cutoff voltage
The MPPT controllers cut off any input that would exceed the maximal voltage, that you may set to prevent your batteries from overloading.
Expand All @@ -51,7 +60,7 @@ I personally set my maximal voltage to 13.4V for a 12V system.
In the case of calcium batteries, their conservation involves refilling their cell(s) with a tiny dose of distilled water.
The reason for this requirement is that as the batteries' internal temperature rises, the electrolyte evaporates.
In order to refill the electrolyte, one of the screws on top of the battery has to be unscrewed.
**Before staring to unscrew the screwes put on protective googles**.
**Before staring to unscrew the screws put on protective googles**.
The reason for this is, that depending on how much cumulative overheats the batteries had to experience, so will be the built up pressure inside.
This pressure will find its way out as soon as you start unscrewing the battery.
At the same time the air will typically contain traces of the electrolyte, that can be dangerous to your health.
Expand All @@ -60,7 +69,7 @@ Obviously protective gloves also wouldn't hurt.


## MPPT reaction time
Bear in mind, that they react with a delay, so if you set the voltage high but still, say, 1V below the maximal sane batteries' voltage (14V vs 15V), exceeding of which would temporarly shut down your inverter, the delay in reaction of the MPPT controller may still lead to overvoltage, as defined by the inverter.
Bear in mind, that they react with a delay, so if you set the voltage high but still, say, 1V below the maximal sane batteries' voltage (14V vs 15V), exceeding of which would temporarily shut down your inverter, the delay in reaction of the MPPT controller may still lead to overvoltage, as defined by the inverter.
This is very apparent during days with low clouds with gaps, resulting in switching your panels on and off multiple times.
The reason for this confusion is, that as soon as the battery is >80% charged, the voltage starts raising much faster with the same energy input, therefore the previous assumptions of slower growth and adjusted reaction time don't hold anymore.
Below you can see the typical charge profiles of lead-acid batteries, where above the ~80% charge, you may experience the sudden non-linearity of voltage, that confuses the MPPT controllers.
Expand All @@ -71,23 +80,43 @@ In case your MPPT controller does lead to shutdowns of your inverter anyway, a g
I've had very good experience with `APC SurgeArrest®`, model `BE325`, which consumes little instantaneous power during charging, so that the inverter can easily handle it.

## Cable sizes vs current

TODO: description
It should be noted, that the low voltages typically associated with the DC, suffer from being unable to be "pushed" through narrow cables for even moderate distances.
As an analogy, try think of a decent volume of water trying to be pushed trough a pipe.
The pipe would have to be wide enough to be able to accept that larger volume of water.
The producer of the inverter that I bought, provides the following sheet, that quantifies the above relationship:

![cable-sizes](screenshots/cable-load-length.jpg)

As you may conclude, we aren't really talking about long distances, that can be serviced at such low voltages of the DC current.
A consequence of violating these limitations are:

- an instability between the input MPPT controller and the batteries, leading to a slowdown of its reactions, hence instability
- a loss of voltage available to the inverter w.r.t. what the current charge of the batteries might be, ultimately leading to a lower available Wattage, that the inverter can deliver to the end consumers
- an overheat of the abused (narrow parts of) cables and possibly a fire event

This might be one reason for you to consider a 24V system, as it increases the cables' tolerance (see the table again).
Another reason would be suffering fewer losses during the conversion from 24V DC up to 230V AC, compared to the conversion from 12V DC up to 230V AC.

## Cables parallel

TODO: description
You've probably noticed the 3rd column of the table presented in the "_Cable sizes_" section, titled "_Number of sets_".
It depicts the relaxed cable parameters under the condition of an optional, additional, parallel connection of the cables between the batteries and the inverter's two pairs of terminators.
Conceptually, the connection would look like on the following picture:

![cable-paralell](screenshots/cable-paralell.jpg)

## Cables configurations
Please take a special note of the _Fire Hazard_ warning: the need of using pairs of cables of only __the same__ thickness.
It describes a special case of what has already been described in the "_Cable sizes_" section, where the "_(narrow parts of) cables_" were mentioned.
Here the "_narrow part_" would simply be the entire pair of the narrower parallel cables.

TODO: description & maybe move somewhere else as it's not safety related?
## Battery configurations
For the completeness sake, below is the schematics of the battery configurations:

![cable-configurations](screenshots/cable-configurations.jpg)

Note, that even though for the series configuration, the capacity, as measured in Ah, remains the same, for the reason of the voltages being larger, the available instaneous power, measured in Watts [W] becomes proportionally larger, as P = V * A (W = V * A).
The cable thickness / length limitations however remain.


## Chain of safety and responsibility
After mounting a somewhat powerful set of energy related devices, you automatically take some responsibility for keeping if fault free, else you risk fire and explosion.
Expand All @@ -98,25 +127,25 @@ Imagine the extreme situation, which happened to me:

- you leave the apartment for a week
- the Sun shines for the entire time, thus producing both energy via your panels and increases the air temperature by a lot
- your batteries get charged to 100% in just one day of your absense, but
- your batteries get charged to 100% in just one day of your absence, but
- you forgot to schedule the automated mining.

The consequences are the following:

- the batteries have no chance to dissipate the excess energy and the MPPT controller has to dissipate it 12 h/day while it's already very hot
- after just 3 days of working overtime and in extreme conditions the MPPT controller's internal electronics starts to melt down
- the MPPT controller malfuntioned electronics can't read the battery voltage anymore and assumes it's 0
- the MPPT controller malfunctioned electronics can't read the battery voltage anymore and assumes it's 0
- the MPPT controller stops dissipating heat and pushes all it has to the batteries
- the batteries start to boil, leading to sulfation, in case of Lead-Acid batteries, and risk an explosion, especially if somebody around is having a smoke, or worse, in case of Lithium batteries, *almost guarantee* an explosion.

As you might conclude, there's a chain of responsibility there: Panels -> MPPT -> Batteries -> Mining rigs.
If any of them fails, the prior one tries to take over, until it can't.
That's why scheduled mining is not only a way of making some money, but also a flexible safety procedure.
Even if a given desktop computer doesn't mine at all, if it can only be switched on just to consume 50 W in its idle mode, these are 50 W, that the MPPT controller doesn't have to dissipate, thus reducing a risk of a failure in the long run.
Or in other words: the energy dissipation is being offset, quite like a hot potato, to a different entity that is able to handle it.
Even if a given desktop computer doesn't mine at all, if it can only be switched on just to consume 50 W in its idle mode, these are 50 W, that the MPPT controller doesn't have to dissipate, thus reducing a risk of its failure in the long run.
Or in other words: the energy dissipation is being offset, quite like a hot potato, to a different entity that is able to handle it at a given span of time.

My Lead-Acid batteries broke down in the process, but in the end, I was able to repair them with a relatively cheap (~50$ as of year 2022) rectifier.
Another conclusion here is, that there are usually solid reasons why such installations catch fire, rather than them being purely random events.
My Lead-Acid batteries broke down in the process, but in the end, I was able to repair them with a relatively cheap (~50$ as of year 2022), but reliable rectifier from China.
Another conclusion to draw here is, that there are usually solid reasons why such installations catch fire, rather than them being purely random events.


Fingers crossed!
Expand Down
2 changes: 1 addition & 1 deletion docs/web-archive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ All copyright belong to the authors of the sites and/or authors of the content i
# Catalogue of documents
- [LiFePo4 Footprinthero.com](lifepo4/footprinthero.com/)
- [Lead-Acid charging/discharging graphs '93](lead-acid/lead_acid_battery_charging_graphs.pdf)

- TODO: proof for charging up to 80% from BatteryAcademy