From Selection to Deployment: Magtron Guides You Through the "Last Mile" of Sensor Integration
When selecting sensors, engineers typically focus on measurand, range, accuracy, bandwidth, temperature drift and power supply. Yet even with all these parameters up to standard, systems can still fail completely during integration testing. What often makes or breaks a project is the final step: whether the output signal can be received by the controller with sufficient noise margin, deterministic time delay and clearly defined fault states.
An output interface is more than just electrical pins — it is a complete signal chain spanning both physical and protocol domains:
Output driver stage after conditioning (level / impedance) → Transmission medium (cable capacitance and resistance) → Receiver input stage (load impedance and common-mode range) → Communication protocol (timing / frame format) |
Mismatch in any link will completely negate the accuracy and speed achieved by the front-end sensor at great cost.

Figure 1 Overview of Current Sensor Output Types
1. Why Wrong Output Selection Is the Most Common "Last Mile" Problem in Projects
Case Study: A Charging Pile Manufacturer Delayed CE Certification by 4 Months
A charging pile manufacturer passed all CE certification tests for accuracy, temperature drift and EMC, but ultimately failed: the sensor output was 0–10 V, while the control board IO only supported 3.3 V. The signal could not be interfaced, rendering all previous test results invalid and delaying certification by 4 months.
1.1 Comparing Parameters Alone Is Far From Enough — Answer These 4 Questions First
• Can my main control board accept the sensor output signal?
Connecting a 0–10 V output to a 3.3 V ADC causes signal clamping; the MCU reads saturated values and triggers permanent alarms.
• How far will the signal travel, and will cable resistance affect accuracy?
The live-zero design of 4–20 mA — where 0 mA indicates a broken wire — is one reason it remains a staple in industrial field applications.
• Does the system only need to know "if a fault exists", or also "how severe it is" and "how it is trending"?
Switching outputs only transmit status; analog outputs transmit continuous values; PWM encodes amplitude via pulse width; digital buses transmit data, diagnostics and configuration simultaneously.
• Can the sensor actively notify the system when it malfunctions?
Safety-related signals under IEC 61508 / ISO 26262 require failure diagnostics for timeout, wire break and self-test functions.
1.2 Consequences of Wrong Selection
• Issues discovered during integration: require board redesign — delays range from 2 weeks to 4 months of certification hold-ups.
• Issues discovered during mass production: lead to full product recalls — losses starting at millions of RMB.
• Issues discovered during overseas certification: local regulations mandate digital bus output — retrofitting is impossible and the design must be restarted.
1.3 How to Avoid This
Treat "signal output" as the top-priority verification item during selection. Sensor output signals vary widely, but follow a clear pattern: 4 categories, 10 types. Each has irreplaceable application scenarios and inherent limitations.
2. Fundamental Dimensions for Output Interface Selection
2.1 Information Content Determines Interface Form
• Switching output (DI/DO): Transmits only Boolean states with the lowest information entropy, but the fastest response (often microsecond-level). Best suited for hardwired protection interlocks and safety circuits with zero tolerance for delay. Note that hardware debouncing or software filtering is required in practice to prevent false actions from contact bounce.
• Analog output (AI/AO): Transmits continuous amplitude, ideal for trend monitoring and closed-loop regulation (e.g. PID) of slow-changing process variables such as temperature, pressure and flow. Its drawback is susceptibility to common-mode noise and ground loop interference. For long-distance transmission, resolution and signal-to-noise ratio must be balanced, usually with shielded twisted pair cables or isolation amplifiers.
• PWM (Pulse Width Modulation): Converts pulse width into equivalent amplitude. Its advantage is that a single I/O line delivers both status and numerical values. Note that the receiver must be equipped with a low-pass filter or capture timer, and response delay is constrained by the filter time constant.
• Digital bus: Elevates sensors to addressable intelligent nodes, transmitting diagnostic data, range configuration and device ID alongside process values. The key inflection point: when node count exceeds 3 or remote parameter adjustment is required, bus solutions deliver diminishing marginal cost. However, communication cycle time must be evaluated to meet real-time control requirements.
2.2 Impedance, Load and Cabling Matter More Than Nominal Accuracy
The physical implementation of an interface (voltage-type or current-type) directly determines its transmission distance and interference immunity. Nominal accuracy is clearly stated in datasheets, but in real engineering, impedance matching, load capacity and cable characteristics are the hidden factors that determine signal integrity — and the most critical metrics to focus on during selection.
• Voltage output: Essentially a low-impedance source (typical source impedance < 100 Ω). To keep voltage division error negligible, the receiver input impedance must be at least 100 times the source impedance (engineering practice requires > 10 kΩ). In addition, stray cable capacitance cannot be ignored for long distances: it forms a low-pass filter with the source impedance, attenuating high-frequency components and step signal edges, slowing response and increasing dynamic error. For high-frequency signals, low-capacitance cables and controlled transmission distance are recommended.
• Current output: Leverages constant-current source characteristics. Theoretically, cable resistance does not affect amplitude accuracy, but strict voltage drop margin is required for the loop supply. Each series device creates a voltage drop; the supply voltage must compensate for the total drop across all devices and cables, otherwise the output will saturate prematurely.
4–20 mA is a typical implementation of current output. The 4 mA offset is not simply a zero point — it is a live zero:
• 0 mA indicates a broken wire
• 4 mA is the normal lower operating limit, forming an alarm range with the upper limit
• Supports two-wire power and signal transmission without extra power lines, making it irreplaceable in intrinsically safe explosion-proof scenarios
4–20 mA current loop signal mapping formula:

