Inverter: Ferroamp - dalathegreat/Battery-Emulator GitHub Wiki
[!CAUTION] Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.
Compatible Ferroamp inverters
- FerroAmp EnergyHub
Bill of Material of FerroAmp components
- 1x FerroAmp EnergyHub
- 1x FerroAmp DC Distribution
- 1x FerroAmp Power Case
- 1x or 2x FerroAmp ESO (Energy Storage Optimizer) Module, installed inside the Power Case.
Communication wiring
The Ferroamp inverter works via CAN. The LilyGo board can have both a CAN battery and a CAN inverter connected on the same pins. When the board is used with two CAN devices at the same time that have termination resistors in all ends, the terminating resistor needs to be removed from the board. Please measure CAN termination if you have issues, or before removing the resistor. This is explained in CAN-troubleshooting
âšī¸ Always check the termination resistance of the system! That way you know if resistor needs to be removed or not.
âšī¸ Grounding is extremely important. Make sure the battery case is connected to protective earth, and the shield part of the twisted pair CAN is connected to PE also! Failing to do this will result in CAN errors.
PD10008_ESS-Power-Case-Installation-Manual_A02b.pdf
Compiling the software for Ferroamp inverters
Make sure that the settings in the "USER_SETTINGS.h" file are correct. The line:
//#define PYLON_CAN //Enable this line to emulate a "Pylontech battery" over CAN bus
Needs to be uncommented for the software to emulate the correct protocol.
[!IMPORTANT]
The Pylon protocol is very versatile. By default we emulate a 4x96V Force H2 battery. Not all inverters like this setup, so please adjust the configuration if needed. Pylon options are located in the file/Battery-Emulator/Software/src/inverter/PYLON-CAN.cpp
The following options need to be set:
- SEND_1
- INVERT_LOW_HIGH_BYTES
- SET_30K_OFFSET
- TOTAL_CELL_AMOUNT 420 // Edit steps of 30, as how much your battery Wh is. 30 = 3552Wh, so 420 = 49728Wh*
- MODULES_IN_SERIES 4
- CELLS_PER_MODULE 30
- VOLTAGE_LEVEL 384
- AH_CAPACITY 37
*If you want Ferroamp support to see our battery in correct way you can't change in 30 steps since the battery that matches EV-packs voltage comes in 4 modules 30x4=120. so to look good to Ferroamp support you can only change in steps of 120.
Next step is then to select the battery that you intend to use, for instance if you use LEAF battery, make sure the following line is uncommented:
#define BATTERY_TYPE_LEAF // See NISSAN-LEAF-BATTERY.h for more LEAF battery settings
Troubleshooting
Experiences with various troubles and solutions.
- ESO communications failure (Fault 2): Ask FerroAmp to update ESO to latest firmware.
- ESO gets stuck in "precharge" mode from time to time: Ask FerroAmp to update eHub to latest version. (5.8.6 seems to be stable!)