Have you recently found yourself staring at two seemingly identical proximity switches? Have you wondered, what the heck is the difference between these two? Or maybe you’re getting ready to buy some sensors. You want to make sure you pick up the right device for the right application. Below, we’ll illustrate the differences between capacitive and inductive proximity sensors. We’ll look at how inductive proximity sensors work, how capacitive proximity sensors work, and compare these two types of proximity sensors.
Want to take the next step in your industrial automation career?
We want to help.
Are you looking for opportunities to advance your career and make more money?
At no cost to you, the Industrial Automation Connection can get you in touch with training and job opportunities in your area. Click one of the buttons below to get started!
Inductive proximity sensors are perhaps the most common type of prox switch in industrial automation. These sensors generate electromagnetic fields to detect their target. This field is strongest when no target is present in front of the sensor.
When a target passes in front of the sensor, eddy currents form in the electromagnetic field, lowering the amplitude of the field as measured at the sensor.
Applications For Inductive Prox Switches
Because inductive proxes use electromagnetism, they are only able to detect metallic objects. Some inductive prox switches have a harder time detecting non-ferrous metals. Non-ferrous metal are metals that don’t contain very much iron. If you want to detect a metallic object, there are a variety of inductive proxes on the market. Depending on the iron content of your target, you can find inductive sensors to fit any of the following applications:
Inductive proximity sensors that primarily respond to ferrous metals (such as steel and iron)
Inductive proximity sensors that primarily respond to non-ferrous metals (such as aluminum)
Also, inductive proximity sensors that respond to varying metals equally
Because inductive proxes only sense metal objects, they have some advantages for certain applications:
Inductive proxes can detect metal objects through plastic (or other non-metallic) containers
Because they only sense metals, inductive proximity sensors are tolerant to dust build-up on the face of the prox
Capacitive proximity sensors are another type of prox switch that are commonly used in industrial automation. Compare the picture of this capacitive prox to the inductive prox in the section above. Note that you wouldn’t be able to tell which sensor was inductive or capacitive just by looking at them. Always check your prox’s part number to determine its specs.
You saw above that inductive proxes generate electromagnetic fields. Capacitive proxes, on the other hand, generate electrostatic fields. Capacitive proxes house a capacitive plate behind the face of the prox. This plate generates an electrostatic field in front of the prox. Whereas inductive prox fields are highest with no target present, capacitive sensors detect very low capacitance when no target is present.
When a target passes in front of a capacitive prox, the target acts as a second capacitive plate. For this reason, the presence of a target increases the capacitance measured by the prox. When a certain threshold of capacitance is met, the sensor’s output state will change.
Unlike inductive sensors, many capacitive sensors are adjustable. This allows you to set the sensitivity of the prox to ensure accurate detection. With adjustable sensitivity, capacitive proxes have a few tricks up their sleeve. Adjustable capacitive proxes can differentiate between material thickness in certain cases. They can even detect liquids inside of containers.
Applications For Capacitive Prox Switches
Nearly any material presented to a capacitive prox will increase the capacitance that the sensor measures. For this reason, capacitive proxes are able to detect both metallic and non-metallic targets. Some applications for which capacitive prox sensors are well-suited include:
Sensing of non-metallic materials. This can include plastic, glass, liquids, biological matter, and more
Detection of a certain quantity or thickness of material
Liquid detection from the outside of the container
Like inductive sensors, capacitive sensor outputs can be NO, NC, or analog.
Comparison Between Inductive and Capacitive Proximity Sensors
While there are clear differences between the two types of sensors, there are similarities, as well. To start with what’s similar, let’s talk about the internals of inductive and capacitive prox switches:
Similarities Between Capacitive And Inductive Proxes
Many of the internal working principles of capacitive and inductive proxes are similar. Capacitive and inductive proxes are both typically fed by DC power. Because they need AC power for the sensor circuit, both types of proxes typically have “oscillators”. Oscillators are electronic circuits that generate AC power from a DC input. You can read more about oscillators in this write-up on Wikipedia.
Additionally, both types of sensors typically have a trigger circuit. Depending on the type of sensor, this circuit activates when the sensed signal passes either above or below a certain threshold.
Lastly, both types of sensors have an output circuit. This circuit switches the sensor’s output when the signal threshold is met. If the sensor is Normally Open, the sensor’s output will turn ON when it sees a part.
For Normally Closed sensors, the opposite is true. In other words, the output for Normally Closed sensors is on by default. When the prox sees a target, the output is turned off.
Other sensors on the market have analog outputs. Analog sensors provide a varying voltage or current output. For example, a sensor may provide an output ranging from 2 to 10 volts, DC. The output varies with how much of the sensor’s field is disturbed. In other words, the more the sensor detects the part, the greater its output value will be.
Form Factors
Another manner in which inductive and capacitive proxes are similar is the form factors in which they’re available. By “form factor”, I mean the physical shape and characteristics of the sensor. Among the sensors I see in use, the three most common form factors are shown below. (Images from Turck website):
“Barrel”:
“Pancake”:
“Ice Cube”:
Among these, the “barrel” form factor is extremely common. In most cases, it won’t be possible to tell whether a sensor is inductive or capacitive just by looking at it. To determine which type of sensor you’re looking at, you will typically need to find the sensor’s part number and look it up online.
Difference Between Capacitive And Inductive Proximity Switches
The primary difference between inductive and capacitive proximity sensors is the sensing method:
Inductive sensors use a coil to generate an electromagnetic field
With no target present, the field is at its strongest amplitude
When a target is present, the electromagnetic field weakens. This weakening is caused by Eddy currents induced in the target
Capacitive sensors use a capacitive plate to generate an electrostatic field
With no target present, the field is at its lowest capacitance
When a target is present, the target acts as a second capacitive plate. The sensor will measure a higher capacitance when a target is present
Summary Of Capacitive And Inductive Prox Sensor Characteristics
For quick reference, here’s everything above, summed up in one place:
Inductive Sensors
Capacitive Sensors
Sensing Field
Electromagnetic
Electrostatic
Sensing Mechanism
Coil
Plate
Materials Detected
Metals
Almost Any
(Commonly) Adjustable?
No
Yes
Resilient To Contaminants?
Yes
No
Sense Through Materials?
Metallic Through Non-Metallic
Many Through Non-Metallic
Liquid Level-Sensing
No
Yes
More Information
For additional information, here are some further resources. These resources cover inductive, capacitive, and other proximity sensors:
Thanks for reading this! I hope it helped you to gain a bit of an understanding on the difference between inductive and capacitive proxes. If you have any questions, feel free to ask in the comments at the bottom of this page. Is there anything in the industrial automation world that you’re struggling to understand? Something you’d just like a little bit more info on?
Lastly, plug in your email in the box below to be kept up-to-date with similar industrial automation information. Thanks again for reading, and if this post helped you, take a moment to share it on social media!
When you write logic in a PLC that initiates motion, you want to be certain that the motion you are expecting actually occurs. This is where sensors come into play. Sensors provide indication to the PLC, robot, or other controller that some physical event has taken place. As examples, sensors may detect that a part is present, that a part is not present, that an actuator is in a certain position, that a lift is lowered or raised, that a door is open or closed, or that a spring-returned component is a certain distance away. Proximity sensors are a specific subset of sensors in general. In this article, we’ll look at some of the many different types of proximity sensors that are used in industrial automation.
Want to take the next step in your industrial automation career?
We want to help.
Are you looking for opportunities to advance your career and make more money?
At no cost to you, the Industrial Automation Connection can get you in touch with training and job opportunities in your area. Click one of the buttons below to get started!
Proximity sensors – sometimes referred to as proximity switches – are sensors that are used in industrial automation and other applications. What distinguishes them from other sensors is that they can sense objects without having to touch them. Because they don’t have to physically interact with the objects they detect, proximity sensors often have no moving parts. Solid-state devices – devices that have no moving parts – often last much longer than devices which have to move to do their job. Wikipedia sums this up as follows:
A proximity sensor is a sensor able to detect the presence of nearby objects without any physical contact. …
Proximity sensors can have a high reliability and long functional life because of the absence of mechanical parts and lack of physical contact between the sensor and the sensed object.
For the reasons above, proximity sensors are very popular in industrial automation. Other types of sensors, such as limit switches, require contact with the part.
Because they have to contact the part, limit switches require moving components. Because they have moving components, they may fail much sooner than a non-contact proximity sensor. For this reason, limit switches and other sensors that require internal motion are becoming less and less common.
Proximity Sensor Types
The zoo of sensors on the market is quite diverse. Although there are other, more obscure sensors out there, I want to go over the types of proximity switches that are most commonly used in industrial automation:
In industrial automation, inductive proximity sensors are one of the most common types of proxes. Inductive proximity sensors have a coil inside of them. The coil and body of the prox are designed to generate an electromagnetic field at the face of the prox. When a target is presented within the prox’s sensing range, the electromagnetic field is dampened. Once this dampening exceeds a certain threshold, the state of the output changes.
I felt a great disturbance in the force
Obi-Wan Kenobi, and inductive proximity sensors
The state of the output changes based on whether you’re using a “Normally Open” or “Normally Closed” sensor. Normally Open (or “NO”, or “N.O.”) sensors have outputs that are normally OFF (“open”). A NO sensor’s output turns ON when the sensor detects its target.
Similarly, Normally Closed sensor outputs are normally ON (“closed”). When an NC sensor sees a target, its output turns OFF. You can read much more about the concepts of NO and NC here.
Digital And Analog Proximity Sensors
The sensors above (NO and NC) are referred to as digital sensors. Digital, in this context, refers to the fact that the sensor’s output is either ON or OFF. In addition to digital sensors, there are analog sensors.
Analog sensors provide feedback as a variable voltage or current output. As the sensor’s target moves closer or further, the output signal increases or decreases. Using an analog sensor, you’re able to tell not just that the part is present, but also how far away the part is.
Because inductive proximity sensors utilize electromagnetic fields, they can only detect metallic objects. Within the domain of metallic objects, inductive proximity sensors respond differently to different metals. As sensors in this family have evolved, you can now purchase sensors that respond more sensitively to ferrous metals (such as iron and steel), nonferrous metals (such as aluminum), or sensors that respond to a variety of metals approximately equally.
Turck’s uprox factor 1 sensor has been the standard in the automotive sector for twenty years. The same large switching distances for all metals, weld field immunity and a large degree of mounting flexibility are the key benefits of these inductive sensors without a ferrite core.
From “Smart Switches“, a Turck publication describing their family of inductive proxes that sense different metals equally
The fact that inductive sensors only sense metal objects can be of benefit in many applications. As non-metallic contaminants will be less likely to trigger an inductive sensor, sensors of this type are tolerant of dirt and moisture build-up. For this reason, they’re the go-to choice for detection of metallic components.
Outwardly, capacitive proxes can be quite similar to inductive proxes. The two types are often available in the same form factors. Where capacitive proximity sensors differ from inductive proxes is in the sensing mechanism.
Capacitive proxes work as capacitors. There is an energized metallic plate in the face of a capacitive prox. This plate serves as one side of the capacitor, with the prox’s target serving as the other side.
When a capacitive sensor is exposed to open air, the measured capacitance is low. As an object approaches the prox’s sensing area, the capacitance increases until a threshold is met and the output is set. Like inductive sensors, many capacitive sensors are wired as NO or NC digital sensors, or alternatively as analog sensors.
Capacitive Prox Applications
Whereas inductive sensors generate electromagnetic fields, capacitive sensors generate electrostatic fields. Capacitive sensors are an interesting type of proximity sensor used in manufacturing.
Because capacitive sensors detect changes in the capacitance of the field they generate, they have the special property of being able to detect non-conductive materials. Due to this attribute, capacitive proxes can detect plastic, glass, water or other liquids, biological materials, and more.
In fact, capacitive proxes are often used as liquid or solid level detection sensors. Because the sensitivity of many capacitive proxes is adjustable, these sensors can be set up to read the presence or absence of a material through the material’s container.
Magnetic, or “Hall Effect,” proximity sensors are triggered by magnets. As illustrated in the image above, magnetic sensors are available in the barrel form factor, among others. Hopefully you have seen by now that you cannot assume a sensor’s type by its form factor. When buying or “spec’ing” a prox for your company or application, you have to research the part number to be sure of what you’re buying.
Humanity has known of the Hall Effect since the 19th century. Hall Effect switches have been in use since at least the 1970’s. Modern Hall Effect sensors detect the presence and distance of a permanent magnet. With the right setup, magnetic sensors can also detect ferrous metals.
Like inductive and capacitive proxes, magnetic sensors can provide either digital or analog outputs. Digital outputs are either on or off, whereas analog outputs provide a variable voltage or current based on how far the part is from the sensor.
“Reed sensors” bear mentioning in this space. Reed sensors are in many ways equivalent to the solid-state Hall Effect sensor, except that reed sensors have tiny parts inside that move. Because reed switches function very similarly, but have moving parts, I’ve chosen to limit the conversation to Hall Effect sensors.
Magnetic Sensor Applications In Industrial Automation
Magnetic sensors are very common and have many applications across industries – from automotive to aerospace engineering. Within industrial automation specifically, there are several prominent applications for magnetic sensors.
A very common application for magnetic proximity sensors is cylinder indication. Pneumatic cylinders are a common means of linear actuation. A linear actuator is a device that moves something from one position to another in a straight line. Pneumatic cylinders that are designed to be used with magnetic sensors have pistons with ring magnets.
When the piston moves within sensing range, the ring magnet’s magnetic field triggers the sensor. This provides indication back to the controller as to whether your requested actuation actually occurred.
Magnetic Position Sensors With Analog Outputs
Magnetic sensors with analog outputs (like this Sick MPS-T) can indicate precise positions of pneumatic actuators. Sensors of this type act like LVDT’s, providing high-resolution feedback on the position of the magnet within the sensor’s sensing range. With many of these sensors, you can observe the position of a cylinder within tenths of a millimeter. That type of resolution allows very precise control of industrial processes.
Another Application For Magnetic Proximity Sensors
There is another application in which you might find this type of proximity sensor used in industrial automation. In certain situations that are difficult for inductive sensors, magnetic proximity sensors can thrive.
The sensing range for inductive sensors is dependent on the size of the sensor. The smaller the face of an inductive proximity sensor, the smaller its sensing range. With small inductive proxes, sensing ranges are in the single digit millimeter and sub-millimeter distances.
Even small magnetic proximity sensors often have sensing ranges much greater than many inductive proximity sensors. For this reason, magnetic sensors are sometimes used where a small sensor is needed, but the target is not very close. If this is the case, a magnet may need to be mounted on the target.
Photoelectric sensors, or “photo eyes,” are triggered by the presence or absence of electromagnetic radiation. Most commonly, this electromagnetic radiation would be infrared or visible light.
Depending on the type of sensor and application, photoelectric sensors may require some setup. This is due to the many ways in which photoelectric sensors can be utilized and the versatility offered by many sensors in when the sensor will turn on or off its output.
When discussing photo eyes, the concepts of Normally Open and Normally Closed often translate to Dark On and Light On. Depending on how your sensor is configured, Light On generally means that the sensor’s output will only be ON when the emitter’s beam is detected at the receiver. Dark On is the opposite condition.
There are three broad types of photoelectric sensors:
Through-beam photo eyes consist of two separate electronic components: an emitter and a receiver. The emitter shines a beam of infrared or visible light. The receiver detects this light and the sensor’s output changes when a certain level of light is seen.
Opposed (through-beam) photo eyes are often used to detect small parts. As long as the part is big enough to interrupt the effective beam, the sensor will change its output state.
Sensors of this type can look across a conveyor or feed track to count parts or to trigger an event when a part is seen. Through-beam sensors are very accurate and have a long sensing range. One of their chief drawbacks is that they require the purchase and installation of two costly components: an emitter and a receiver.
An example of a through-beam photoelectric sensor that you’re likely to be familiar with is your garage door safety sensor. If the beam between the two photo eye components at the bottom of your garage door is broken, your garage door will not close. This type of sensor setup – meaning a sensor with the two separate emitter and receiver photo eye components – is the type of through-beam photo eye most commonly seen in industrial automation.
A Second Style Of Through-Beam Photo Eyes
When using opposed photoelectric sensors, aligning the emitter and receiver can be a potentially painful element of the setup process. To combat this, sensor manufacturers have developed products that eliminate the need to align the emitter and receiver for certain applications.
Photoelectric “fork” sensors integrate the emitter and receiver on opposing posts on the same frame. The fork sensor’s design eliminates the need to install and align separate emitter and receiver modules. For certain applications, this design eliminates many of the drawbacks of traditional through-beam photo eyes.
Retro-Reflective Photoelectric Sensors
Retro-reflective photo eyes contain both the emitter and receiver in the same module. They rely on a reflector to bounce the emitter’s beam back to the receiver. Because they require a reflector, they share one of the drawbacks of through-beam photo eyes (installation and alignment of two separate components), but do improve in another area (reduced cost as they don’t require a separate receiver module).
Photo eyes of this variety are subject to one distinct weakness: if the light emitted by the emitter bounces off a shiny object and enters the receiver (referred to as “proxing”), it can fool the receiver into thinking that the beam is unbroken. Retro-reflective photo eyes with polarized filters are able to defeat this issue.
Polarized Retro-Reflective Photo Eyes
Some retro-reflective photoelectric sensors use polarized filters. When combined with specialized reflectors, polarization allows the retro-reflective sensor to differentiate between light that bounced off of the reflector and light that bounced off of a shiny object. This can be particularly helpful when the parts that you are trying to sense are made of a shiny metal (or otherwise have a highly reflective surface).
Polarized retro-reflective photo eyes have a polarizing filter at the output of the emitter. This filter allows only light that is oscillating on a certain axis to pass through. The receiver, which is mounted next to the emitter in the same module, also has a polarizing filter, which only permits light oscillating on the axis perpendicular to that of the emitter.
With these polarizing filters, light only enters the receiver if its polarization axis was rotated 90° from what the emitter initially put out. This change in polarization indicates to the sensor that the light it’s seeing has bounced off of the retro-reflector, and not off of some other shiny object.
Polarizing filters exclude some of the light that would otherwise enter the receiver. For this reason, polarized retro-reflective photo eyes have a shorter range than non-polarized versions.
Corner-Cube Retro-Reflectors
Some of the magic taking place with polarization is in the retro-reflector. Innocent looking (but secretly really cool) corner-cube reflectors are used with retro-reflective photoelectric sensors to cause the shift in polarization. Corner-cube reflectors accomplish two things to assist in retro-reflective photoelectric sensing:
The polarization (“phase”) of the light is shifted by 90°
Unlike a mirror, which reflects light away from its source as a function of the angle of incidence, the geometry of corner-cube reflectors causes light to be reflected back to its origin
With these special optical properties, corner-cube retro-reflectors are an ideal solution for ensuring that the light reaching the receiver actually bounced off of the reflector, and not some other shiny surface. Due to their high reflectivity and the fact that they direct light back to its source, corner-cube reflectors are the same types of reflectors that we trust for bicycle and highway safety. In fact, these devices are the same reflectors that we left on the moon to be able to measure its distance from the earth.
Diffuse Photoelectric Sensors
The third common type of photoelectric proximity sensor employed in industrial automation is the “diffuse” photo eye. Diffuse photo eyes only require the installation of one module in one location. For this reason, of the three types of photoelectric sensors at which we’ve looked, diffuse sensors are the easiest, cheapest, and quickest to install.
Like retro-reflective sensors, diffuse photoelectric sensors house both the emitter and receiver in the same module. While through-beam and retro-reflective sensors maintain sight of the beam until it is broken, diffuse sensors can’t see their beam until the sensor’s target is present.
With diffuse sensors, the sensor’s target actually acts as the reflector. When the emitter’s light bounces off of the target, the light “diffuses” in many directions, with some portion of the emitted light striking the receiver.
Because diffuse sensors rely on the detected object to scatter the emitted light, these photo eyes are more sensitive to:
The distance between the sensor and the target
The reflectivity of the target
The curvature and other topological properties of the target’s surface
A final common category of proximity sensor utilized in manufacturing is the ultrasonic sensor. Ultrasonic proximity sensors are similar in many ways to photoelectric sensors, except that they use high frequency sound instead of light. The use of sound can be an advantage in certain cases, as the sensor’s performance will be unaffected by smoke, dust, lighting, or the reflectivity of the target’s surface.
Like photo eyes, ultrasonic sensors can be purchased in an either an “opposed” (through-beam) configuration, or in a “diffuse” (reflective) configuration. The comparison with photo eyes is directly analogous.
Through-Beam Ultrasonic Proximity Sensors
By that, I mean that through-beam ultrasonic proxes use a separate transmitter and receiver module, just as through-beam photo eyes do. Through-beam ultrasonic modules would be mounted across a conveyor or other monitored area.
The “beam” of high frequency sound that is output from the transmitter would be detected continuously by the receiver. The sensor’s output changes state when the signal between transmitter and receiver is blocked by the sensor’s target.
Diffuse Ultrasonic Proximity Sensors
Similarly, diffuse ultrasonic proxes house the receiver and transmitter in the same module. Just like diffuse photoelectric sensors, the sensor’s target reflects sound waves back to the receiver as it passes in front of the sensor. With diffuse sensors, the signal is not detected at the receiver by default. The sensor’s output changes when a target moves in front of the sensor, reflecting the signal back towards the receiver. In my experience, this is the more common ultrasonic sensor.
Diffuse ultrasonic sensors utilize “time of flight” to determine the presence of an object. Because the speed of sound in air is known, the sensor is able to determine how far away an object is. It does so by monitoring the time that it takes for an ultrasonic signal to bounce back to the receiver after being emitted.
Sensors of this type can be purchased with analog or digital outputs. Diffuse ultrasonic proximity sensors with digital outputs indicate to the controller only that an object is present or not present. Ultrasonic proxes with analog outputs typically provide distance feedback. In other words, they can tell you not only that a part is present, but how far away that part is.
Ultrasonic Sensor Advantages and Disadvantages
As mentioned above, the use of sound can give ultrasonic sensors an advantage over photoelectric sensors in certain cases. Ambient lighting and the presence of smoke or dust have the potential to affect the performance of photo eyes. These factors are largely irrelevant to ultrasonic sensors. Ultrasonic sensors are also able to detect irregularly shaped objects, such as meshes and springs, that may be difficult for photo eyes to detect reliably.
While ultrasonic proximity sensors are very reliable in many cases, there are some factors that can affect performance. For instance, certain soft targets absorb sound waves and so may be difficult for ultrasonic sensors to detect. Temperature changes can also affect reliability. To combat this, many modern ultrasonic sensors have integrated temperature detection and calibration.
There are many different types of proximity sensors on the market. Depending on your application, there may be only one prox that is appropriate, or you may have a choice. Let’s take a last look at the different types of proximity sensors commonly implemented in factory automation:
Inductive
Capacitive
Magnetic
Photoelectric
Ultrasonic
Install Complexity
Simple
Simple
Can be tricky
Can be tricky
Can be tricky
Setup Complexity
Simple
Sensitivity adjustable
Simple
Can be tricky
Can be tricky
Max Range
Very Short (a few CM)
Very Short
Short (several CM)
Very Long (many meters)
Long (10-20 meters)
Materials Detected
Metals
Almost any
Magnets, ferrous metals
Almost any, shiny can be trouble
Almost any, soft can be trouble
Sense Through Container?
Metal inside of non-metal
Sometimes possible with adjustment
Magnet/ferrous inside of non-ferrous
Certain sensors, certain conditions
Certain sensors, certain conditions
Affected by Lighting/Color?
No
No
No
Yes
No
Close-Range Detection?
Yes
Yes
Yes
Yes
Dead zone
Liquid Level Sensing?
No
Yes
No
Yes
Yes
I hope that this post has been helpful for you in sorting out the various types of proximity sensors used in manufacturing. If you would like to see more content like this, enter your email for more in-depth industrial automation articles:
Thanks for reading, and make sure to leave a comment below with any thoughts!
When I was learning PLC programming, I remember scratching my head about some of the concepts surrounding proximity sensors. Digital or analog, Normally Open (NO or N.O.), or Normally Closed (NC or N.C.)? What exactly does it mean for a sensor to be NO or NC? What effect will it have when I’m checking the state of the sensor at the PLC or other controller?
Want to take the next step in your industrial automation career?
We want to help.
Are you looking for opportunities to advance your career and make more money?
At no cost to you, the Industrial Automation Connection can get you in touch with training and job opportunities in your area. Click one of the buttons below to get started!
NO or NC refers to the way that a sensor is wired and in what state its output signal will be when the sensor is “made.” A sensor is “made” when an object is present that the sensor has been set up to detect. The characteristics of the sensor determine whether or not an object will detected. These characteristics can include its detection type (inductive, capacitive, ultrasonic, photoelectric, etc.), sensing range (how far away the part can be from the sensor), and other factors. The point of a proximity sensor, or “prox,” is to know that an object is there or not there. When a sensor detects an object, its output state changes.
Digital sensors
Someone might refer to the types of proximity sensors described above as “digital proxes.” In this context, digital has a somewhat different denotation than the typical use of the word outside of industrial automation. If a sensor is “digital,” it only has two possible output states: on or off.
There are a multitude of different sensors on the market. There are small sensors, large sensors, laser sensors, sensors like the barrel proxes above which have no configuration whatsoever, sensors that require quite a bit of set up, and everything in between. If a sensor’s sole purpose is to detect whether or not an object is present somewhere, its output is typically digital (either on or off). For this reason, people sometimes refer to sensors of this type as “switches”. Like a light switch in your home, they either turn an output on or off.
In this regard, you can think of the behavior of a prox switch or other digital output as being just like that of the paperclip switch that turned on a small lightbulb in your 2nd grade science class. The prox sensor is the paperclip, and the target passing in front of the prox is your hand pushing down on the paperclip to change the switch’s output state.
Analog sensors
Aside from digital outputs, there are devices with “analog” outputs. Analog sensors output a specific value within a range (anywhere from 2V to 10V, for instance). As one example, sensors with analog outputs can be used to tell a machine how far away something is.
Click the following link if you’d like to learn more about the differences between digital and analog sensors. For now, let’s take a look at how Normally Open and Normally Closed sensors differ in their behavior:
Normally Open Devices
As mentioned above, the purpose of a proximity sensor is to tell a machine when something is present in front of the sensor. So, what actually happens when the sensor detects an object? Well, the sensor’s output changes state. This means that the sensor either energizes an output signal wire with a small amount of electricity, or not.
Like a light switch at your house that is off, an NO sensor will not, by default, put out a voltage to its output wire. Returning to the paperclip circuit analogy, an NO sensor’s default state is similar to the paperclip lifted off the thumbtack. The switch breaks the output circuit by default; hence, the output circuit is “normally open”. Referring to the graph above, when an NO sensor is in its default state (does not detect a target), the sensor’s output is off.
What happens when the sensor is made?
When an appropriate object passes within the sensor’s sensing range, the sensor outputs a voltage through its signal wire. This signal can indicate to a controller that the target has “made” the sensor. So long as the target remains within sensing range, the prox will continue to provide voltage on its output signal.
What’s the point of this? This is how the sensor “tells” the controller: “hey, I’m energizing my output as a signal to you that there is something in front of me right now.”
As you can see in the graph above, once the object passes out of the range of the sensor, the sensor will turn off its output. A controller would now see that the sensor is in its normal, “off” state.
As a brief aside, there are quite a few ways to refer to something as being “on” or “off”. Below are some other ways you might hear someone refer to a signal as being on or off. In my opinion, all of these are more or less equivalent:
On
Off
High
Low
Energized
Extinguished
Lit
Out
Made
Not Made
Normally Closed Devices
NC sensors and other devices behave exactly opposite to NO devices in regards to their outputs. NC devices are, as indicated by their name, normally closed, meaning that their output is onby default. Only when an object makes the sensor does the signal actually turn off. Here’s a simplified graph of the signal behavior for an NC sensor:
If you understood the behavior of Normally Open sensors, then you also understand the behavior of Normally Closed sensors; one is simply the inverse of the other. If an NO and NC sensor were set up to detect the same object, the NO sensor’s output would be on when the NC sensor was off, and vice-versa.
Default Output State
Output State When Sensor Is Made
NO Sensors
Off
On
NC Sensors
On
Off
Why choose an NO or an NC sensor?
Due to these differences in output behavior, Normally Open and Normally Closed sensors are better or worse for certain applications.
All cables and electrical components will eventually fail. To get an idea of why you might choose one sensor or another, let’s first talk about how we want our systems to behave when a cable or sensor is damaged, and we no longer get the signals we’re relying on to control machine motion.
The two most common types of electrical failures are “opens” and “shorts,” with opens being the most common. An open is an unwanted break in a circuit. Cuts, crushing, or other damage to the cable can cause an open.
An example of a Normally Closed application: Emergency Stop
Modern factories are populated throughout with “E-Stop buttons”. Emergency Stop buttons can be used by anyone in the facility if an unsafe condition is observed. Slap an E-Stop, and all machine motion will come to a halt as quickly as possible.
Remember that you can think of a prox sensor as just another type of switch. What we traditionally think of as a switch is usually switched by mechanical action. Proxes are typically solid-state devices with internal electronics that turn outputs on and off. An E-Stop is an example of a true mechanical switch. When someone presses an E-Stop, metal contacts inside of the device open or close its output circuits.
NC or NO?
Let’s consider whether the E-Stop should be a Normally Open or Normally Closed device. With a Normally Open E-Stop, the button’s outputs will be off (open) when the button is in its default (not pressed) state.
In an emergency, someone hits the E-Stop. The mechanical action of pressing the button causes the normally open contacts to close, energizing the button’s outputs. Now the controller can detect those outputs, and we can use this status in our logic to halt machine motion. Cool.
Except… let’s return to the concept of an unwanted break in our circuit. What happens if the cable that connects the E-Stop button to the controller has been damaged?
Safety first
If the E-Stop is a Normally Open device, and its cable becomes damaged, then when we go to activate the E-Stop, we will never get a signal back to our controller telling it to halt production. To the controller, a damaged electrical system and the default output of a Normally Open switch look exactly the same. In either case, there would be no incoming voltage to the controller’s input.
If the E-Stop in this example were Normally Open, you would only check for its output signal when you needed it to stop the line. As a result, you have no way of knowing whether the button or cable is damaged until it’s too late. A Normally Open switch wouldn’t just be a bad choice for this application, it would be dangerous. In an emergency, an ineffective E-Stop could contribute to someone being severely injured or killed.
Making the right choice for the right application
For this reason, E-Stops and most safety devices are Normally Closed. When a Normally Closed E-Stop is in its default position, the contacts close the circuit and return a signal to the controller indicating that the system is safe. Because the E-Stop returns a signal constantly, any condition that causes the E-Stop signal to go low will be detected. Aside from someone actually pressing the button, some other possible causes for losing the E-Stop safe signal might include loss of power to the system, failure of the E-Stop’s cable, or failure of the E-Stop button itself.
Now, since our Normally Closed E-Stop is always sending a signal back to the controller when it’s in the safe position, we set our logic up so that we must constantly see the signal from the E-Stop to allow the factory to run. You could think of this type of Normally Closed signal as a constant “thumbs-up” to the controller that the system is safe. In the controller logic, machine motion would only be permitted when the expected signals from all safety devices are present.
Along this same line of thought, other sensors that detect unsafe conditions, such as tank overfill, are typically Normally Closed. Because NC sensors return a signal by default, any loss of that signal will immediately indicate that the system is not safe.
Are you beginning or advancing your career in the field of industrial automation?
Let us help you take the next step.
There are organizations out there looking for people like yourself.
At no cost to you, IAC will work to connect you with opportunities in your area. Click one of the buttons below to get started!
An example of a Normally Open application: Part Present
For less safety-critical applications, Normally Open sensors work just fine and in fact are found more commonly in industrial automation than NC sensors. In certain cases, use of an NO sensor would actually be preferable, and many people find it easier to interpret the behavior of NO sensors when it comes time to debug an electrical or programming issue.
“Part Present” applications, for instance, often use NO sensors. Let’s say that you want a robot to pick up a part and move it to another location. When the robot moves to the “pick position,” you want to be able to verify that the part is positioned in the robot’s “end effector” before allowing the robot to attempt to move the part. An end effector is a fixture bolted to the robot arm that is custom-built for picking up a particular part.
Normally Open sensors are ideal for this type of Part Present detection, as they only send the signal that the part has been picked up if they actively sense material. If a cord or sensor is damaged in this type of application, the sensor will simply never output its signal. Because the robot won’t see the necessary signal, robot motion will halt until the problem can be corrected.
NC and NO Sensors
There’s a common thread in both the Normally Closed and the Normally Open applications described above. With either NO or NC, you want positive indication before you allow the system to move. By positive indication, I mean that you want the PLC to see the signal from the sensor go high.
In the E-Stop application, you want to be able to move the system by default. You only want to disable motion if a certain condition is met (someone slaps the E-Stop). Hence, you want the signal to be on by default (Normally Closed). You only want the signal to go low if your system isn’t safe.
In the Part Present application, you want the robot to stop at the pickup position by default. You only want to enable motion under certain conditions (the part positioned properly in the end effector). Hence, you want the signal to be off by default (Normally Open). You only want the signal to go high if your part is properly loaded.
Hopefully, this has shed a bit of light on some of the basics of proximity sensors, including the concepts of Normally Open and Normally Closed. There is a lot to be said about the many sensors on the market and their functionality. Click the following link for an in-depth look at the various types of sensors and how they work.
Anything you wish we would add to this article? Send us an email or let us know in the comments section!
If you found value in this content, let IAC keep you posted whenever we have something new for you! Sign up below; it only takes a second. 🙂