Sensing Cylinder Position: Proximity Switches for Pneumatic and Hydraulic Actuators

Confirming that a cylinder actually reached the end of its stroke is one of the most common sensing jobs in a plant, and there are three ways to do it.

Almost every automated machine needs to know whether a cylinder has extended or retracted. Interlocks depend on it, sequences depend on it, and a cylinder that reports a position it has not reached causes the kind of fault that damages tooling.

There are three ways to sense it, and they are not interchangeable.

1. Magnetic switch on the barrel

Most modern pneumatic cylinders have a permanent magnet set in the piston. A magnetic proximity switch clamped to the outside of the barrel detects the magnet through the wall as the piston passes.

Why it is usually right: no machining, no modification to the cylinder, adjustable anywhere along the stroke, and it senses the piston itself rather than something attached to it. You can also fit mid stroke positions, which the other methods cannot do easily.

What it requires: the cylinder must have a magnetic piston, and the barrel must be non magnetic. Aluminium and most stainless barrels are fine. A plain steel barrel will shield the magnet and this method will not work.

Where it fails: near a welding station or a large motor, stray fields can trigger it. Keep the switch and its cable away from welding returns, and route the cable separately from power cabling.

2. Inductive sensor on the rod end or the load

Fit a bracket and a steel flag to the rod clevis, the tooling or whatever the cylinder is moving, and sense the flag with a standard inductive proximity switch.

Why you would choose it: works on any cylinder regardless of piston magnet or barrel material, including hydraulic cylinders with thick steel walls. It also senses what you actually care about, which is the position of the load, not the position of the piston.

That distinction matters more than it sounds. If the tooling has worked loose on the rod, a barrel switch still reports the correct position while the tool is somewhere else. A sensor on the load catches it.

What it costs: a bracket and a flag, and the space for both. Use M12 or M18 depending on space, make the flag mild steel rather than stainless or aluminium, and make it at least as large as the sensor face.

3. Continuous position feedback

If you need to know where the cylinder is throughout the stroke rather than just at the ends, a switch will not do it. That is a linear position transducer job.

This applies to servo hydraulics, press position control, synchronising two cylinders, and anywhere the control loop needs the actual position rather than two discrete confirmations. Our Novotechnik linear transducers cover this, and there is a selection guide comparing draw wire, potentiometric and magnetostrictive approaches.

It is a different class of cost. Do not specify continuous feedback where two end of stroke switches would do.

Hydraulic cylinders specifically

Hydraulics change the calculation. The barrel is thick steel, so a magnetic switch through the wall is usually not an option. That leaves an inductive sensor on the rod end or a transducer.

Two practical points. First, hydraulic installations are dirtier and wetter, so specify the ingress protection properly, see IP67, IP68 and IP69K explained. Second, hydraulic cylinders generate real force and the bracket must be rigid, because a sensor that moves with the load tells you nothing.

Specifying it

  • Output. PNP for most modern Indian panels, NPN on older machinery. Check the card, see PNP against NPN.
  • Function. Normally open for a straightforward position confirmation. Normally closed where a broken wire should read as the unsafe state, which on an interlock is often what you want.
  • Termination. On a moving cylinder specify a connector version or a cable rated for flexing, and support the cable close to the sensor. See connector or cable.
  • Response time. On a fast indexing cylinder, check that the switching frequency of the sensor covers the cycle rate. Most inductive parts are comfortable here, but a cylinder cycling several times a second against a small flag is worth checking.

The fault that keeps coming back

A cylinder position sensor that works for a month and then goes intermittent is almost always mechanical. The bracket has loosened, the flag has bent, the cable has work hardened at the gland, or the gap was set at the limit of the sensing range and thermal drift has taken it outside.

Before replacing the sensor, measure the gap with the machine hot and check the bracket for movement by hand. Our troubleshooting guide works through the sequence.

Need a price, a drawing or a stock check?

Tell us the cylinder type, the bore, whether the piston is magnetic and what the panel expects. We will specify the switch, the bracket arrangement and the cable, and quote the lot.

Request a quotation  ·  +91 98673 64004  ·  info@accentsensors.com

One thought on “Sensing Cylinder Position: Proximity Switches for Pneumatic and Hydraulic Actuators”

Comments are closed.