smagicld / xiaoxiangBMS

iOS app for Xiaoxang BMS
85 stars 9 forks source link

Switching charge and discharge port on/off. #168

Open itchako opened 2 years ago

itchako commented 2 years ago

Would be great if switch buttons could be added to switch charge und discharge MOS-Fet‘s on/off. On my Liontron 110AH I saw already that something like this is possible.

kind regards itchako

smagicld commented 2 years ago

Can you explain in detail what you mean? What is your use case?

There is already config option to switch off the charge together with discharge mosfet or just discharge mosfet only.

Von meinem iPhone gesendet

Am 09.01.2022 um 20:20 schrieb Jakob Lemler @.***>:

 Would be great if switch buttons could be added to switch charge und discharge MOS-Fet‘s on/off.

kind regards itchako

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.

itchako commented 2 years ago

Have several batteries behind a charge booster which can provide 30A max. But if one battery is 100% loaded, the booster still shows around 10a current going in.

My Intension is to switch off the charging Mos-fet of the fully loaded battery to add these 10a to the loading current for the other remaining batteries to optimize charging time.

In Version 1 of the tool there is such a switch button but that is stopping charge and discharge Mos-fets together. At least I did not find a possibility to Stopp only the charging Mos-fet. Means I am looking for independent Buttons for charge and discharge Ports.

Hope that helps.

Kr Jakob

Semper Paratus

Am 09.01.2022 um 20:32 schrieb Magic @.***>:

 Can you explain in detail what you mean? What is your use case?

There is already config option to switch off the charge together with discharge mosfet or just discharge mosfet only.

Von meinem iPhone gesendet

Am 09.01.2022 um 20:20 schrieb Jakob Lemler @.***>:

 Would be great if switch buttons could be added to switch charge und discharge MOS-Fet‘s on/off.

kind regards itchako

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

smagicld commented 2 years ago

Hi Jakob

you’re the first with such use case.

so what would you say about toggle buttons under the arrows to enable / disable the input/output MOSFET?

Am 09.01.2022 um 20:49 schrieb Jakob Lemler @.***>:

Have several batteries behind a charge booster which can provide 30A max. But if one battery is 100% loaded, the booster still shows around 10a current going in.

My Intension is to switch off the charging Mos-fet of the fully loaded battery to add these 10a to the loading current for the other remaining batteries to optimize charging time.

In Version 1 of the tool there is such a switch button but that is stopping charge and discharge Mos-fets together. At least I did not find a possibility to Stopp only the charging Mos-fet. Means I am looking for independent Buttons for charge and discharge Ports.

Hope that helps.

Kr Jakob

Semper Paratus

Am 09.01.2022 um 20:32 schrieb Magic @.***>:

 Can you explain in detail what you mean? What is your use case?

There is already config option to switch off the charge together with discharge mosfet or just discharge mosfet only.

Von meinem iPhone gesendet

Am 09.01.2022 um 20:20 schrieb Jakob Lemler @.***>:

 Would be great if switch buttons could be added to switch charge und discharge MOS-Fet‘s on/off.

kind regards itchako

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread. — Reply to this email directly, view it on GitHub https://github.com/smagicld/xiaoxiangBMS/issues/168#issuecomment-1008362345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHW32ZB3OPUFN3Y6UDCGEVDUVHRFDANCNFSM5LSF5GQQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

itchako commented 2 years ago

Sounds great! Thanks in advance.

Kr J

Am 09.01.2022 um 21:02 schrieb Magic @.***>:

 Hi Jakob

you’re the first with such use case.

so what would you say about toggle buttons under the arrows to enable / disable the input/output MOSFET?

Am 09.01.2022 um 20:49 schrieb Jakob Lemler @.***>:

Have several batteries behind a charge booster which can provide 30A max. But if one battery is 100% loaded, the booster still shows around 10a current going in.

My Intension is to switch off the charging Mos-fet of the fully loaded battery to add these 10a to the loading current for the other remaining batteries to optimize charging time.

In Version 1 of the tool there is such a switch button but that is stopping charge and discharge Mos-fets together. At least I did not find a possibility to Stopp only the charging Mos-fet. Means I am looking for independent Buttons for charge and discharge Ports.

Hope that helps.

Kr Jakob

Semper Paratus

Am 09.01.2022 um 20:32 schrieb Magic @.***>:

 Can you explain in detail what you mean? What is your use case?

There is already config option to switch off the charge together with discharge mosfet or just discharge mosfet only.

Von meinem iPhone gesendet

Am 09.01.2022 um 20:20 schrieb Jakob Lemler @.***>:

 Would be great if switch buttons could be added to switch charge und discharge MOS-Fet‘s on/off.

kind regards itchako

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread. — Reply to this email directly, view it on GitHub https://github.com/smagicld/xiaoxiangBMS/issues/168#issuecomment-1008362345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHW32ZB3OPUFN3Y6UDCGEVDUVHRFDANCNFSM5LSF5GQQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

smagicld commented 2 years ago

Hi Jakob

Please send me your email to [xiaoxiang at e77code.com] so I can add you into the beta testing (TestFlight). the toggles are there (Version: 1.2.28, Build: 5708)

once I got your e-mail and apple released the build you'll get an invitation email.

image
RCinFLA commented 2 years ago

Some BMS's allow this to be done but it has some negative consequences.

There are two back to back MOSFET's to provide true bi-directional switching. Each of the back to back MOSFET's have a body diode that will allow current to pass in opposite direction, with a diode voltage drop.

Turning off the MOSFET responsible for passing charge or discharge will result in other function having a diode drop which can cause a lot of self heating if too much current is drawn through turned off MOSFET body diode.

Unit's that have this 'charging' or 'discharging' on-off capability also monitor the pass current and override the user manual setting, turning back on the user deactivated MOSFET if too much current is drawn.