---
title: Linear motors and actuators
heading: Machines unrolled into straight lines: the linear induction motor's synchronous speed and thrust, permanent-magnet linear motors and voice coils with their force constants, and magnetic suspension, whose negative stiffness demands feedback
eyebrow: S12 · Lesson 34 · Linear motors and actuators
xp: 50
---

::: hook
Cut a rotary motor along its axis and unroll it, and you have a linear motor: a traveling field instead of a rotating one, thrust instead of torque. Linear motors move magnetic levitation trains, roller-coaster launches, wafer steppers and the read heads of disk drives, with no gears, belts or screws in between. The same equations apply with speed in meters per second, and a few new effects: the ends of the machine, the large air gaps, and, for levitation, an instability that only feedback can tame.
:::

::: play
- The curve is a linear induction motor's thrust against speed, for a pole pitch of 0.25 m on 50 Hz (synchronous speed 25 m/s), using the induction motor's slip relation with a secondary resistance on the slider: $F \propto (R/s)/((R/s)^2 + 1)$, scaled to peak at 4 kN.
- Thrust falls to zero at synchronous speed, as torque does in a rotary motor.
- A more resistive secondary moves the peak toward standstill, giving more thrust for launching.
:::

```sim plot
view: graph
x: v = 0..25
y: F = 0..4.5
slider: R = 0.1..1 = 0.3
plot: 8*(R/((25 - v)/25))/((R/((25 - v)/25))^2 + 1) | label: thrust, kN
```

::: predict
## An electromagnet holds a steel load suspended 10 mm below it, with the current set so the pull exactly balances gravity. If the gap opens slightly, what happens without feedback?

- [ ] The load settles at a slightly larger gap
- [x] The pull weakens, so the load falls faster and faster
- [ ] The pull strengthens and restores the gap
- [ ] Nothing: the forces still balance

::: reveal
An electromagnet's pull at fixed current falls as the gap grows, roughly as $1/g^2$, so a small increase in gap weakens the force that was just balancing gravity, and the load accelerates away: a negative stiffness of $-2F/g$, here 2 MN/m for a 10 kN load. The load would fall with a time constant of about 23 ms. Magnetic suspension needs a controller that senses the gap and raises the current within milliseconds.
:::
:::

::: nameit
## The linear induction motor

A three-phase winding laid out flat, with pole pitch τ, makes a field that travels at the **synchronous speed**
$$v_s = 2\tau f$$
A conducting secondary (often an aluminum plate on steel) moving at v has slip $s = (v_s - v)/v_s$, and the rotary equivalent circuit applies with thrust in place of torque: $F = P_\text{ag}/v_s$, mechanical power $(1 - s)P_\text{ag}$, secondary loss $sP_\text{ag}$. The machine's open ends and its large mechanical gap make its magnetizing current large and its efficiency and power factor lower than a rotary motor's.

## Permanent-magnet linear motors and voice coils

A coil of N turns, each of active length l, in a field B feels $F = NBli = K_fi$ and generates a back-EMF $K_fv$, with the same constant in N/A and V·s/m. With resistance R the **motor constant** $K_m = K_f/\sqrt R$ is the force per square root of watt dissipated, and a moving mass m gives a mechanical time constant $mR/K_f^2$. Three-phase linear synchronous motors, with a magnet track and a moving coil assembly or the reverse, follow the same force constant per ampere.

## Magnetic suspension

An attractive electromagnet's force at current i and gap g goes as $(i/g)^2$. At the operating point $F_0$:
$$\frac{\partial F}{\partial g} = -\frac{2F_0}{g_0}, \qquad \frac{\partial F}{\partial i} = \frac{2F_0}{i_0}$$
The negative stiffness makes the suspended mass unstable, with a pole at $\sqrt{2F_0/(mg_0)}$. A controller setting $\delta i = K_px + K_d\dot x$ (x the gap error) gives $m\ddot x + k_iK_d\dot x + (k_iK_p - k_g)x = 0$, stable if $k_iK_p > k_g$.
:::

::: example
## A linear induction motor has a pole pitch of 0.25 m and runs on 50 Hz. Find its synchronous speed, and at 20 m/s with 100 kW crossing its gap, its thrust, mechanical power and secondary loss.

::: solution
1. **Synchronous speed.**
   $$\begin{aligned} v_s &= 2 \times 0.25 \times 50 \\ &= 25\ \text{m/s} \end{aligned}$$
   which is 90 km/h.
