I started some testing on some subsections of the BLDC motor controller and ran into some problems and learned several things. I'm working with chatgpt to resolve each issue and have been updating my schematic to reflect alot of the changes I am making. One thing I learned is that for the high side switch, the voltage from gate to source has to be 10-12v higher than the drain voltage because the drain voltage becomes the same as the source voltage once the switch is on. The voltage from gate to source then either has to start out as motor input voltage + 12 while still fitting within the voltage from gate to source max allowed voltage as stated by the datasheet or it has to rise dynamically as the source voltage rises such that the voltage from gate to source is 12 more than the source voltage as the source voltage rises to become the drain voltage. Fortunately, I can have the former for this 2430 motor since I can use 6-8.4v to supply the motor and the voltage from gate to source max value is 20v. This means I can use voltage from gate to source of 20v and this, when mosfet is first switched on, does not fry mosfet but as the source rises to become 8.4v, 20v-8.4v is still 11.6v which is sufficiently high to enable the mosfet to still stay on without anything dynamic set up. If I want to go with a 12v motor supply on some of the bigger motors later on, I will need a bootstrap circuit to supply the highside mosfet with a dynamic voltage from gate to source that rises when source voltage rises. So I added that schematic diagram to this as well as an option. I also can use a mosfet driver for this but was hoping to cut that cost and added volume taken up by just using discrete components rather than a IC for this.
Anyways, to break things down even more in testing, I decided to just test turning on and off a single highside mosfet using a pair of lab power supplies, one to provide 20v and one to provide 8.4v. To turn on I connected the gate and source to my 20v lab power supply and I connected my red alligator clip of my 8.4v lab power supply to the drain and then measured from source to the black lead of the 8.4v power supply and verified 8v on that test which worked - proving the mosfet was in fact on. I then removed the black alligator clip of the 20v lab power supply from source and shorted the source to the gate to drain the internal capacitor inside the mosfet and then tested from source to the black 8.4v clip and sure enough it was near 0v so was off. But it did gradually climb back up to 8.4v after the short from gate to source was removed due to capacitive coupling and leakage according to chatgpt. So I will need to add a 10k ohm resistor between gate and source pins to short it automatically and keep it fully drained and off fully when it's supposed to be off.