jangmel
Newbie

Hello! Good day.
I plan to make a 3 Cell Active Balancing circuit using Arduino Uno.
It uses the Resonant swtiched capacitor method.
The MOSFETs(IRFZ40N) 1, 3, 5 and MOSFETs 2, 4, and 6 are given PWMs of opposite phases.
However, sometimes this causes certain cells to discharge rapidly.
I use a PWM of 2.33 kHz. One cycle of 2.33 kHz is 429us, and has a dead time of 10-20us.
First of all, what I'm most curious about is
1. Where should I connect Arduino's GND.
I'm currently connecting Arduino's gnd to the sources of MOSFETs 3, 4, 5, and 6.
I wonder if this is wrong. If it is wrong, I wonder which part I should connect Arduino gnd.
2. I wonder if I can connect Arduino's GND with the (-) of the power supply I use for the gate driver (TC4427).
If this is the wrong way, does the VDD and GND of TC4427 just need to connect to (+) and (-) of the power supply, and Arduino's GND only need to connect to the source of the MOSFET?
Sorry for the long question. I need the help of wise people.
Thank you! Have a nice day.