2. **Slip and thrust.** At 20 m/s the slip is 0.2, and the thrust is
   $$\begin{aligned} F &= \frac{100\,000}{25} \\ &= 4\ \text{kN} \end{aligned}$$
3. **Mechanical power and secondary loss.**
   $$\begin{aligned} P_\text{mech} &= 0.8 \times 100 \\ &= 80\ \text{kW} \end{aligned}$$
   (4 kN × 20 m/s), and the secondary loss is 20 kW, heating the reaction plate.
4. **Going faster.** To go faster, a drive raises the frequency; transit systems vary it from a few hertz at the station to 50 or more at full speed.

**Answer:** the synchronous speed is 25 m/s (90 km/h). At 20 m/s it makes 4 kN of thrust and 80 kW of mechanical power, with 20 kW of secondary loss.
:::
:::

::: example
## A voice coil has 100 turns of 0.1 m active length in a 0.8 T gap and 4 Ω of resistance, with a 0.2 kg moving mass. Find its force constant, its force and heat at 2 A, its motor constant, and its acceleration.

::: solution
1. **Force constant.**
   $$\begin{aligned} K_f &= 100 \times 0.8 \times 0.1 \\ &= 8\ \text{N/A} \end{aligned}$$
2. **Force and heat at 2 A.** 2 A gives 16 N while dissipating $2^2 \times 4 = 16$ W.
3. **Motor constant.**
   $$\begin{aligned} K_m &= \frac{8}{\sqrt4} \\ &= 4\ \text{N/√W} \end{aligned}$$
4. **Acceleration.** The 16 N accelerates the 0.2 kg mass at 80 m/s², about 8 g.
5. **Back-EMF and time constant.** At 1 m/s the coil generates 8 V of back-EMF, which the amplifier must overcome. Its mechanical time constant is
   $$\begin{aligned} \tau_m &= \frac{0.2 \times 4}{64} \\ &= 12.5\ \text{ms} \end{aligned}$$

**Answer:** $K_f$ = 8 N/A; at 2 A it makes 16 N and 16 W of heat; $K_m$ = 4 N/√W; and it accelerates at 80 m/s², about 8 g.
:::
:::

::: example
## An electromagnet suspends a 10 kN load at a 10 mm gap, at 20 A. Find the negative stiffness, the unstable pole, and PD gains (current per gap error) that place the closed-loop poles at twice that frequency with damping 0.7.

::: solution
1. **Load and linearized constants.** The load is 1019 kg.
   $$\begin{aligned} k_g &= 2F_0/g_0 \\ &= 2\ \text{MN/m} \\ k_i &= 2F_0/i_0 \\ &= 1000\ \text{N/A} \end{aligned}$$
2. **Unstable pole.** The open-loop pole is at
   $$\begin{aligned} s &= \sqrt{\frac{2 \times 10^4}{1019 \times 0.01}} \\ &= 44.3\ \text{rad/s} \end{aligned}$$
   so the gap doubles its error every 15.6 ms.
3. **Proportional gain.** For $\omega_n$ = 88.6 rad/s and ζ = 0.7,
   $$\begin{aligned} K_p &= \frac{m\omega_n^2 + k_g}{k_i} \\ &= 10\,000\ \text{A/m} \end{aligned}$$
   which is 10 A per millimeter.
4. **Derivative gain.**
   $$\begin{aligned} K_d &= \frac{2\zeta\omega_nm}{k_i} \\ &= 126\ \text{A·s/m} \end{aligned}$$
5. **Why $K_p$ is so large.** The proportional gain must first cancel the negative stiffness before it adds any of its own.

**Answer:** a negative stiffness of 2 MN/m and an unstable pole at 44.3 rad/s; the gains are $K_p$ = 10,000 A/m and $K_d$ = 126 A·s/m.
:::
:::

::: check
kind: parts
given: t = 0.1 | 0.25 | 0.5; f = 20 | 50 | 60; s = 0.1 | 0.2 | 0.3; P = 50 | 200

## A linear induction motor with a {t} m pole pitch runs on {f} Hz at slip {s}, with {P} kW crossing its gap.

::: part
answer: 2*t*f
unit: m/s
tolerance: 0.5%

### What is its synchronous speed?

