1. Überblick & Funktionsprinzip
High-speed motion and RPM sensing rely on two rugged physical interfaces: RS-422 differential optical/magnetic quadrature encoders (A/A−, B/B−, Z/Z−) and passive Variable-Reluctance (VR) inductive tooth pickups. Proper 120 Ω differential termination with ±7 V common-mode margin — or anti-parallel diode clamping for 60 Vpp VR pickups — guarantees zero missed counts next to noisy VFD motor drives.
RS-422 Differential Rejection: An AM26LS32 receiver measures only (V_A − V_A−) across a 120 Ω end terminator, cancelling identical VFD switching noise on both twisted conductors across a full ±7 V common-mode window.
VR Magnetic Pickup Wide Dynamic Clamp: A passive VR coil generates ~0.2 Vpp at cranking speed and >60 Vpp at 6000 RPM! A 10 kΩ series resistor + anti-parallel diodes clamp high-RPM surges safely to ±0.7 V before an adaptive zero-crossing comparator (MAX9924).

2. Step-by-step: Bulletproofing high-speed encoder & VR RPM inputs
1Terminate each RS-422 pair (A/B/Z) with 120 Ω at the receiver
Use 0.25 W resistors (continuous ~85 mW per pair at 3.2 V differential).
2Bond encoder 0 V reference wire to keep V_cm inside ±7 V
Ground the overall cable shield at the drive/cabinet end only to prevent ground loops.
3For VR pickups, add 10 kΩ + anti-parallel clamp diodes + MAX9924
Adaptive peak-tracking threshold prevents noise triggers at zero RPM while tracking zero-crossings accurately at 10 kHz.
4Enable hardware digital glitch filter in MCU timer encoder mode
Set STM32 TIMx_CCMR ICxF filter to reject sub-200 ns EMI slivers without limiting max RPM.
3. Fehlersuche & Multimeter-Diagnose
| Symptom | Ursache | Multimeter-Prüfung | Abhilfe |
|---|---|---|---|
| Servo position drifts slowly whenever the VFD spindle turns ON | Common-mode motor-frame noise exceeds ±7 V receiver window or missing 120 Ω termination | Measure AC/DC voltage between encoder 0 V and controller 0 V with VFD running | Connect 0 V reference + 120 Ω terminators + separate encoder cable from motor power conduit |
4. Häufige technische Fragen (FAQ)
Can I connect a 5 V RS-422 differential encoder directly to a 3.3 V MCU?
Use a 3.3 V-powered RS-422 receiver (such as AM26LV32E or SN65HVD33) — it accepts 5 V differential inputs with ±7 V common-mode range and outputs native 3.3 V TTL cleanly!
5. Zugehörige Rechner, Leitfäden & weitere Schaltungen
- Drehgeber-Rechner (Encoder)
- Rechner für Impulsausgänge
- RS-485-Kabellänge, Abschluss & Biasing-Rechner
- I²C-Bus Pull-Up & Bidirektionaler MOSFET-Pegelwandler
- RS-485 Transceiver: 120 Ω Terminierung, Fail-Safe-Bias & TVS
- CAN / CANopen Bus-Terminierung (Split Termination 60+60 Ω)
- PNP-Schaltausgang (3-Leiter, Plus-schaltend) — Schaltung & Simulator
- NPN-Schaltausgang (3-Leiter, Minus-schaltend) — Schaltung & Simulator
- NAMUR 2-Leiter Eigensicherheits-Schaltung (IEC 60947-5-6)
- 2-Leiter 4–20 mA Stromschleife & geschützter Empfänger