Still it’s important to understand why a certain pin configuration exists and how you can create your own. But now let’s begin with the actual schematic.
As discussed, the board receives VBAT via the ESC connector. The main user error we want to prevent regarding this is reverse voltage when plugging in the ESC. Without protection this would most likely break core components on the board.
To stop current from flowing when the voltage is reversed, we use a P-channel MOSFET setup. Drain connected to VBAT, source to the rest of the board, and gate connected to GND through a resistor.
In correct polarity, the body diode conducts first, pulling source up to VBAT.
As is negative the MOSFET turns on.
In reverse polarity, battery negative is on the drain and battery positive is on the gate.
A P-channel FET needs a negative to conduct, so it stays off and the board is protected.
Most standard FETs have a maximum of . When powering the board from a pack (), would exceed this without protection. Therefore we add a Zener diode across source and gate in reverse bias to clamp the voltage. If exceeds the Zener voltage, the diode conducts and clamps to a safe value. A Zener clamps to keeping well within the limit on any cell count.
The gate resistor is essential here. Without it, the gate would be hardwired to GND, and the Zener would create a direct short from source to GND once it conducts. I learned this the hard way on my first board.
Although reverse polarity protection isn’t necessary for the main functionality of the FC it is still highly recommended.
Since we're powering the flight controller directly from the same battery that powers the ESCs, there's a risk of voltage spikes exceeding the maximum ratings of our components. If space allows, it can make sense to add a TVS diode to clamp the voltage to a safe maximum.
The TVS diode sits between VBAT (after the reverse polarity protection) and GND in reverse bias. To size it correctly, we need two parameters.
(reverse stand-off voltage) is the maximum voltage the diode can see continuously without meaningful conduction. This must sit above our maximum nominal battery voltage, otherwise the diode would leak current during normal operation.
(breakdown voltage) is where the diode actually starts clamping. This must sit below the absolute maximum rating of the components we're protecting. is usually specified as a range ( to ).
For our board the max nominal VBAT is and the buck's absolute maximum is . A TVS with and fits the window. It stays off during normal operation with some margin above , and starts conducting before the buck sees anything dangerous.
An important note is that even with these specs, clamping isn't instant and isn't perfectly at . During a fast transient, components downstream may briefly see voltages above before the TVS fully conducts. But the input capacitors of the buck absorb most of this, so the IC itself will most likely not see the peak.
The second power input on our FC is USB-C which we use during configuration. Looking at the symbol and footprint of the USB-C connector, you might notice that most pins occur twice which is the case to allow plugging in the connector in both orientations.
This is just the start. Unlock every chapter, the interactive board files, and all future updates.
Unlock the full guide