stuartpittaway / diyBMSv4Code

Software for diyBMS v4
Other
145 stars 65 forks source link

Check of inverter voltage / frequency as rules #72

Open DGrebe opened 3 years ago

DGrebe commented 3 years ago

Hi,

in my setup I have a double relay that is switching load between grid and inverter in order to have a save power supply in case of low battery or inverter fails.

This relay should be controlled by the ESPController rules.

As an additional measure, I would like to measure the output of the inverter (esp. voltage and frequency). These measures should be evaluated in the rules section.

I see two options to implement this via the ESPController:

  1. Direct modbus reading of SDM energy meters (https://github.com/reaper7/SDM_Energy_Meter) + keep everything required directly on the controller - would require a SW Serial connection and HW addition of the Controller board to include the modbus interface
  2. Use MQTT subscribe to receive the data from the energy meter + flexible and decoupling features, easier to implement, no hardware changes, - could distort the module communication, depends on external communication

Alternatively, one could use a separate industrial voltage control circuit (e.g. Eltako 2553803 ELTA NR12-001) + more fail save - loose flexibility in rules, no impact of the battery parameters on the switching.

Any interest in or suggestions for the implementation. Any suggestions or hints how others implemented security features controlling the inverter / power output? (off-topic)

Regards,

Dirk

stuartpittaway commented 3 years ago

Hi Dirk, the new controller uses an ESP32 and that allows the extension of whats possible, including RS485 and CANBUS for direct reading from inverters/chargers. This is currently work in progress.

There is also a separate voltage and current shunt design which will integrate with the new controller.

DGrebe commented 3 years ago

Hi Stuart,

Thanks, I will look into this.

Regards

Dirk

Am 27.12.2020 um 17:43 schrieb Stuart Pittaway notifications@github.com:

Hi Dirk, the new controller uses an ESP32 and that allows the extension of whats possible, including RS485 and CANBUS for direct reading from inverters/chargers. This is currently work in progress.

There is also a separate voltage and current shunt design which will integrate with the new controller.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stuartpittaway/diyBMSv4Code/issues/72#issuecomment-751489555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3RDHOILZTPENVWYR46MYTSW5P3NANCNFSM4VK7YCFQ.

DGrebe commented 3 years ago

Hi Stuart, I have found the code, but no information on the ESP32 controller. Do you plan a new controllerboard or does it fit into the existing one.

stuartpittaway commented 3 years ago

The controller is all new. Take a look at the openenergymonitor forum for picture and information. It's not released the the public just yet, still testing.