MOULDLKnowledge Base3D Model DownloadsMembership
中文版Model Store »
HomeModels
Table of contents

On this page

Knowledge Base Home

📐 Standard Data

🧮 Calculators

📖 Selection Guides

🏭 Material Grades

❓ Engineer FAQ

🗂 Quick-Reference Categories

❌ Error Case Studies

📚 Technical Articles

Knowledge Base › Common Formulas › Electrical Control

Common Formulas · Electrical Control (Quick-Reference Handbook)

Motor Power-Torque-Speed Relation

[Basic Relation]

T = 9550·P/n

T — torque (N·m)

P — power (kW)

n — speed (r/min)

[Derivation]

P = T·ω = T·2πn/60

T = 60P/(2πn) = 9.549P/n (W,r/min)

= 9550·P/n (kW, r/min)

[Different Motor Types]

1. 3-phase induction motor

Synchronous speed n1 = 60 f / p

f — supply frequency (50 Hz)

p — pole pairs (2-pole p = 1, 4-pole p = 2)

Rated speed nN = n1 dot (1 - s)

s — slip (0.02~0.06)

2-pole (sync 3000): rated 2880~2940

4-pole (sync 1500): rated 1440~1470

6-pole (sync 1000): rated 960~980

8-pole (sync 750): rated 720~735

2. DC motor

n = (U-Ia·Ra)/(Ke·Φ)

Speed control: vary U (voltage) or vary Phi (field weakening)

3. Servo motor

Rated speed usually 3000 / 1500 / 1000 rpm

Peak torque = 2~3x rated torque

4. Stepper motor

Speed = 60 x frequency / (steps x microstep)

Holding torque large at low speed, decays severely at high speed

[Starting Torque]

Induction motor starting torque = 1.5~2.5x rated

Starting current = 5~7x rated

Y-Delta start:

Starting torque = 1/3 direct start

Starting current = 1/3 direct start

[Variable-Frequency Speed Control]

n = 60f·(1-s)/p

VFD adjusts f to control speed

Constant V/f control keeps flux constant

[Calculation Example]

4-pole induction motor P = 5.5 kW, n = 1440 rpm

T = 9550×5.5/1440 = 36.5N·m

Starting torque approx 2 x 36.5 = 73 N.m

Starting current approx 6 x IN = 6 x 11.6 = 69.6 A

[Transmission Ratio Selection]

Ratio of motor speed to load demand speed = i

Select reducer ratio i so motor runs near rated speed

[Motor Selection Power]

P = Tload·nload/(9550·η·i)

η — transmission efficiency

i — reduction ratio

Consider duty factor K = 1.1~1.5

P_motor = K dot P

Servo Motor Inertia Matching and Selection

[Inertia Ratio]

R = Jload'/Jmotor = Jload/(i²·Jmotor)

Jload — total load-end inertia (kg.m^2)

Jmotor — motor rotor inertia (kg.m^2)

i — reduction ratio

Recommended values:

Servo motor: R <= 10 (best <5)

Stepper motor: R <= 30 (best <10)

[Load Inertia Calculation]

1. Rotary body:

Solid cylinder J = 0.5 dot m dot r^2

Ring J = 0.5 dot m dot (r1^2 + r2^2)

Slender rod (about center) J = m dot L^2 / 12

Slender rod (about end) J = m dot L^2 / 3

2. Linear motion (via screw reflection):

J = m dot (L/(2pi))^2 (screw lead L)

3. Via gear / timing belt reflection:

J' = J/i²

[Acceleration Torque]