Where and correspond to the lower and upper limits of the sensor measuring range.
2.3 Define Failure States at the Outset
The above discussion assumes normal operation. For safety-related sensors, output behavior under failure conditions must be clearly defined at the hardware topology level: output state for short-to-ground, short-to-supply and open-circuit. For example, digital outputs often use a high-impedance state with weak pull-up to distinguish "inactive" from "wire break", enabling reliable fault detection at the controller.
Not only steady-state outputs, but also fault response time must be defined. Per IEC 61508 / ISO 26262, diagnostic coverage requires not only fault reporting at the interface, but also fault injection self-test to prevent "latent failures" where the output driver is shorted and cannot be turned off.
Key principle: Output interfaces should be designed fail-safe by default — if the chip or firmware runs away, a hardware watchdog forces the IO into a preset high-impedance or off state, instead of holding the last valid value.
3. Four Categories, Ten Output Types

Figure 2 Full Signal Chain Flowchart
Sensor signals do not "work once plugged in". They pass sequentially through: Sensing Element → Signal Conditioning → Output Stage → Transmission Link → Controller Interface Adaptation. Each stage corresponds to a set of engineering matching points; mismatch in any stage cancels out the front-end sensor performance.

Figure 3 Four Categories & Ten Output Types vs. Selection Variables
3.1 Switching Output (0/1): The First Line of System Alarm

Figure 4 Switching Output Waveform
Technical Principle
Current → Comparator (threshold) → High / Low level. The output has only two discrete states: leakage / no leakage. It only tells you "if there is a fault", not "how severe". It offers the fastest response (microsecond level) but the least information, and cannot express fault amplitude or trend. The output level must match the controller IO; open-drain / push-pull configuration, pull-up voltage, sink current capability and ESD protection must all be verified.
Core Advantages
• Fastest response (microsecond level), ideal for emergency protection
• Direct connection to MCU interrupt pins, no ADC sampling required
• Can drive relays or optocoupler-isolated outputs for flexible host interfacing
Applicable Scenarios
• Scenarios requiring fast alarm signals to the main control board
• Direct triggering of MCU interrupt pins
• Residual current protection for charging piles, IC-CPD, Wallbox, etc.
Key Pitfalls (Parameter Level)
• ⚠ Level matching (most common failure cause): The sensor high-level output must match the IO voltage withstand rating of the main control board. Typical mistake: connecting a 5 V output to a 3.3 V IO → damages the main control board. Confirm the maximum IO withstand voltage before selection.
• ⚠ Response time: IEC 62752 requires AC response ≤ 300 ms and DC response ≤ 40 ms when residual current exceeds the rated value. Verify that the sensor response time meets the system protection curve.
3.2 Analog Output (Continuous Value): Real-Time Amplitude Monitoring

Figure 5 Analog Output Waveform
Technical Principle (Voltage / Current / 4–20 mA)
The sensor converts the measured physical quantity (temperature, pressure, displacement, etc.) into continuously varying voltage or current, which is conditioned by the analog front-end and quantized into digital values by an ADC. Key parameters: bandwidth (determines how fast current changes can be tracked), linearity (determines accuracy), noise density (affects resolution).
Comparison of Three Analog Output Types

