M2UDS2-D4-R2/N
AI

The **M2UDS2-D4-R2/N** is a specific model of an **Ultrasonic Displacement Sensor** (often part of a series produced by manufacturers like Koyo/Costac or similar industrial automation brands). These sensors are used for non-contact distance measurement and object detection using ultrasonic waves.
---
### 1. Key Technical Specifications
Based on the standard nomenclature for this series, the electronic and functional characteristics are as follows:
| Feature | Specification |
| :--- | :--- |
| **Sensing Method** | Ultrasonic (Time-of-Flight) |
| **Output Type** | PNP Open Collector (typically indicated by /N or /P variants) |
| **Control Output** | 2 Outputs (Dual output for high/low limits) |
| **Operating Voltage** | 12 to 24V DC (±10% ripple) |
| **Sensing Range** | Typically 40mm to 300mm (model dependent) |
| **Current Consumption** | ~50mA or less |
| **Response Time** | Fast response (approx. 5ms - 20ms) |
---
### 2. Electronic Components & Internal Logic
The device operates through a sophisticated internal circuit designed to handle high-frequency sound waves:
1. **Ultrasonic Transducer:** The "heart" of the sensor. It acts as both a speaker (to emit a 200-400 kHz pulse) and a microphone (to receive the echo).
2. **Oscillator Circuit:** Generates the high-frequency electrical signal that drives the transducer.
3. **Signal Processing Unit (ASIC/MCU):**
* **Timer:** Measures the exact time between emission and reception.
* **Comparator:** Analyzes the amplitude of the returning echo to filter out background noise.
4. **Temperature Compensation:** Since the speed of sound changes with air temperature, the electronics include a thermistor to adjust calculations automatically.
5. **Output Stage:** Uses a transistor (Bipolar Junction Transistor) to switch the load. The "D4" typically signifies the connection type (often an M12 4-pin connector).
---
### 3. Wiring and Pin Configuration
Standard electronic wiring for this 4-pin DC sensor usually follows this convention:
| Pin Number | Wire Color | Function |
| :--- | :--- | :--- |
| **1** | Brown | +V (Positive Power Supply) |
| **2** | White | Output 2 (Secondary threshold) |
| **3** | Blue | 0V (Ground) |
| **4** | Black | Output 1 (Primary threshold) |
---
### 4. Application Context
The electronics are hardened for industrial environments (IP67 rating), making them suitable for:
* **Liquid Level Sensing:** Detecting the surface of liquids in tanks.
* **Web Tension Control:** Measuring the diameter of a roll of paper or plastic.
* **Clear Object Detection:** Detecting glass or transparent films that optical sensors cannot "see."
---
- ⤷
What is the difference between the NPN and PNP output versions for this sensor?
- ⤷ How does the 'Dual Output' feature function in a practical automation loop?
- ⤷ Does this sensor require a specific mounting angle to avoid interference?