Sensor technologies to detect pneumatic cylinder position

Balluff Pty Ltd
By Jack Moermond, Product Line Manager, Balluff, Inc
Tuesday, 27 November, 2012


To integrate a pneumatic cylinder into an automated system, it is necessary to supply signals to the controller indicating the position status of the cylinders. Pneumatic cylinder manufacturers, machine builders and end users have developed a number of ways to detect extension or retraction of a pneumatic cylinder and provide a signal to the control system.

In the field of automation, a very popular choice for prime mover duties is the pneumatic cylinder. Pneumatic cylinders carry many advantages in terms of relatively low first cost, application simplicity and durability. To integrate a pneumatic cylinder into an automated system, it is necessary to supply electrical signals to the controller indicating the position status of the cylinders. Toward that end, pneumatic cylinder manufacturers, machine builders and end users have developed a number of ways to detect extension or retraction of a pneumatic cylinder and provide an electrical signal to the control system.

Position sensing techniques

One position sensing technique is to install external electromechanical limit switches or inductive proximity switches that detect metal flags on the moving parts of the machine.

Figure 1: Traditionally, two proximity switches detect flags for end of stroke of a pneumatic carriage

Figure 1: Traditionally, two proximity switches detect flags for end of stroke of a pneumatic carriage.

The disadvantages of this approach include the cost and complexity of the brackets and associated hardware, the difficulty of making adjustments and the increased physical size of the overall assembly. Another problem is that the external hardware is prone to damage and misalignment due to everyday incidental contact or impact.

A more popular and widely used method is to attach magnetically actuated switches or sensors to the sides of the cylinder, or into a slot extruded into the body of the cylinder. Through the aluminium wall of the pneumatic cylinder, magnetic field sensors detect an internal magnet that is mounted on the moving piston. In most applications, magnetic sensors provide end-of-stroke detection in either direction; however, installation of multiple sensors along the length of a cylinder allows detection of several discrete positions. There are commonly two different types of cylinder magnets used with magnetic field sensors. The first and probably the most widespread is the axially magnetised magnet, which is ideal for actuating most reed switches. When viewed from the side, this magnet has the north and south poles next to each other in the axial plane as shown in Figure 2.

Figure 2: Axial and radial magnetic field orientations

Figure 2: Axial and radial magnetic field orientations.

The second commonly encountered cylinder magnet is the radially magnetised magnet, which works well with the Hall effect sensor. Instead of the north and south poles next to each other, one is the inner diameter and the other is the outer diameter, as shown. The Hall effect sensor only looks for a magnetic pole; it does not matter if it is north or south.

Magnetic sensor types

Reed switches

The simplest magnetic field sensor is the reed switch. This device consists of two flattened ferromagnetic nickel and iron reed elements, enclosed in a hermetically sealed glass tube. The glass tube is evacuated to a high vacuum to minimise contact arcing. As an axially aligned magnet approaches, the reed elements attract the magnetic flux lines and draw together by magnetic force, thus completing an electrical circuit. The magnet must have a strong enough gauss rating, usually in excess of 50 gauss, to overcome the return force (spring memory) of the reed elements.

Figure 3: Reed switch

Figure 3: Reed switch.

The benefits of reed switches are that they are low cost, they require no standby power and they can function with both AC and DC electrical loads. However, reed switches are relatively slow to operate; therefore, they may not respond fast enough for some high-speed applications. Since they are mechanical devices with moving parts, they have a finite number of operating cycles before they eventually fail. Switching high-current electrical loads can further cut into their life expectancy. In addition, low-cost reed switches can sometimes deliver multiple switching points as the twin lobes of certain magnets pass by. Lastly, reed switches installed in high shock and vibration applications may exhibit contact bounce or even become physically damaged. In many automated factories, reed switches are a major source of unplanned downtime. In plants with hundreds of reed switches, failures can occur almost hourly and represent a continuous maintenance headache, not to mention lost productivity.

Hall effect sensors

Hall effect sensors are solid state electronic devices. They consist of a voltage amplifier and a comparator circuit that drives a switching output. In a Hall effect sensor, a steady DC current passes through the thin Hall effect chip. The distribution of electrons across the element is uniform and the current moves in a straight line, with no potential difference generated at the outputs (located on the sides of the chip). As a radially oriented magnet approaches, the magnetic field is perpendicular to the current flow through the Hall effect element. The presence of the perpendicular magnet pushes the electrons out of their straight-line path and towards one side of the chip. The imbalance of electron charge thus creates a voltage across the Hall effect element. The small microvoltage that is created is proportional to the strength of the magnetic field. Once the voltage amplitude generated across the chip has satisfied the threshold level of a comparator circuit, the sensor output switches on.

Figure 4: Hall effect sensor and its magnetic field

Figure 4: Hall effect sensor and its magnetic field.

