I made a simple BMS and placed 3 series of li-ion cells, voltage, and current sensors to read data but I have actually two problems.
1. I need some sort of sensor or something to detect if the charger or load is connected to the battery terminals so I can control the high-side charge and discharge N-channel MOSFETs (back to back).
2. I need a drive signal to control these MOSFETs. There are a lot of ICs especially designed for charge and discharge switches but they are expensive and I don't want to place such expensive IC on my simple BMS.
It is a simplified schematic of the circuit:
1. I need some sort of sensor or something to detect if the charger or load is connected to the battery terminals so I can control the high-side charge and discharge N-channel MOSFETs (back to back).
2. I need a drive signal to control these MOSFETs. There are a lot of ICs especially designed for charge and discharge switches but they are expensive and I don't want to place such expensive IC on my simple BMS.
It is a simplified schematic of the circuit: