M2PHS2L-153-R2/CE
AI

The **M2PHS2L-153-R2/CE** is a specialized high-performance sensor, typically categorized as a **Two-Phase Hall Effect Speed/Position Sensor**. It is widely used in automotive and industrial applications to monitor the rotation of gears or magnetic encoders.
---
### 1. Key Technical Specifications
Based on the standard nomenclature for this series, the electronic characteristics are generally as follows:
| Feature | Specification Details |
| :--- | :--- |
| **Sensor Type** | Hall Effect (Dual Element) |
| **Supply Voltage (Vcc)** | 4.5V to 24V DC |
| **Output Type** | Open Collector (requires pull-up resistors) |
| **Phases** | 2-Phase (A and B channels) |
| **Phase Shift** | ~90° electrical (Quadrature) |
| **Current Consumption** | < 20mA |
| **Operating Temp** | -40°C to +125°C |
---
### 2. Internal Electronic Components
The device consists of several integrated layers within its housing:
* **Dual Hall Elements:** Two silicon-based sensing chips spaced a precise distance apart to detect magnetic flux changes.
* **Differential Amplifier:** Amplifies the small voltage changes generated by the Hall elements.
* **Schmitt Trigger:** Converts the analog sine-wave signals into clean, square-wave digital signals to prevent "jitter" or false triggering.
* **Output Transistors:** Typically NPN transistors that "sink" current when a magnetic pole is detected.
---
### 3. Wiring and Pinout
The device usually features a 4-pin or 4-wire configuration:
1. **Vcc (Red/Brown):** Positive power supply input.
2. **GND (Black/Blue):** Common ground.
3. **Signal A (White/Green):** First pulse train output.
4. **Signal B (Yellow/Orange):** Second pulse train output (shifted 90° for direction sensing).
---
### 4. Logic Behavior (Quadrature)
Because it provides two phases, the electronics allow the controller (PLC or ECU) to determine both **speed** and **direction**.
```text
Clockwise Rotation: Phase A leads Phase B
Counter-Clockwise: Phase B leads Phase A
```
---
### 5. Circuit Implementation Example
When connecting this sensor to a microcontroller (like an Arduino or STM32), you must account for the Open Collector output.
```cpp
// Typical Arduino Setup for M2PHS2L
const int pinA = 2; // Signal A
const int pinB = 3; // Signal B
void setup() {
// Internal pull-up is required if external resistors are not used
pinMode(pinA, INPUT_PULLUP);
pinMode(pinB, INPUT_PULLUP);
Serial.begin(9600);
}
```
- ⤷
How do I calculate the RPM based on the pulse frequency of this sensor?
- ⤷ What are the specific pull-up resistor values recommended for a 24V system?
- ⤷ Can this sensor detect non-magnetic metal gears or does it require a magnet?