Since Hall effect sensors are electronic devices, they have no moving parts. Unlike a reed switch, their response time is not dependent on magnetic force overcoming mechanical inertia. They operate faster and are more resistant to shock and vibration.

It might seem like an easy solution to simply replace reed switches with Hall effect sensors. The problem is that the magnetic field orientation of a cylinder designed for reed switches may be axial, whereas the orientation for a Hall effect sensor is radial. The result? There is a chance that a Hall effect sensor will not operate properly when activated by an axially oriented magnet. Another concern is that Hall effect sensors typically have rather low sensitivity, such that the magnetic field strength must be in the 30-60 gauss range. Finally, some inexpensive Hall effect sensors are susceptible to double switching, which occurs because the sensor will detect both poles of the magnet, not simply one or the other.

AMR magnetoresistive sensors

Another type of solid state magnetic field sensor is called an AMR magnetoresistive sensor. The operating principle of AMR magnetoresistive sensors is simple: the sensor element undergoes a change in resistance when a magnetic field is present, changing the flow of a bias current running through the sensing element. A comparator circuit detects the change in current and switches the output of the sensor. Compared to Hall effect sensing technology, which generates a tiny microvolt-level signal, the magnetoresistive element responds with a more robust 3-4% change in bias current. This results in more noise immunity and less susceptibility to false tripping.

Figure 5: AMR Magnetoresistive Sensor Wheatstone Bridge

Figure 5: AMR magnetoresistive sensor wheatstone bridge.

Magnetoresistive sensors are about 200 times more responsive than a typical Hall effect sensor to a given magnetic field strength. The practical magnetic field strength required to operate a magnetoresistive sensor can be as low as 15 gauss. Improvements in magnetoresistive technology now allow these sensors to detect both axially and radially magnetised magnets.

In addition to the ruggedness benefits of solid state construction, the magnetoresistive sensor offers better noise immunity, smaller physical size and lower mechanical hysteresis (the difference in switch point when approaching the sensor from opposite directions). Quality manufacturers of magnetoresistive sensors incorporate additional output protection circuits to improve overall electrical robustness, such as overload protection, short-circuit protection and reverse-connection protection. Unlike Hall effect sensors, there are no double switching points, because the higher sensitivity of the magnetoresistive sensor allows it to remain in the ‘on’ state as the low-strength portion of the magnetic field passes under the sensor. Hall effect sensors, being less sensitive, will often drop out when they see a weaker portion of a magnetic field located between two stronger areas, then switch on again when the field strength increases.

Leading manufacturers of magnetoresistive sensors have developed weld field immune versions that can operate reliably in AC welding fields as strong as 200 kA/m with no false signals or electrical damage. Many of these welding sensors are available with metallic housings to further guard against hot weld spatter that would melt into a plastic-bodied sensor.

GMR giant magnetoresistive sensors

The most up-to-date magnetic field sensing technology is called giant magnetoresistive (GMR). Compared to AMR technology, GMR sensors have an even more robust reaction to the presence of a magnetic field - at least 10%.

Figure 6: Basis of GMR Technology

Figure 6: Basis of GMR technology.

Due to their high sensitivity, less physical chip material is required to construct a practical GMR magnetic field sensor, so GMR sensors can be packaged in much smaller housings for applications such as short stroke cylinders, very small bore cylinders or miniature pneumatic grippers. Better quality manufacturers of GMR sensors also add advanced output protection circuits such as overload protection, short-circuit protection and reverse-connection protection.

Summary

Over the years, many users have abandoned the use of reed switches due to their failure rate and have utilised mechanical or inductive sensors to detect pneumatic cylinder position. AMR and GMR sensors are smaller, faster and easy to integrate, and are much more reliable; however, they must overcome the stigma left by their predecessors. With the vast improvements in sensor technology, AMR and GMR sensors should now be considered the primary solution for detecting cylinder position.

  Reed Hall AMR GMR
Sensing element size Large Small Medium Small
Construction Mechanical Solid state Solid state Solid state
Magnet strength required Medium High Low Low
Sensitivity Medium Low High High
Temperature stability Medium Low Medium High
Power consumption Zero Low High Low
Noise immunity High Low High High
Switching speed Low High High High
Mechanical robustness Low Medium High High
Electrical robustness Low Low High High
Double switch points Yes Possible No No

Table: Comparison of sensor technologies.

Related Articles

Is smart manufacturing moving fast enough?

Manufacturers that embrace smart manufacturing can use those technologies to create a competitive...

ABB identifies new frontiers for robotics and AI in 2024

Accelerating progress in AI is redefining what is possible with industrial robotics.

The need for speed

The constant improvements by CPU manufacturers are providing new processing techniques that...


  • All content Copyright © 2024 Westwick-Farrow Pty Ltd