Bird
Raised Fist0
Drone Programmingprogramming~6 mins

Motor and propeller physics basics in Drone Programming - Full Explanation

Choose your learning style10 modes available
Introduction
Imagine trying to make a drone fly smoothly and steadily. To do this, you need to understand how the motor and propeller work together to push air and create lift. Without this knowledge, controlling a drone becomes guesswork.
Explanation
Motor Function
The motor converts electrical energy into mechanical energy by spinning its shaft. This spinning motion is what turns the propeller. The speed of the motor's rotation directly affects how fast the propeller spins.
The motor's speed controls how fast the propeller spins, which affects the drone's lift.
Propeller Role
The propeller blades push air downwards when they spin, creating an upward force called lift. The shape and size of the propeller blades determine how much air is moved and how efficiently lift is generated.
Propellers create lift by pushing air down, and their design affects how much lift is produced.
Thrust and Lift
Thrust is the force generated by the propeller pushing air down, which lifts the drone up. The amount of thrust depends on motor speed, propeller size, and blade angle. More thrust means the drone can rise or carry heavier loads.
Thrust from the propeller lifts the drone, and it depends on motor speed and propeller design.
Torque and Reaction
When the motor spins the propeller in one direction, it creates a twisting force called torque. This torque can cause the drone to rotate in the opposite direction, so drones use multiple motors spinning in opposite directions to balance this effect.
Torque from spinning propellers can rotate the drone, so opposite spins balance the drone's stability.
Real World Analogy

Think of a ceiling fan in a room. When the fan blades spin, they push air down to cool the room. If the fan spins faster, more air moves. But if the fan only spun in one direction without support, it might twist its mount. To keep it steady, imagine having two fans spinning opposite ways.

Motor Function → The fan's motor that makes the blades spin
Propeller Role → The fan blades that push air down to cool the room
Thrust and Lift → The air pushed down by the fan blades that cools the room
Torque and Reaction → The twisting force on the fan mount if it spins without balance
Diagram
Diagram
      ┌─────────────┐
      │   Motor     │
      │ (spins shaft)│
      └──────┬──────┘
             │
             ↓
      ┌─────────────┐
      │ Propeller   │
      │ (pushes air)│
      └──────┬──────┘
             │
             ↓
      ┌─────────────┐
      │   Thrust    │
      │ (lifts drone)│
      └─────────────┘

Torque ←───── Motor & Propeller spin

Opposite motors spin opposite directions to balance torque
This diagram shows how the motor spins the propeller, which pushes air down to create thrust that lifts the drone, and how torque from spinning is balanced by opposite motor directions.
Key Facts
Motor Speed → The rate at which the motor shaft spins, controlling propeller rotation speed.
Propeller Blade → The angled part of the propeller that pushes air to create lift.
Thrust → The upward force generated by the propeller pushing air down.
Torque → The twisting force caused by the motor spinning the propeller.
Counter-Rotating Motors → Motors spinning in opposite directions to balance torque and stabilize the drone.
Common Confusions
Believing that faster motor speed always means better flight.
Believing that faster motor speed always means better flight. While faster motor speed increases thrust, it can also cause instability or waste energy if not matched with proper propeller design and drone weight.
Thinking propellers only push air down without affecting drone rotation.
Thinking propellers only push air down without affecting drone rotation. Propellers create torque that can rotate the drone, so multiple motors spinning in opposite directions are needed to keep the drone stable.
Summary
Motors spin propellers to push air and create lift for the drone.
The amount of lift depends on motor speed, propeller size, and blade angle.
Torque from spinning propellers can rotate the drone, so opposite spins balance stability.

Practice

(1/5)
1. Which factor directly increases the thrust generated by a drone's propeller?
easy
A. Lowering the drone's weight
B. Increasing the motor speed (rpm)
C. Reducing the battery voltage
D. Decreasing the propeller size

Solution

  1. Step 1: Understand thrust formula basics

    Thrust depends on the square of the motor speed (rpm) and the propeller area.
  2. Step 2: Identify which factor increases thrust

    Increasing rpm increases thrust because thrust ∝ rpm² x propeller area.
  3. Final Answer:

    Increasing the motor speed (rpm) -> Option B
  4. Quick Check:

    Thrust ∝ rpm² [OK]