Core Advantages
• Continuous measurement, reflects current change trends in real time
• Easy for ADC acquisition, flexible multi-level alarm threshold configuration
• Simple wiring, low cost
Key Pitfalls (Parameter Level)
• ⚠ ADC reference voltage matching (most common failure cause): Sensor outputs 0–10 V, but main control ADC reference is 3.3 V → signal overflow. Calculation: VADCmax = 10V × (3.3V/10V) = 3.3V, losing 67% of the linear range. Always confirm the ADC reference voltage before selection, or add a voltage divider.
• ⚠ Long-distance attenuation of voltage signals: Beyond 10 m, cable resistance, skin effect and common-mode interference cause significant distortion. Recommendation: switch to 4–20 mA for distances >10 m, or add an instrumentation amplifier at the receiver.
• ⚠ Bandwidth selection: PV inverter leakage current measurement typically requires 5–10 kHz (for IGBT harmonic analysis); 1–2 kHz is sufficient for home appliances. Too narrow a bandwidth fails to track current spikes; too wide introduces more noise. Rule of thumb: Bandwidth ≥ 5 × the highest frequency of the measured signal.
3.3 Pulse Output (PWM): Amplitude Encoded by Pulse Width

Figure 6 PWM Output Waveform
Technical Principle
Encodes the measured current amplitude via duty cycle (D = Ton/T):
Imeasured=Imin+(Imax−Imin)×D
The MCU calculates the corresponding current value by measuring the high-level duration. It combines the capabilities of switching output (threshold alarm) and analog output (continuous monitoring), making it a hybrid solution.
Relationship between PWM frequency and transmission distance:
• Higher frequency → more pronounced skin effect → greater long-distance attenuation
• Lower frequency → larger RC filter delay → slower response
Key Pitfalls (Parameter Level)
• ⚠ PWM frequency selection: Too low → slow response, unable to keep up with sudden current changes (e.g. short circuit); too high → skin effect attenuation, signal distortion at the receiver.
• ⚠ RC filter parameter calculation: The receiver uses an RC low-pass filter to restore the analog value, with cut-off frequency f_c = 1/(2πRC). For 8 kHz PWM, take f_c≈1.6kHz, select R=1kΩ、C=0.1μF.
• ⚠ MCU PWM capture support: Confirm that the main control board supports PWM input capture mode (timer resources, edge trigger settings), and that the duty cycle encoding range covers the full measuring range.
3.4 Digital Bus (CAN / RS-485 / RS-232 / SPI / I²C): Bidirectional, Intelligent Communication

Figure 7 Digital Communication Bus Waveforms
Technical Principle
The value of digital buses lies not in speed alone, but in structured data: measured values, status words, fault codes, temperature, power status and calibration parameters are all transmitted in the same protocol frame. Multi-node bus sharing, bidirectional communication, configurable parameters and self-diagnosis are the core advantages of digital buses.
Comparison of Five Digital Buses

4. Selection Decision: System First, Device Second

5. Standard Compliance: From Basic Communication to Certification Ready
Output interfaces vary by industry, involving not only technical selection but also certification compliance. Key standards are listed below:

6. Magtron Residual Current Sensor Outputs & Application Scenarios
Magtron RCMU101SM3‑6EI‑K — Switching Output Residual Current Sensor
Positioned for simplicity and reliability, this sensor does not output analog values. It only outputs high/low levels (0 V / 5 V) via Pin 3 to notify the control board of leakage presence.

Magtron RCMU101SN‑E‑5DM‑D1 — PWM Output Current Sensor
Positioned with a dual-output architecture: high/low level alarm + 8 kHz PWM continuous monitoring, designed for long-distance and high-interference scenarios.

Getting the parameters right only gets you 90% of the way.
A mismatched output signal renders all previous efforts useless.
Four categories, ten output types — there is no "best" option, only the most suitable one.
• Switching outputs excel in simplicity, ideal for straightforward yes/no alarm functions.
• Analog outputs excel in continuity, ideal for real-time trend monitoring.
• PWM signals excel in noise immunity, delivering both protection and monitoring over a single wire.
• Digital buses excel in networking, ideal for intelligent systems requiring communication and self-diagnostics.
Magtron Smart Current Sensors
Help you select the right signal for first-time integration success.
We don’t just sell you a sensor — we help you find the right one.