Contents

3 Methods to Identify and Check PNP and NPN Sensor blog cover

3 Methods to Identify and Check PNP and NPN Sensor

Have you ever encountered this problem?

Your proximity sensor has been in use for a long time, its label has worn off, and it has stopped working. You want to replace it, but you’re not sure whether to choose an NPN or PNP output type.

So how can you identify whether your sensor is NPN or PNP?

This is simple for experienced technicians, but can be challenging for beginners.

Therefore, in this post, we will share 3 practical methods to determine the output type of your sensor:

  1. Identify from the nameplate,
  2. Test with a multimeter,
  3. Check with a dedicated sensor tester.

Let’s go through the detailed steps!

Understanding PNP NPN sensor

Before identifying whether a sensor is NPN or PNP, it is essential to understand the fundamental difference between these two output types.

NPN and PNP sensors common electrode connection

NPN Sensors: NPN sensors are widely used in Asian countries such as China and Japan. They typically control the negative terminal (0V) of the power supply. For example, an NPN normally open (NO) sensor outputs a low-level signal when it detects an object.

PNP Sensors: Unlike NPN sensors, PNP sensors hold the majority of the market share in Europe and the United States. They typically control the positive terminal (VCC) of the power supply. Similarly, a PNP normally open (NO) sensor outputs a high-level signal when it detects an object.

Tips: Want to know more differences between the NPN and PNP sensors, you can read our article: PNP Vs NPN Proximity Sensors: Key Differences, Wiring Diagram And How To Choose.

Method 1: Check the nameplate and circuit diagram

Distinguishing between PNP and NPN sensors by their nameplates

The simplest way to identify whether a sensor is NPN or PNP type is to check its nameplate. The brown wire (BN) needs to be connected to the positive terminal of the power supply, and the blue wire (BU) needs to be connected to the negative terminal. There is no difference between NPN and PNP type sensors in this respect.

The difference lies in their signal wires (BK, black wire).

As shown on the right side of the diagram above, the signal wire of a PNP type sensor needs to be connected to the negative terminal (BU, blue wire) to form a complete closed circuit.

Conversely, the signal wire of an NPN type sensor needs to be connected to the positive terminal to form a complete closed circuit.

Therefore, compared to the wiring diagrams for PNP and NPN type sensors on the right, the sensor on the left side of the diagram is a PNP type output sensor.

Method 2: Multimeter voltage measurement (most recommended)

For electrical engineers or electricians, a multimeter is the most commonly used testing tool. So, can we use it to test the type of a sensor? The answer is yes. Below is a guide on how to use a multimeter to determine whether a sensor is NPN or PNP type.

First, prepare the following materials: an AC RCBO, a 24V DC switching power supply, the sensor under test, and a multimeter.

The operating steps are as follows:

Using multimeter to identify the sensor is PNP or NPN wring diagram
  1. Connect AC power to the input terminal of the switching power supply through the RCBO(Residual Circuit Breaker with Overload protection) (Note: the RCBO should be in the open state at this time; do not connect power).
  2. Connect the sensor’s power cord to the switching power supply: connect the brown wire to the positive terminal (+24V) of the switching power supply, and the blue wire to the negative terminal (0V).
  3. Set the multimeter to the DC voltage range (DCV). Connect the red probe to the positive terminal (+24V) of the switching power supply, and the black probe to the black signal wire (output wire) of the sensor.
  4. Close the RCBO to supply power to the sensor. Then, bring the object to be measured close to the sensor’s detection surface to activate the sensor, and simultaneously observe the voltage value displayed on the multimeter.
  5. Judgment Method:

If the multimeter displays approximately 24V (i.e., the power supply voltage), the sensor is an NPN type (because an NPN type outputs a low level, the black wire is conductive to ground, so the voltage between the positive terminal and the black wire is 24V);

If the multimeter displays close to 0V, the sensor is a PNP type (because a PNP type outputs a high level, the black wire is conductive to the positive terminal, so the voltage between the positive terminal and the black wire is 0V).

Note: Ensure correct wiring during operation to avoid short circuits. The sensor must be in working condition during measurement, and safety precautions must be taken.

Method 3: Using a PNP/NPN sensor tester

Using sensor tester to confirm the PNP or NPN sensor

If you have a sufficient budget and frequently need to distinguish sensor types, the sensor tester shown in the image above is a better choice. It’s faster and simpler than using a multimeter.

Below, we’ll explain how to use this sensor tester.

It’s very simple to use. Just connect the brown wire of the sensor to the positive terminal of the tester, the blue wire to the negative terminal, and the sensor signal wire to the output terminal. After wiring, turn on the tester, and it will automatically identify the sensor type: if it’s a PNP type, the yellow PNP indicator light will illuminate; if it’s an NPN type, the NPN indicator light will illuminate.

Conclusion

In short, you can determine whether your sensor is NPN or PNP type by reading the sensor nameplate and wiring diagram, and using a multimeter or PNP/NPN sensor tester.

If you still have questions about sensor differentiation or need technical support, Lorentzzi Electric offers free consultation. You can contact us by emailing shonxu@lorentzzi.com, and our staff will reply within 24 hours.

Picture of Shon Xu

Shon Xu

"Hi, I am the author of this article and the owner of Lorentzzi. I have nearly 10 years of experience in selling industrial automation products, specializing in B2B services. If you have quetions, feel free to ask me!"

Contact us now:

Share it to:

Keep learning

Digital Timer Setting Instruction
Digital Timer Setting Instructions For KG316T

In this article, we will introduce KG316T digital timer setting instructions. The KG316T is a digital programmable time switch composed of a precise 8 bits microprocessor and several electronic circuits. It can control the opening and closing of various appliances in a cycle of days or weeks. The time setting

Read More
UVW encoder article cover
UVW Encoder: Best Feedback Sensor Of BLDC Motor

This article will provide you a comprehensive knowledge of UVW encoder, including the explanation, working principle, application and the comparison between ABZ encoder and UVW encoder. Let’s learn it now!  What is UVW encoder? A UVW encoder is a rotary encoder that provides a UVW signal in addition to incremental

Read More
Glass Production - Precise Temperature Control Solutions From Lorentzzi
Glass Production: Precise Temperature Control Solutions From Lorentzzi

In the glass factory’s production workshop, molten glass flows through the kiln like a golden river. After undergoing processes such as forming and annealing, it is ultimately transformed into crystal-clear flat glass, precision instrument lenses, or art glass products. Every step in the transformation of glass from solid raw material

Read More
Shopping Cart
Lorentzzi logo-China temperature controller, SSR, rotary encoder manufacturer

Empowering Industrial Automation!