Hint: Thrust grows with rpm squared, so speed up motor [OK]
Common Mistakes:
  • Thinking smaller propellers increase thrust
  • Confusing power with thrust
  • Ignoring rpm's squared effect
2. Which of the following is the correct Python syntax to calculate power given rpm and propeller_area variables?
easy
A. power = rpm ** 2 + propeller_area
B. power = rpm * 3 * propeller_area
C. power = rpm ^ 3 * propeller_area
D. power = rpm ** 3 * propeller_area

Solution

  1. Step 1: Recall Python exponent syntax

    Python uses ** for exponentiation, so rpm cubed is rpm ** 3.
  2. Step 2: Match formula for power

    Power depends on rpm cubed times propeller area, so multiply rpm ** 3 by propeller_area.
  3. Final Answer:

    power = rpm ** 3 * propeller_area -> Option D
  4. Quick Check:

    Use ** for power, not ^ or *3 [OK]
Hint: Use ** for powers in Python, not ^ or * number [OK]
Common Mistakes:
  • Using ^ instead of ** for exponent
  • Multiplying rpm by 3 instead of cubing
  • Adding instead of multiplying
3. What is the output of this Python code snippet?
rpm = 1000
propeller_area = 0.05
thrust = rpm ** 2 * propeller_area
print(round(thrust, 1))
medium
A. 50000.0
B. 50000
C. 50000.00
D. 50.0

Solution

  1. Step 1: Calculate rpm squared

    rpm ** 2 = 1000 * 1000 = 1,000,000.
  2. Step 2: Multiply by propeller_area

    1,000,000 * 0.05 = 50,000.0.
  3. Step 3: Check print rounding

    round(50000.0, 1) = 50000.0 and print outputs 50000.0.
  4. Final Answer:

    50000.0 -> Option A
  5. Quick Check:

    Thrust = 1000² x 0.05 = 50000.0 [OK]
Hint: Square rpm, multiply by area, then round [OK]
Common Mistakes:
  • Misreading rounding precision
  • Calculating rpm squared incorrectly
  • Confusing thrust with power
4. Identify the error in this Python code that calculates power:
rpm = 1200
propeller_area = 0.04
power = rpm ^ 3 * propeller_area
print(power)
medium
A. Multiplying instead of adding propeller_area
B. Missing parentheses around rpm and 3
C. Using ^ instead of ** for exponentiation
D. Incorrect variable names

Solution

  1. Step 1: Check exponentiation operator

    In Python, ^ is bitwise XOR, not exponentiation. Use ** for powers.
  2. Step 2: Understand impact on calculation

    Using ^ causes wrong calculation or unexpected result, not power of rpm.
  3. Final Answer:

    Using ^ instead of ** for exponentiation -> Option C
  4. Quick Check:

    Use ** for powers, not ^ [OK]
Hint: Remember ** means power, ^ is bitwise XOR [OK]
Common Mistakes:
  • Confusing ^ with **
  • Assuming parentheses fix ^ operator
  • Ignoring operator precedence
5. You want to program a drone to maintain constant thrust while reducing motor speed to save battery. If you reduce rpm by 20%, how should you adjust the propeller area to keep thrust constant? (Thrust ∝ rpm² x propeller_area)
hard
A. Increase propeller area by 56.25%
B. Increase propeller area by 25%
C. Decrease propeller area by 20%
D. Keep propeller area the same

Solution

  1. Step 1: Calculate new rpm ratio squared

    Reducing rpm by 20% means new rpm = 0.8 x original rpm. Squared: 0.8² = 0.64.
  2. Step 2: Find required propeller area increase

    To keep thrust constant, propeller_area x 0.64 = original propeller_area. So, new propeller_area = 1 / 0.64 ≈ 1.5625 times original, or 56.25% increase.
  3. Final Answer:

    Increase propeller area by 56.25% -> Option A
  4. Quick Check:

    Thrust constant -> area ∝ 1 / (rpm²) = 1/0.64 = 1.5625 [OK]
Hint: Square rpm ratio, invert it for area change [OK]
Common Mistakes:
  • Forgetting to square rpm ratio
  • Adding instead of multiplying percentages
  • Assuming area stays same
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard