Solenoid

On this page 7

A solenoid is an electromagnetic actuator consisting of a wire coil wound around a hollow bobbin and a movable ferromagnetic plunger that is drawn into the coil when current flows. It converts electrical energy into a short, fast linear stroke, usually between a fraction of a millimeter and a few tens of millimeters.

In robotics, solenoids are among the simplest actuators: they latch doors and tool changers, release brakes, drive valves in pneumatic and hydraulic systems, and power fast on-off motions such as punching, sorting or striking. They trade precision and stroke length for low cost, speed and mechanical simplicity.

How a solenoid produces force

A solenoid produces force because current in the coil creates a magnetic field that seeks the lowest-reluctance path. The magnetic circuit includes the steel frame, the plunger and an air gap; the field pulls the plunger to shrink that gap, and a return spring or gravity resets it when current stops.

The pull depends on ampere-turns, the product of current and the number of coil turns, and it rises sharply as the gap closes. As a first approximation, force varies with the square of the magnetic flux and inversely with gap length, so a solenoid is weakest at the start of its stroke and strongest when nearly closed. This nonlinear force-stroke curve is the defining characteristic engineers must design around.

The following table summarizes the parameters that most affect performance.

ParameterTypical rangeWhat it affects
Stroke0.5-30 mmUsable travel; force falls as stroke grows
Holding forceAbout 1-500 NForce at the fully closed position
Coil voltage5, 12, 24 V DC or AC mainsDriver design and current draw
Duty cycle10-100%Allowed on-time before overheating
Response timeAbout 5-50 msSpeed of actuation and release
Key solenoid parameters and their effects

Types of solenoids used in robotics

Solenoids differ mainly in motion type, return mechanism and holding method. Choosing the right variant determines whether the device can hold a position without power, move in both directions or rotate rather than translate.

TypeDistinctive featureTypical robotic use
Pull solenoidPlunger drawn into the coilLatches, release mechanisms
Push solenoidPushrod extends through the back of the frameEjectors, sorters, strikers
Latching solenoidPermanent magnet holds position without currentBattery-powered locks, mobile robots
Rotary solenoidConverts magnetic pull into limited rotationDiverter gates, shutters
Proportional solenoidShaped pole for flatter force curveProportional hydraulic valves
Solenoid valvePlunger opens or closes a fluid orificePneumatic grippers, vacuum grippers
Common solenoid variants and applications

The solenoid valve is the most widespread robotic application, even though the solenoid itself is hidden. Each pneumatic cylinder or vacuum gripper on a pick-and-place cell is usually switched by one or two solenoid pilots on a valve manifold.

Solenoids compared with other linear actuators

A solenoid is best viewed as a binary actuator: it is either energized or not, and it does not naturally stop at intermediate positions. Motors with screws or belts, by contrast, offer controlled positioning across long strokes. The comparison below places the solenoid among related actuators.

ActuatorPosition controlStrokeMain strength
SolenoidTwo positions onlyShortSpeed, low cost, simplicity
Linear actuator with motor and screwContinuousLongPrecise, high-force positioning
Pneumatic actuatorMostly two positionsMedium to longHigh force for its size
Voice coil actuatorContinuousShortLinear force, very high bandwidth
Piezoelectric actuatorContinuousMicrometersNanometer resolution
Solenoid compared with neighboring actuator types

A voice coil actuator is often confused with a solenoid. Both use coils, but a voice coil moves a coil within a permanent magnet field and produces force roughly proportional to current, which makes it suitable for servo control, whereas a solenoid relies on variable reluctance and resists smooth proportional control.

Driving and controlling a solenoid

Solenoids are usually driven by a transistor or MOSFET switch from a microcontroller or PLC output, because the coil current exceeds what logic pins can supply. The coil is an inductor, so switching it off produces a voltage spike that must be clamped.

  • Flyback diode: clamps the inductive spike and protects the switch, but slows release; a Zener or TVS clamp shortens release time.
  • Peak-and-hold drive: applies full current to pull in, then reduces current to a lower holding level, cutting heat by a large margin.
  • PWM holding: modulates voltage to set holding current with simple hardware.
  • Overdriving: briefly applying higher voltage speeds actuation, provided the duty cycle limits are respected.
  • Position sensing: a limit switch or Hall sensor confirms that the plunger actually moved.

Heat is the main design limit. Coil resistance rises with temperature, which reduces current and force, so a solenoid rated at 100% duty cycle is typically larger and weaker per unit volume than one rated for short pulses.

Limitations and common failure modes

Solenoids are robust, but they fail in predictable ways that usually trace back to heat, wear or an underestimated load at the start of the stroke.

SymptomLikely causeRemedy
Fails to pull inLoad exceeds force at open gapShorten stroke or choose larger frame
Coil overheatingDuty cycle exceededUse peak-and-hold drive or higher rating
Loud impact and wearUncontrolled plunger end stopAdd damping or reduce drive current
Slow releaseSimple diode clamp or residual magnetismUse Zener clamp or non-magnetic shim
AC hummingMissing or damaged shading ringReplace ring or switch to DC coil
Typical solenoid problems, causes and remedies

The short version

A solenoid is a coil of wire that becomes a magnet when electricity flows through it. That magnet snaps a small metal rod inward, and a spring pushes the rod back out when the power turns off.

It is a quick, cheap way to make something click, lock, push or open. It cannot stop halfway or move precisely, so robots use it for simple yes-or-no jobs rather than careful positioning.

Where it makes a difference

In a parcel sorting facility, a conveyor carries about three items per second past a camera that reads destination labels. When an item must leave the main line, the controller fires a push solenoid mounted beside the belt, which extends a paddle within roughly 20 ms and deflects the parcel onto a side chute.

Engineers sized each solenoid for a 12 mm stroke at 24 V and used a peak-and-hold driver so the coil could fire thousands of times per shift without overheating. A Hall sensor on each paddle confirms the movement, and the controller flags any unit that responds slowly.

Compared with the motorized diverters used earlier, the solenoid paddles cost less, react faster and need fewer parts, while the small stroke was entirely sufficient for the task.