Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Switched Reluctance (srm)

A motor with no magnets whose phase inductance changes with rotor angle.

srm

Component reference · 繁體中文

Group: Machines · Kind: {"kind":"machine","model":"srm"}

When to use it

Use it for magnet-free drives that excite one phase at a time from an asymmetric half-bridge. Use Stepper Motor for open-loop stepping.

Pins

Pin Domain Meaning
p1+ electrical Phase 1 positive end, current enters here
p1- electrical Phase 1 negative end
p2+ electrical Phase 2 positive end, current enters here
p2- electrical Phase 2 negative end
p3+ electrical Phase 3 positive end, current enters here
p3- electrical Phase 3 negative end
p4+ electrical Phase 4 positive end, only with 4 phases
p4- electrical Phase 4 negative end, only with 4 phases
shaft mechanical Mechanical shaft, speed in rad/s

Common parameters

  • phases: Number of phases, 3 or 4 (Default: 3)
  • lu: Phase inductance when poles are apart (Default: 2m)
  • la: Phase inductance when poles line up (Default: 20m)
  • isat: Current where the aligned core saturates (Default: 10)
  • r: Resistance of each phase (Default: 0.1)

Parameters

Key Unit Default Typical range Description
phases — 3 Number of phases, 3 or 4
nr — 0 Number of rotor poles
r Ω 0.1 Resistance of each phase
lu H 2m Phase inductance when poles are apart
la H 20m Phase inductance when poles line up
isat A 10 Current where the aligned core saturates
j kg·m² 5m How strongly the rotor resists speeding up
b N·m·s/rad 0 Friction that grows with speed
w0 rad/s 0 Shaft speed at the start
theta0 rad 0 Rotor angle at the start

Parameter descriptions are in English in both languages.

Model

Each phase has the flux linkage λ(i, θ) = lu·i + (la - lu)·s(θ)·isat·tanh(i/isat), where s is the overlap, 1 when aligned and 0 when unaligned. The torque is the angle derivative of the co-energy, so it does not depend on the current sign. Phase 1 is aligned at angle 0 and phase k at (k - 1)·2π/(phases·nr), so exciting 1, 2, 3 in order turns the rotor forward. The phases do not couple, and theta(M1) is the mechanical angle.

Common mistakes

  • A three-phase sine source does nothing useful, because each phase must be excited in turn while its inductance rises, in the order 1, 2, 3. Switch each phase with an asymmetric half-bridge driven by the angle from a Position Sensor.
  • Turn a phase off before its inductance starts to fall, or it makes negative torque. At the aligned position the torque is zero, so a rotor resting there cannot start, and theta0 should avoid that point.
  • la must not be below lu, or the run is refused. A very large isat turns saturation off, and nr set to 0 picks 4 rotor poles for three phases and 6 for four phases.

Problems rules: compile.error

Datasheet and sources

lu and la are the smallest and largest phase inductance in the inductance-versus-angle plot, and isat is the current where the aligned flux curve bends over. r is the phase resistance, nr is the rotor tooth count (a 6/4 machine has 4), and j is the rotor inertia.

Example

Open the example with the command file.openExample and the name demo:srm.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.