::: misses
- [t*f] The field advances two pole pitches per cycle.
- [any] $2\tau f$.
:::
:::

::: part
answer: P*1e3/(2*t*f)/1e3
unit: kN
tolerance: 0.5%

### What thrust does it develop?

::: misses
- [P*1e3/(2*t*f*(1 - s))/1e3] Divide the air-gap power by the synchronous speed, not the actual speed.
- [any] $P_\text{ag}/v_s$.
:::
:::

::: part
answer: s*P
unit: kW
tolerance: 0.5%

### What power heats the secondary?

::: misses
- [any] $sP_\text{ag}$.
:::
:::
:::

::: check
kind: parts
given: N = 50 | 200; B = 0.5 | 1; l = 0.05 | 0.2; R = 2 | 8; i = 1 | 3; m = 0.05 | 0.5

## A voice coil has {N} turns of {l} m active length in {B} T, {R} Ω, and a {m} kg moving mass, carrying {i} A.

::: part
answer: N*B*l
unit: N/A
tolerance: 0.5%

### What is its force constant?

::: misses
- [any] $NBl$.
:::
:::

::: part
answer: N*B*l*i/m
unit: m/s^2
tolerance: 0.5%

### What acceleration does it give the mass?

::: misses
- [any] $K_fi/m$.
:::
:::

::: part
answer: N*B*l/sqrt(R)
unit: N/√W
tolerance: 0.5%

### What is its motor constant?

::: misses
- [any] $K_f/\sqrt R$.
:::
:::
:::

::: check
kind: parts
given: F = 1 | 10 | 50; g = 5 | 10 | 20

## An electromagnet suspends {F} kN at a {g} mm gap.

::: part
answer: 2*F*1e3/(g*1e-3)/1e6
unit: MN/m
tolerance: 0.5%

### How large is its negative stiffness?

::: misses
- [F*1e3/(g*1e-3)/1e6] The force goes as the inverse square of the gap.
- [any] $2F_0/g_0$.
:::
:::

::: part
answer: sqrt(2*9.81/(g*1e-3))
unit: rad/s
tolerance: 0.5%

### Where is the unstable pole (the load's weight is the force)?

::: misses
- [any] $\sqrt{2F_0/(mg_0)}$ with $F_0 = mg$.
:::
:::
:::

::: check
kind: parts
given: m = 100 | 1000; g = 8 | 15; i = 15 | 40; w = 60 | 120; z = 0.6 | 0.8

## A suspension magnet carries a {m} kg load at a {g} mm gap with {i} A. The controller should give closed-loop poles at {w} rad/s with damping {z}.

::: part
answer: (m*w^2 + 2*m*9.81/(g*1e-3))/(2*m*9.81/i)
unit: A/m
tolerance: 0.5%

### What proportional gain (current per meter of gap error)?

::: misses
- [m*w^2/(2*m*9.81/i)] It must first cancel the negative stiffness.
- [any] $(m\omega_n^2 + k_g)/k_i$.
:::
:::

::: part
answer: 2*z*w*m/(2*m*9.81/i)
unit: A·s/m
tolerance: 0.5%

### What derivative gain?

::: misses
- [any] $2\zeta\omega_nm/k_i$.
:::
:::
:::

::: check
kind: choice

## Why does a linear induction motor have a lower power factor than a rotary induction motor of the same rating?

- [ ] Its frequency is lower
- [x] Its mechanical gap between primary and reaction plate is much larger, so it needs far more magnetizing current, and its open ends add losses and leakage that a closed rotary machine avoids
- [ ] It has no secondary current
- [ ] Linear motion can't be described by phasors

::: misses
- [1] The frequency isn't what sets the magnetizing current.
- [3] The reaction plate carries induced current.
- [4] The same phasor analysis applies.
:::
:::

::: check
kind: derivation
vars: m = 1..10000, F = 10..100000, g = 0.001..0.05, i = 1..100, w = 10..500, z = 0.3..1

## A suspension magnet holds force F at gap g and current i; the suspended mass is m. Design PD gains for natural frequency w and damping z.

::: step
answer: 2*F/g

### What is the negative stiffness $k_g$?
:::

::: step
answer: (m*w^2 + 2*F/g)/(2*F/i)

### What proportional gain?
:::

::: step
answer: 2*z*w*m/(2*F/i)

### What derivative gain?
:::

