Contenido

PNP vs NPN Sensores de proximidad Principales diferencias, diagrama de cableado y cómo elegir portada del blog

Sensores de proximidad PNP vs NPN: Diferencias clave, diagrama de cableado y cómo elegir

Both PNP and NPN proximity sensors are widely used in industrial automation, for example, to detect the position of moving objects, replace contact limit switches, detect the speed of rotating objects, count the object’s numbers, etc. 

But do you know the difference between them, their wiring diagrams, and how to choose? This article will provide you with a detailed explanation, so let’s start learning now!

NPN and PNP proximity sensors in different sizes

What are proximity sensors?

To better understand PNP and NPN sensors, first we need to know what proximity sensors are.

A proximity sensor is a non-contact switch that outputs a specific voltage or current signal when an object enters its detection range. And according to the sensing technologies differences, the proximity sensors can be divided into detectores de proximidad inductivos, sensores de proximidad capacitivos, photo-electronic sensors( safety light curtain ), hall sensors, ultrasonic sensors.  The first proximity sensor was invented in 1958 by German engineers Wilfried Gehl, Walter Pepperl, and Ludwig Fuchs. Walter Pepperl and Ludwig Fuchs were also the founders of the German company Pepperl+Fuchs.

Understanding PNP vs. NPN is critical for seamless integration with controllers such as PLCs.

What are PNP proximity sensors?

PNP proximity sensor wiring diagram

The PNP proximity sensor, also known as a “sourcing sensor”, works by providing a high voltage to the load when the detected object is within its detection range. This action effectively supplies power to the load, allowing it to operate as intended.

What are NPN proximity sensors?

NPN proximity sensor wiring diagram

In contrast, NPN proximity sensors are referred to as “sinking sensors”. Instead of sourcing power to the load, they create a path to ground, allowing current to flow from the load through the sensor to the ground. This means the load must be connected to a positive voltage source, with one end of the load connected to the positive terminal and the other end to the output signal wire of the proximity sensor.

PNP Vs NPN Proximity Sensors: Key Differences

The main differences between PNP and NPN proximity sensors are current, voltage output, PLC compatibility, and regional preference. 

The following table lists the detailed comparison:

Factor PNP Sensors NPN Sensors
Current flow

Sensor output->load->ground

Positive pole -> load -> sensor output

Voltage output
High-side switching (+24V)
Low-side switching (0V)
PLC Compatibility
Matches sinking PLC inputs
Matches sourcing PLC inputs
Regional preference
Common in Europe
Common in Asia

NPN and PNP sensor wiring diagram

PNP and NPN sensor wiring diagram

I have a trick for remembering NPN and PNP sensor wiring diagrams in an easier way. You can see the letters “NPN”. The first two letters “NP” can cancel each other out, leaving only one letter “N”, so the output of the NPN sensor is a Negative signal. So when powering the load, you need to provide a positive terminal to form a loop with the output of the NPN sensor.

On the contrary, the first two letters of the PNP sensor cancel each other out, leaving only a letter “P”, so the output of the PNP sensor is Positive and the other end of the load needs to be connected to 0V to form a loop to control the load.

My trick may not be very scientific, but I hope it helps you remember wiring diagrams a little easier.

PNP and NPN proximity sensor selection guide

When choosing a PNP or NPN proximity sensor, there are several factors to consider:

  1. Check your PLC type: Most proximity sensors need to be used with a programmable logic controller (PLC) to achieve specific control purposes. If your PLC input cards only support NPN transistor inputs, you should use an NPN proximity sensor. Conversely, if your PLC input cards only support PNP transistor inputs, you should opt for a PNP proximity sensor. Using the wrong type of proximity sensor may cause the PLC to not function properly.
  2. Wiring consideration: NPN systems usually share a common ground connection. PNP systems usually share a common positive connection. In large systems, maintaining a consistent wiring approach (all PNP or all NPN) can simplify installation. Therefore, if your system is designed with PNP wiring, try to use a PNP sensor, and if it is an NPN system, use an NPN sensor.
  3. Noise Immunity: NPN Sensors: Generally have better noise immunity in electrically noisy environments. PNP Sensors: May be more susceptible to electrical interference in certain applications.
  4. Cost consideration: Cost considerations: The prices of these two types of proximity sensors are basically the same, but due to the supplier’s inventory, the price of one type of sensor may be slightly cheaper. As one of the Chinese sensor suppliers, Lorentzzi‘s prices for PNP sensors and NPN sensors will not differ due to inventory differences. We have always been committed to providing customers with cost-effective sensor products.

Conclusión

In general, a PNP proximity sensor outputs a high-level signal when it detects a target and provides positive power to the load, so it is often called a source sensor; while an NPN proximity sensor outputs a low-level signal when it detects a target and connects the load to the ground, so the other end of the load needs to be connected to the positive pole of the power supply.

If you have additional questions or need a quote for your NPN or PNP sensor needs, please email us at shonxu@lorentzzi.com for support!

Imagen de Shon Xu

Shon Xu

"Hola, soy el autor de este artículo y el propietario de Lorentzzi. Tengo casi 10 años de experiencia en la venta de productos de automatización industrial, especializada en servicios B2B. Si tienes dudas, ¡no dudes en preguntarme!".

Póngase en contacto con nosotros:

Compártelo con:

Seguir aprendiendo

Cortina óptica de seguridad Tipos Artículo Portada
Tipos de cortinas ópticas de seguridad: Diferencias entre el tipo 2 y el tipo 4

Con la continua mejora de la concienciación social en materia de seguridad, la gente hace cada vez más hincapié en las medidas para salvaguardar la seguridad personal cuando maneja maquinaria. En esta tendencia, la introducción y el uso generalizado de las cortinas ópticas de seguridad han mejorado significativamente el nivel de protección, proporcionando a los operarios una garantía más fiable y reduciendo eficazmente

Seguir leyendo
Entradas y salidas del PLC Qué son y cómo utilizarlas portada del blog
Entradas y salidas del PLC: Qué son y cómo utilizarlas

¿Ha visto alguna vez una cadena de montaje automatizada, con decenas de motores, sensores y actuadores moviéndose en perfecta secuencia sin un solo error? ¿Qué los mantiene a todos en el mismo paso? No por casualidad, sino por un conductor oculto. Mucha gente piensa que los verdaderos controladores son los microprocesadores o los microchips, pero la industria

Seguir leyendo
Carrito de compra
Inicio
WhatsApp
Correo electrónico
Buscar en
Logotipo de Lorentzzi-Fabricante chino de controladores de temperatura, SSR y codificadores rotatorios

Potenciar la automatización industrial!