Tacc = (Jmotor + Jload')·α

α = 2π·n/(60·tacc) (rad/s²)

n — target speed (rpm)

t_acc — acceleration time (s)

[Peak Torque]

Tpeak = Tacc + Tfriction + Tload

T_friction = mu dot m dot g dot (L/(2pi i)) (screw drive)

Tload = F·(L/(2πi·η))

[Selection Conditions]

1. T_peak <= T_max (motor peak torque)

2. T_rms <= T_N (rated torque)

3. n_max <= n_motor_max

4. R <= recommended

[RMS Torque (thermal check)]

Trms = √(Σ(Ti²·ti)/Σti)

Include accel / const / decel / rest segments

[Ratio Selection]

i = n_motor_max / n_load_max

Or by inertia ratio: i >= sqrt(Jload / (R dot Jmotor))

Increasing i:

- Lowers inertia ratio

- Lowers required motor torque

- But raises motor speed (may exceed limit)

[Calculation Example]

Load m = 50 kg, screw lead L = 10 mm, eta = 0.9

v = 1 m/s, accel time 0.2 s

Jload = 50×(0.01/(2π))² = 1.27×10⁻⁴ kg·m²

Select motor Jmotor = 0.5 x 10^-4, ratio i = 1

R=1.27/0.5=2.53 < 10 ✓

alpha = 2pi x 60 x 1 / (0.2 x 60) = 31.4 rad/s^2 (assume n = 600)

Tacc=(0.5+1.27)e-4×31.4=0.0556N·m

Tfriction=0.1×50×9.81×0.01/(2π×0.9)=0.087N·m

Tpeak=0.0556+0.087=0.143N·m

Select 400 W servo (TN = 1.27, Tmax = 3.8) sufficient

PID Control Algorithm Formulas and Tuning

[PID Continuous Form]

u(t) = Kp·e(t) + Ki·∫e(t)dt + Kd·de(t)/dt

or u(t) = Kp dot [e(t) + (1/Ti) dot integral e(t) dt + Td dot de(t)/dt]

Kp — proportional gain

Ki — integral gain = Kp / Ti

Kd — derivative gain = Kp dot Td

Ti — integral time

Td — derivative time

e(t) — error = setpoint - feedback

[Discrete PID (digital implementation)]

u(k) = Kp·e(k) + Ki·Ts·Σe(i) + Kd·(e(k)-e(k-1))/Ts

Ts — sampling period

[Position PID]

Compute u(k) directly

Integral term needs anti-windup

[Incremental PID]

Δu = Kp(e(k)-e(k-1)) + Ki·Ts·e(k) + Kd/Ts·(e(k)-2e(k-1)+e(k-2))

u(k) = u(k-1) + Δu

Pros: no accumulated error, smooth switching

[Ziegler-Nichols Tuning]

1. Critical oscillation method

P control only, increase Kp until sustained oscillation

Record critical gain Ku and oscillation period Tu

PID parameters:

Kp = 0.6Ku

Ti = 0.5Tu

Td = 0.125Tu

PI control: Kp = 0.45 Ku, Ti = 0.83 Tu

P control: Kp = 0.5 Ku

2. Step response method

Measure open-loop step response

Lag tau, slope R

PID: Kp=1.2/(Rτ), Ti=2τ, Td=0.5τ

PI: Kp=0.9/(Rτ), Ti=3.3τ

[Parameter Tuning Experience]

Increase Kp: fast response, large overshoot, possible oscillation

Increase Ki: eliminates steady-state error, but more overshoot

Increase Kd: reduces overshoot, but noise sensitive

[Tuning Steps]

1. P first, then I, then D

2. Kp from small to large until fast but no overshoot

3. Add I to eliminate steady-state error

4. Add D to reduce overshoot

5. Fine-tune to optimal

[Anti-windup]

Stop integral accumulation when output saturates

Or use conditional integration / back-calculation

[Calculation Example]

Temperature control: Kp = 2.0, Ki = 0.1, Kd = 5.0

Setpoint 100 C, feedback 98 C

e=2

Integral term (accumulated) = -0.5 (assume previously low)

Derivative term = (2 - 3)/0.1 = -10 (assume last error 3)

u = 2 x 2 + 0.1 x (-0.5) + 5 x (-10) = 4 - 0.05 - 50 = -46 (abnormal)

Shows derivative too large is noise sensitive

[Applications]

Temperature / pressure / flow / level control

Servo position loop / speed loop

UAV attitude control

Electromagnet Attraction Force and Electromagnetic Induction Calculation

[Electromagnet Attraction (Maxwell formula)]

F = B²·A/(2μ0) = (B²·A)/(8π×10⁻⁷) (SI)

B — air-gap flux density (T)

A — pole area (m^2)

mu0 — vacuum permeability = 4pi x 10^-7 H/m

Rough estimate:

F approx 40 dot B^2 dot A (N, B in T, A in m^2)

F ≈ 4·B²·A (kgf)

B=1T, A=1cm²: F≈4N

B=1.5T: F≈9N

[Magnetic Circuit Ohm's Law]

F = NI = H·l = Φ·Rm

N — coil turns

I — current (A)

H — magnetic field intensity (A/m)

l — magnetic path length (m)

Phi — magnetic flux (Wb)

Rm — reluctance = l / (mu dot A)

[Magnetic Circuit Calculation]

Total magnetomotive force = Sigma H l (each segment) + Hg dot g (air gap)

Air-gap magnetic drop usually 80~90%

[Coil Ampere-Turns]

NI = Bg·g/μ0 + Σ(Hi·li)

Bg — air-gap flux density

g — air-gap length

[Electromagnetic Induction]

Induced EMF e = -N dot dPhi/dt

DC electromagnet coil:

U = I dot R (steady state)

Current rises gradually with inductance L at energizing

tau = L / R (time constant)

AC electromagnet:

U = 4.44 dot f dot N dot Phi_m (RMS)

Phi_m — flux amplitude

[Electromagnet Types]

1. DC electromagnet

Constant force, low loss

Needs arc suppressor (DC arc hard to extinguish)

2. AC electromagnet

Force pulsation (2x line freq), needs shading coil to remove vibration

Has iron loss (eddy + hysteresis)

Large current at energizing (inrush)

[Calculation Example]

DC electromagnet: air gap g = 2 mm, A = 10 cm^2, B = 1.2 T

F = 40 x 1.2^2 x 0.001 = 0.058 N = 5.8 gf -> too small

Increase A = 50 cm^2: F = 40 x 1.44 x 0.005 = 0.288 N = 29 gf

Real electromagnets use high-B material (silicon steel Bm = 1.5~1.8 T)

F can reach tens to hundreds of N

[Applications]

Relay / contactor

Solenoid valve

Electromagnetic brake / clutch

Magnetic separator

Electromagnetic chuck (lifting)

Stepper Motor Torque-Speed Characteristics and Drive

[Stepper Motor Features]

(1) Open-loop position control (no encoder)

(2) High torque at low speed

(3) Torque decays severely at high speed (inductance effect)

(4) Has resonance region (unstable at low speed)

(5) Errors do not accumulate

[Step Angle]

Standard: 1.8 deg/step (200 steps/rev)

High resolution: 0.9 deg (400 steps/rev)

5-phase: 0.72 deg (500 steps/rev)

After microstepping:

Actual Step Angle = Standard Step Angle / Microstep Count

1.8 deg / 16 microstep = 0.1125 deg (3200 steps/rev)

[Torque-Speed Characteristics]

Holding torque Th (max torque at standstill)

Running torque drops sharply as speed increases

n=0: T=Th

n=200rpm: T≈0.9Th

n=1000rpm: T≈0.4Th

n=2000rpm: T≈0.15Th

[Start Torque-Frequency (no step loss)]

No-load start frequency: fs (typical 1~3 kHz pulses)

Loaded start frequency: fs' = fs dot sqrt(1 - (Tl/Th)^2)

Above start frequency needs gradual freq ramp

[Drive Voltage and Current]

Current determines torque (Th proportional I)

Voltage determines high-speed performance (high U -> holds torque at high speed)

Common config:

NEMA 23 stepper: 2~3 A, 24~48 V

NEMA 34 stepper: 4~6 A, 48~80 V

NEMA 42 stepper: 6~8 A, 60~100 V

[Selection Steps]

(1) Compute load torque Tl (incl accel + friction + load)

(2) Select Th = Tl / 0.5~0.7 (margin)

(3) Determine max speed nmax (from T-n curve T(nmax) >= Tl)

(4) Verify inertia ratio (Jload/Jrotor <= 30)

(5) Select driver and supply

[Resonance Problem]

Low-freq resonance region (typically 100~200 Hz pulses)

May lose steps or vibrate in this region

Solutions:

(1) Use microstepping (smaller step angle)

(2) Add damper

(3) Avoid operating at resonant speed

(4) Use closed-loop stepper with feedback

[Causes of Step Loss]

(1) Sudden speed change (exceeds start frequency)

(2) Load exceeds torque

(3) Insufficient supply voltage

(4) Excessive inertia

[vs Servo]

Stepper: low cost, open-loop, high low-speed torque, prone to resonance

Servo: high cost, closed-loop, good high-speed, smooth

Stepper suits: low-speed positioning, dispensing, engraving, 3D printing

Servo suits: high-speed precision, continuous motion, CNC

Other quick references in this series:Mechanics FundamentalsFluid MechanicsVibrationThermodynamicsElectrical FundamentalsQuick-Calc FormulasHydraulics / Inertia CalculationGear StrengthShaft StrengthKeyed ConnectionsSpringsBolt StrengthWeld StrengthBeam and Plate Bending

Related model download:Understood the principle and ready to try?Go to MOULDL to download related 3D models and CAD drawings for free »
MOULDL · Mechanical Engineering Knowledge Base · free self-study reference for machine designers, 3D CAD models at MOULDL