::: right
Right. The current gain $k_i = 2F/i$ converts each ampere into force, and the proportional term must first overcome $k_g$.
:::
:::

::: check
kind: python

## Write `pd_gains(m, F0, g0, i0, wn, zeta)` for a suspension magnet, returning (Kp, Kd), and `simulate(m, F0, g0, i0, Kp, Kd, x0, T, dt)`: integrate the nonlinear gap dynamics $m\ddot g = mg_\text{grav} - F_0\left(\frac{i}{i_0}\right)^2\left(\frac{g_0}{g}\right)^2$ with $i = i_0 + K_p(g - g_0) + K_d\dot g$, from gap $g_0 + x_0$ at rest, by RK4, returning the final gap.

```python starter
def pd_gains(m, F0, g0, i0, wn, zeta):
    return 0.0, 0.0

def simulate(m, F0, g0, i0, Kp, Kd, x0, T, dt):
    return g0 + x0
```

```python solution
def pd_gains(m, F0, g0, i0, wn, zeta):
    kg = 2 * F0 / g0
    ki = 2 * F0 / i0
    return (m * wn ** 2 + kg) / ki, 2 * zeta * wn * m / ki

def simulate(m, F0, g0, i0, Kp, Kd, x0, T, dt):
    grav = F0 / m
    def f(g, v):
        i = i0 + Kp * (g - g0) + Kd * v
        return v, grav - F0 / m * (i / i0) ** 2 * (g0 / g) ** 2
    g, v = g0 + x0, 0.0
    for _ in range(int(round(T / dt))):
        a1, b1 = f(g, v)
        a2, b2 = f(g + dt / 2 * a1, v + dt / 2 * b1)
        a3, b3 = f(g + dt / 2 * a2, v + dt / 2 * b2)
        a4, b4 = f(g + dt * a3, v + dt * b3)
        g += dt / 6 * (a1 + 2 * a2 + 2 * a3 + a4)
        v += dt / 6 * (b1 + 2 * b2 + 2 * b3 + b4)
    return g
```

```python tests
import math
m = 1e4 / 9.81
Kp, Kd = pd_gains(m, 1e4, 0.01, 20, 2 * math.sqrt(2 * 9.81 / 0.01), 0.7)
assert abs(Kp - 10000) < 1 and abs(Kd - 126.4) < 0.5, "The example's 10 A/mm and 126 A·s/m."
g = simulate(m, 1e4, 0.01, 20, Kp, Kd, 0.001, 0.5, 1e-4)
assert abs(g - 0.01) < 1e-5, "A 1 mm disturbance dies away."
g2 = simulate(m, 1e4, 0.01, 20, 0.0, 0.0, 0.0001, 0.1, 1e-4)
assert g2 > 0.012, "Without feedback a 0.1 mm error grows: the load falls away."
```

::: right
Right. The linear design holds for small errors; the nonlinear simulation shows how far it can be pushed before the current saturates or the gap closes.
:::
:::

::: explain
## Why is a linear induction motor's thrust zero at synchronous speed, just as a rotary motor's torque is?

::: model
The primary winding makes a magnetic field that travels along the motor at the synchronous speed set by its pole pitch and frequency. Currents are induced in the secondary only if the field moves relative to it, because the induced voltage depends on the rate of change of flux through the secondary's conducting paths. If the secondary travels at the synchronous speed, the field is stationary relative to it, no voltage is induced, no current flows, and there's nothing for the field to push against. Thrust needs slip, exactly as torque does in a rotary induction motor.
:::
:::

::: practice
::: check
given: t = 0.15 | 0.4; f = 25 | 60
answer: 2*t*f
unit: m/s
tolerance: 0.5%

## LIM synchronous speed: pitch {t} m, {f} Hz?

::: misses
- [any] $2\tau f$.
:::
:::

::: check
given: N = 80 | 150; B = 0.6 | 0.9; l = 0.08 | 0.15
answer: N*B*l
unit: N/A
tolerance: 0.5%

## Voice coil force constant: {N} turns, {B} T, {l} m?

::: misses
- [any] $NBl$.
:::
:::

::: check
given: F = 5 | 20; g = 6 | 12
answer: 2*F*1e3/(g*1e-3)/1e6
unit: MN/m
tolerance: 0.5%

## Negative stiffness: {F} kN at {g} mm?

::: misses
- [any] $2F_0/g_0$.
:::
:::
:::
