วงจรไฟฟ้ากระแสตรงและกระแสสลับ
Ohm's and Kirchhoff's laws, series-parallel circuits, electrical power and RC/RL circuits
Overview
A drone's electrical system runs from the battery through the main leads, the power distribution board, the ESCs and voltage regulators, to the flight controller, camera and radios. On the ground, chargers plug into AC mains. Designing, wiring and fault-finding all rely on the same small set of laws. This unit collects them as a reference: electrical quantities and Ohm's law, power and energy, series and parallel circuits with Kirchhoff's laws, AC, and RC and RL circuits.
Electrical quantities and Ohm's law
- Current (I, ampere A) is the rate of charge flow, I = Q/t, like litres of water passing through a pipe each second.
- Voltage (V, volt V) is energy per unit charge between two points, like water pressure. It is always measured between two points.
- Resistance (R, ohm Ω) is how hard it is for current to flow, like a narrow pipe. A wire's resistance is R = ρL/A, where ρ is the material's resistivity, L the length and A the cross-sectional area.
Ohm's law, V = I × R, holds for resistors at constant temperature; rearrange it as I = V/R or R = V/I for whatever you need.
Power and energy
Power (P, watt W) is the rate of energy use: P = V × I = I2R = V2/R. Energy is power times time, E = P × t, usually in watt-hours (1 Wh = 3,600 J). The I2R form carries an important message: heat in wires and connectors rises with the square of current. Double the current and the heat quadruples, which is why main leads carrying tens of amperes must be short and thick, with tight connectors.
Series, parallel and Kirchhoff's laws
| Series | Parallel | |
|---|---|---|
| Connection | One path, end to end | Across the same two points |
| What is equal | Current | Voltage |
| Total resistance | Rs = R1 + R2 + … | 1/Rp = 1/R1 + 1/R2 + … |
| Drone example | Cells in a 6S pack | Four ESCs on a distribution board |
Kirchhoff's current law (KCL): at any junction, total current in equals total current out, because charge is conserved. Kirchhoff's voltage law (KVL): around any closed loop the voltages sum to zero, because energy balances. Both laws check calculations and help locate faults in real circuits.
A voltage divider uses two series resistors: Vout = Vin × R2/(R1 + R2). Flight controllers use it to bring battery voltage into the ADC's range. With R1 = 100 kΩ and R2 = 10 kΩ, a full 6S pack at 25.2 V becomes about 2.29 V, below the ADC's 3.3 V.
Example 1: a power budget for a drone's 5 V bus
Assume these loads in parallel on a 5 V bus: flight controller 2.5 W, radio receiver 0.5 W, GNSS 0.8 W and video transmitter 4.0 W, fed by a 90% efficient switching regulator from a 6S pack at a nominal 22.2 V.
- Total 5 V power: 2.5 + 0.5 + 0.8 + 4.0 = 7.8 W.
- Total bus current by KCL: 7.8 ÷ 5 = 1.56 A. The regulator must supply more than this, with margin.
- Power drawn from the battery: 7.8 ÷ 0.9 ≈ 8.67 W.
- Pack current: 8.67 ÷ 22.2 ≈ 0.39 A.
0.39 A looks tiny next to the motors, but it flows for the whole flight, and adding a companion computer multiplies it. It always belongs in the endurance budget.
Alternating current
Alternating current (AC) changes size and direction as a sine wave, v(t) = Vp sin(2πft), where Vp is the peak, f the frequency and T = 1/f the period. AC magnitude is given as an RMS value, the DC value that would heat a resistor equally; for a sine wave Vrms = Vp/√2. Thai mains at 230 V 50 Hz therefore peaks at about 325 V with a 20 ms period. Equipment on mains must withstand that peak, and mains voltage can kill: never open a charger or power supply while it is plugged in.
RC and RL circuits
A capacitor (C, farad F) stores charge Q = CV and energy ½CV2, and resists sudden changes in voltage. An inductor (L, henry H) produces v = L di/dt, opposing changes in current, so its current cannot change instantly.
- An RC circuit has time constant τ = RC. While charging, the capacitor reaches about 63% of its final voltage at τ and over 99% at 5τ. Taking the output across C gives a low-pass filter with cut-off frequency fc = 1/(2πRC).
- An RL circuit has time constant τ = L/R; current rises gradually to V/R. If the current is interrupted quickly, the inductor produces a large voltage spike, so a diode or snubber is needed.
Example 2: RC and RL circuits found on boards
Filtering a voltage-sense line with R = 10 kΩ and C = 10 µF gives τ = 10,000 × 0.00001 = 0.1 s. The signal settles past 99% of a new value in about 0.5 s, and the cut-off is about 1/(2π × 0.1) ≈ 1.6 Hz. That rejects noise well, but a sudden battery sag is seen about half a second late.
A 12 V relay coil of 240 Ω and 0.5 H (assumed) settles at 12 ÷ 240 = 50 mA with a time constant of 0.5 ÷ 240 ≈ 2.1 ms. When a switch cuts that 50 mA, the coil tries to keep the current flowing and produces a voltage spike, so a diode is fitted across the coil.
Common pitfalls
- Using prefixed units unconverted, such as mA, kΩ, µF or nF straight in a formula.
- Forgetting the return wire when computing lead resistance and voltage drop.
- Adding parallel resistances directly instead of using reciprocals.
- Forgetting that the main lead carries the sum of every parallel load.
- Confusing peak and RMS: 230 V mains peaks at about 325 V.
- Wiring a divider upside down, overdriving the ADC.
- Switching a coil off without a protection diode.
Continue in the lessons
- UAT 103 Module 1: Electrical quantities and Ohm's law: power, energy, wire resistance and fuses.
- UAT 103 Module 2: Series, parallel and Kirchhoff's laws: KCL, KVL, voltage dividers and battery cell configuration.
- UAT 103 Module 3: AC, capacitors and inductors: RMS, RC circuits, filters and voltage spikes.
Key references
- Boylestad, R. L., & Nashelsky, L. (2013). Electronic devices and circuit theory (11th ed.). Pearson.
- Ling, S. J., Sanny, J., & Moebs, W. (2016). University physics volume 2. OpenStax. link
- Horowitz, P., & Hill, W. (2015). The art of electronics (3rd ed.). Cambridge University Press.
- ArduPilot Dev Team. Power module / battery monitor. ArduPilot Copter documentation. link