อุปกรณ์สารกึ่งตัวนำและวงจรขับกำลัง

Diodes, transistors, MOSFETs, switching circuits and PWM

Last updated:

Overview

A drone adjusts motor speed hundreds of times a second, switches navigation lights, releases payloads and steps battery voltage down to 5 V for its electronics. All of this relies on semiconductor devices acting as electronic switches that turn large currents on and off in response to much smaller control signals. This unit covers diodes, transistors, MOSFETs, switching circuits and PWM, the basis of ESCs, regulators (BECs) and every load driver on board.

Semiconductors and diodes

A semiconductor such as silicon conducts moderately, and its behaviour is tuned by doping: n-type material has many free electrons, p-type has many holes. A p-n junction forms a diode, which lets current flow one way only, like a check valve in a water pipe.

  • Forward bias (positive on the anode): the diode conducts with a forward voltage VF, about 0.7 V for silicon and 0.3–0.4 V for a Schottky diode. Heat in the diode is P = VF × I.
  • Reverse bias: the diode barely conducts until its reverse voltage rating is exceeded.
  • LEDs are light-emitting diodes with VF of about 1.8–3.3 V depending on colour, and always need a current-limiting resistor.
  • A flyback diode across a relay, solenoid or motor coil gives the current somewhere to go when the switch opens, so the voltage spike does not destroy the transistor.

Transistors and MOSFETs

A transistor is a switch or amplifier controlled by a small signal. A bipolar transistor (BJT) is controlled by base current, while a MOSFET is controlled by the gate-source voltage (VGS), draws almost no current in a steady state and switches fast. Drone power circuits therefore use MOSFETs almost everywhere.

Datasheet values to read:

ValueMeaningWhy it matters
Maximum VDSDrain-source voltage the part withstandsMust exceed full battery voltage plus spikes, with margin
VGS(th)Gate voltage where a small current starts to flowNot the voltage for a full turn-on
RDS(on) at a stated VGSResistance when fully onSets conduction heat, P = I2RDS(on)
Gate charge QgCharge needed to turn the gate onThe larger it is, the stronger the gate driver must be to switch quickly

The basic circuit is the low-side switch: load between positive supply and drain, source to ground, gate driven from the microcontroller through a small resistor, plus a pull-down resistor from gate to ground so the MOSFET stays firmly off before the microcontroller starts.

Example 1: driving a 12 V LED strip from a 3.3 V GPIO pin

Assume a 12 V LED strip draws 3 A, and the chosen MOSFET's datasheet gives RDS(on) = 20 mΩ at VGS = 4.5 V (assumed).

  1. Fully on, conduction heat is 32 × 0.020 = 0.18 W, easily handled by a small package.
  2. But the GPIO pin only supplies 3.3 V, below the 4.5 V at which RDS(on) is specified. The MOSFET may not turn fully on; its real resistance can be several times higher and it runs much hotter than calculated.
  3. The fix is a logic-level MOSFET whose datasheet specifies RDS(on) at VGS of 2.5 V or lower, or a gate driver that raises the gate voltage.

Always read RDS(on) together with the VGS it was measured at, not the best number on the datasheet's front page.

PWM and MOSFET bridges

PWM (pulse-width modulation) switches rapidly on and off and varies the fraction of time on, the duty cycle D = ton/T. The load sees an average voltage Vavg = D × Vin. Because a switch that is fully on or fully off wastes very little energy, PWM is far more efficient than burning excess voltage as heat. PWM resolution depends on the timer clock: counts per period = fclock/fPWM.

Two meanings of "PWM" on a drone must be kept apart:

  • Power PWM inside an ESC or regulator switches MOSFETs at kilohertz rates or more, driving real current into windings.
  • Command PWM from the flight controller to the ESC: servo-style pulses of 1,000–2,000 µs encode throttle, or the digital DShot protocol sends the value as a number with a check code.

A BLDC motor ESC arranges six MOSFETs as three pairs. Each pair is a half-bridge: the upper device connects to positive, the lower to ground, and the midpoint drives one motor phase. The upper and lower devices of a pair must never be on together, or they short the battery directly (shoot-through), so the driver inserts a short dead time at each changeover.

Example 2: ESC MOSFET heat and PWM resolution

Assume an ESC on 22.2 V drives 20 A of motor current with 4 mΩ MOSFETs, switching at 24 kHz with 100 ns of combined rise and fall time (all values assumed).

  1. Conduction loss in a conducting MOSFET: 202 × 0.004 = 1.6 W.
  2. Switching loss, simple estimate: ½ × V × I × (tr + tf) × f = ½ × 22.2 × 20 × 100 × 10−9 × 24,000 ≈ 0.53 W.
  3. About 2.1 W for a hard-working MOSFET. Switching loss grows with frequency, which is the price paid for smoother current.

On the control side, the RP2350 on a Pico 2 runs at 150 MHz. PWM at 20 kHz gives 150,000,000 ÷ 20,000 = 7,500 counts per period, about 12.9 bits of resolution. Doubling the frequency to 40 kHz halves the counts.

Linear and switching regulators

A linear regulator burns the voltage difference as heat, P = (Vin − Vout) × I, so it suits only small differences and low currents. A switching (buck) regulator uses PWM-driven MOSFETs with an inductor and capacitors to smooth the output, typically reaching about 85–95% efficiency. Drones on high-voltage packs use switching regulators almost exclusively, but their switching noise can interfere with radio and video and must be managed.

Common pitfalls

  • Too little gate voltage, so the MOSFET is only partly on and overheats.
  • No gate pull-down, so the load may switch on by itself at power-up.
  • No flyback diode on relays, solenoids or brushed motors.
  • A voltage rating just equal to battery voltage, with no allowance for spikes.
  • Ordinary diodes in high-current paths, where VF × I heat is large.
  • Mixing up power PWM and command PWM, wiring a signal line into a power stage or the reverse.
  • Bench-testing an ESC with propellers on, or powering up the first time without a smoke stopper.

Continue in the lessons

Key references

  1. Boylestad, R. L., & Nashelsky, L. (2013). Electronic devices and circuit theory (11th ed.). Pearson.
  2. Horowitz, P., & Hill, W. (2015). The art of electronics (3rd ed.). Cambridge University Press.
  3. ArduPilot Dev Team. ESCs and motors; DShot ESCs. link
  4. Raspberry Pi Ltd. Raspberry Pi Pico 2. link

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). อุปกรณ์สารกึ่งตัวนำและวงจรขับกำลัง. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/new/elec-semiconductors/